Mod_perl2 Install with Apache 2.0.55

This is a discussion on Mod_perl2 Install with Apache 2.0.55 within the Apache forums in Application Servers & Tools category; On Fri, 18 Nov 2005 13:30:19 -0800 Matt Wells <chroot @ wells.vg> wrote: > Hi all when I > # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs Hi Matt, This is the part of the error you need to pay attention to, it pretty much spells out why it is failing and how to resolve it. > [ error] You are running the test suite under user 'root'. > Apache cannot spawn child processes as 'root', therefore > we attempt to run the test suite with user 'nobody' (99:99). > The problem is that the path (including all parent directories): > /tmp/mod_perl-2.0.2/t > must ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-18-2005, 04:30 PM
Frank Wiles
Guest
 
Default Re: Mod_perl2 Install with Apache 2.0.55

On Fri, 18 Nov 2005 13:30:19 -0800
Matt Wells <chroot@wells.vg> wrote:

> Hi all when I
> # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs


Hi Matt,

This is the part of the error you need to pay attention to,
it pretty much spells out why it is failing and how to resolve
it.

> [ error] You are running the test suite under user 'root'.
> Apache cannot spawn child processes as 'root', therefore
> we attempt to run the test suite with user 'nobody' (99:99).
> The problem is that the path (including all parent directories):
> /tmp/mod_perl-2.0.2/t
> must be 'rwx' by user 'nobody', so Apache can read and write under
> that
> path.
>
> There are several ways to resolve this issue. One is to move and
> rebuild the distribution to '/tmp/' and repeat the 'make test'
> phase. The other is not to run 'make test' as root (i.e. building
> under your /home/user directory).
>
> You can test whether some directory is suitable for 'make test' under
> 'root', by running a simple test. For example to test a directory
> '/tmp/mod_perl-2.0.2/t', run:
>
> % "/usr/local/bin/perl" -Mlib=/tmp/mod_perl-2.0.2/Apache-Test/lib
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99,
> 99, q[/tmp/mod_perl-2.0.2/t]) }';



---------------------------------
Frank Wiles <frank@wiles.org>
http://www.wiles.org
---------------------------------


Reply With Quote
  #2  
Old 11-18-2005, 04:30 PM
Frank Wiles
Guest
 
Default Re: Mod_perl2 Install with Apache 2.0.55

On Fri, 18 Nov 2005 13:30:19 -0800
Matt Wells <chroot@wells.vg> wrote:

> Hi all when I
> # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs


Hi Matt,

This is the part of the error you need to pay attention to,
it pretty much spells out why it is failing and how to resolve
it.

> [ error] You are running the test suite under user 'root'.
> Apache cannot spawn child processes as 'root', therefore
> we attempt to run the test suite with user 'nobody' (99:99).
> The problem is that the path (including all parent directories):
> /tmp/mod_perl-2.0.2/t
> must be 'rwx' by user 'nobody', so Apache can read and write under
> that
> path.
>
> There are several ways to resolve this issue. One is to move and
> rebuild the distribution to '/tmp/' and repeat the 'make test'
> phase. The other is not to run 'make test' as root (i.e. building
> under your /home/user directory).
>
> You can test whether some directory is suitable for 'make test' under
> 'root', by running a simple test. For example to test a directory
> '/tmp/mod_perl-2.0.2/t', run:
>
> % "/usr/local/bin/perl" -Mlib=/tmp/mod_perl-2.0.2/Apache-Test/lib
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99,
> 99, q[/tmp/mod_perl-2.0.2/t]) }';



---------------------------------
Frank Wiles <frank@wiles.org>
http://www.wiles.org
---------------------------------


Reply With Quote
  #3  
Old 11-18-2005, 04:30 PM
Frank Wiles
Guest
 
Default Re: Mod_perl2 Install with Apache 2.0.55

On Fri, 18 Nov 2005 13:30:19 -0800
Matt Wells <chroot@wells.vg> wrote:

> Hi all when I
> # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs


Hi Matt,

This is the part of the error you need to pay attention to,
it pretty much spells out why it is failing and how to resolve
it.

