perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@ectoplasm.org>
Subject Re: [mp2] 'make test' error--cannot start server: httpd (<path>) does not exist
Date Mon, 22 Aug 2005 18:17:32 GMT
Eric Martin wrote:
> 1. Just installed gcc-3.4.4, perl-5.8.7, apache-2.0.54 on a clean
> installation of Solaris 10.  gcc, perl, and apache went in without a
> hitch. About 70 perl modules also installed without failure using the
> new gcc/perl.
> 
> 
> 2. I then proceed to do: 'perl Makefile.PL
> MP_APXS=/usr/local/apache2/bin/apxs', 'make' (/usr/ccs/bin), and 'make
> test,' which gives:
> ============begin 'make test'============
> # make test
> cd "src/modules/perl" && make
> /usr/bin/perl -Iblib/arch -Iblib/lib \
> t/TEST -clean
> APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
> APACHE_TEST_USER= APACHE_TEST_APXS= \
> /usr/bin/perl -Iblib/arch -Iblib/lib \
> t/TEST -bugreport -verbose=0
> [warning] root mode: changing the files ownership to 'nobody' (60001:60001)
> [warning] testing whether 'nobody' is able to -rwx
> /usr/local/src/perlmods/mod_perl-2.0.1/t
> "/usr/bin/perl"
> -Mlib=/usr/local/src/perlmods/mod_perl-2.0.1/Apache-Test/lib
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(60001,
> 60001, q[/usr/local/src/perlmods/mod_perl-2.0.1/t]) }';
> 
> 
> [warning] result: OK
> [warning] the client side drops 'root' permissions and becomes 'nobody'
> [  error] cannot start server: httpd
> (/usr/local/stow/apache-2.0.54/apache2/bin/httpd) does not exist

Most likely problem here is that httpd does exist at that patch, but after
dropping privileges to nobody, it can't see it anymore.

Have you made sure that user 'nobody' can successfully stat/exec
/usr/local/stow/apache-2.0.54/apache2/bin/httpd ? (and the directories leading to there)

> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> *** Error code 1
> make: Fatal error: Command failed for target `run_tests'
> =============end 'make test'=============
> Well, apxs is where I said it was (obviously), and httpd definately
> exists at: /usr/local/stow/apache-2.0.54/apache2/bin/httpd

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Mime
View raw message