Adam Gent wrote:

Thanks for the detailed report, Adam.

waiting 60 seconds for server to start: ...........................[Wed Dec
10 00:04:16 2003] [info] 22 Apache:: modules loaded
[Wed Dec 10 00:04:16 2003] [info] 5 APR:: modules loaded
[Wed Dec 10 00:04:16 2003] [info] base server + 11 vhosts ready to run tests
.............................
waiting 60 seconds for server to start: giving up after 61 secs
!!! server failed to start! (please examine t/logs/error_log)
[...]

An output from ps -ef | grep httpd shows

root     14681     1  0 02:44 ?        00:00:00
/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_11/t -f
/usr/local/src/mod_perl-1.99_11/t/conf/httpd.conf -DAPACHE2

It appears that apache does start to run.

Could this be becuase the 60 second time out arrives before apache finished
loading.

Could be, but quite unlikely with prefork mpm (it's quite likely with worker mpm which takes ages to start). After starting the server the test suite (Apache-Test) tries to ping /, if it fails it continues to ping untill timeout arrives and aborts if still failing to do so.


You could try to run:

% t/TEST -start_timeout 120

but I think your problem is different. There are cases where the machine doesn't have enough entropy, so it'd block on getting PRNG initialized. Your error_log says:

Seeding PRNG with 0 bytes of entropy

Please try this:

% PERL_HASH_SEED=0 make test

when PERL_HASH_SEED env var is preset by user mp won't try to randomize the seed on its own.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to