> [ error] You are running the test suite under user 'root'.
> Apache cannot spawn child processes as 'root', therefore
> we attempt to run the test suite with user 'nobody' (99:99).
> The problem is that the path (including all parent directories):
> /tmp/mod_perl-2.0.2/t
> must be 'rwx' by user 'nobody', so Apache can read and write under
> that
> path.
>
> There are several ways to resolve this issue. One is to move and
> rebuild the distribution to '/tmp/' and repeat the 'make test'
> phase. The other is not to run 'make test' as root (i.e. building
> under your /home/user directory).
>
> You can test whether some directory is suitable for 'make test' under
> 'root', by running a simple test. For example to test a directory
> '/tmp/mod_perl-2.0.2/t', run:
>
> % "/usr/local/bin/perl" -Mlib=/tmp/mod_perl-2.0.2/Apache-Test/lib
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99,
> 99, q[/tmp/mod_perl-2.0.2/t]) }';



---------------------------------
Frank Wiles <frank@wiles.org>
http://www.wiles.org
---------------------------------


Reply With Quote
  #4  
Old 11-18-2005, 04:30 PM
Frank Wiles
Guest
 
Default Re: Mod_perl2 Install with Apache 2.0.55

On Fri, 18 Nov 2005 13:30:19 -0800
Matt Wells <chroot@wells.vg> wrote:

> Hi all when I
> # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs


Hi Matt,

This is the part of the error you need to pay attention to,
it pretty much spells out why it is failing and how to resolve
it.

> [ error] You are running the test suite under user 'root'.
> Apache cannot spawn child processes as 'root', therefore
> we attempt to run the test suite with user 'nobody' (99:99).
> The problem is that the path (including all parent directories):
> /tmp/mod_perl-2.0.2/t
> must be 'rwx' by user 'nobody', so Apache can read and write under
> that
> path.
>
> There are several ways to resolve this issue. One is to move and
> rebuild the distribution to '/tmp/' and repeat the 'make test'
> phase. The other is not to run 'make test' as root (i.e. building
> under your /home/user directory).
>
> You can test whether some directory is suitable for 'make test' under
> 'root', by running a simple test. For example to test a directory
> '/tmp/mod_perl-2.0.2/t', run:
>
> % "/usr/local/bin/perl" -Mlib=/tmp/mod_perl-2.0.2/Apache-Test/lib
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99,
> 99, q[/tmp/mod_perl-2.0.2/t]) }';



---------------------------------
Frank Wiles <frank@wiles.org>
http://www.wiles.org
---------------------------------


Reply With Quote
  #5  
Old 11-18-2005, 04:30 PM
Matt Wells
Guest
 
Default Mod_perl2 Install with Apache 2.0.55

Hi all when I
# perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs

# make && make test

# make install

I get an error on the "make test", anyone have any ideas??
I'm running perl 5.8.7
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /tmp/mod_perl-2.0.2/t/TEST
-clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS=
/usr/local/bin/perl -Iblib/arch -Iblib/lib
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /tmp/mod_perl-2.0.2/t/TEST
-bugreport -verbose=0
[warning] root mode: changing the files ownership to 'nobody' (99:99)
[warning] testing whether 'nobody' is able to -rwx
/tmp/mod_perl-2.0.2/t
"/usr/local/bin/perl" -Mlib=/tmp/mod_perl-2.0.2/Apache-Test/lib
-MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99,
99, q[/tmp/mod_perl-2.0.2/t]) }';
Can't locate Apache2/Build.pm in @INC (@INC contains:
/tmp/mod_perl-2.0.2/Apache-Test/lib
/usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl
..) at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestConfig.pm line
34.
BEGIN failed--compilation aborted at
/tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestConfig.pm line 35.
Compilation failed in require at
/tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/Test.pm line 23.
BEGIN failed--compilation aborted at
/tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/Test.pm line 23.
Compilation failed in require at
/tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestRun.pm line 21.
BEGIN failed--compilation aborted at
/tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestRun.pm line 21.
Compilation failed in require.
BEGIN failed--compilation aborted.
[warning] result:
[ error] You are running the test suite under user 'root'.
Apache cannot spawn child processes as 'root', therefore
we attempt to run the test suite with user 'nobody' (99:99).
The problem is that the path (including all parent directories):
/tmp/mod_perl-2.0.2/t
must be 'rwx' by user 'nobody', so Apache can read and write under
that
path.

There are several ways to resolve this issue. One is to move and
rebuild the distribution to '/tmp/' and repeat the 'make test'
phase. The other is not to run 'make test' as root (i.e. building
under your /home/user directory).

You can test whether some directory is suitable for 'make test' under
'root', by running a simple test. For example to test a directory
'/tmp/mod_perl-2.0.2/t', run:

% "/usr/local/bin/perl" -Mlib=/tmp/mod_perl-2.0.2/Apache-Test/lib
-MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99,
99, q[/tmp/mod_perl-2.0.2/t]) }';


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 07:08 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.