Dear mod_perl community, Randy Kobes <[EMAIL PROTECTED]> wrote at Wed, 3 Mar 2004 19:54:47 -0600 ... snip ... >> >waiting 120 seconds for server to start: giving up after 121 secs >> >!!! server failed to start! ... snip ... > >Does it help if you set the APACHE_TEST_STARTUP_TIMEOUT >environment variable to, say, 200?
Alas no, it does not, as shown below: >/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_12/t -f / >usr/local/src/mod_perl-1.99_12/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS >using Apache/2.0.48 (prefork MPM) > >waiting 300 seconds for server to start: >..................................... snip .... >waiting 300 seconds for server to start: giving up after 301 secs >!!! server failed to start! > >canebas.org [753]% ps ax | grep httpd >12016 pts/9 S 0:00 /usr/local/apache2/bin/httpd -d /usr/local/ >src/mod_perl-1.99_12/t -f /usr/local/src/mod_perl-1.99_12/t/conf/ >httpd.conf -DAPACHE2 -DPERL_USEITHREADS In addition, version 1.99_12 of mod_perl ignores the value of the environment APACHE_TEST_STARTUP_TIMEOUT because the test script now assign's a value to the configuration variable 'startup_timeout', and that will always override APACHE_TEST_STARTUP_TIMEOUT because as line 526 of Apache-Test/lib/Apache/TestServer.pm reads: my $timeout = $vars->{startup_timeout} || $ENV{APACHE_TEST_STARTUP_TIMEOUT} || 60; The value of the configuration setting 'startup_timeout' is automatically generated at line 21 of lib/ModPerl/TestRun.pm. So the only way right now to change the value of the $timeout variable above is to edit lib/ ModPerl/TestRun.pm (or eqv.) Thanks to everyone who contributes to the mod_perl project! Edouard :-) -------------------------- Edouard Lagache, Sysadmin canebas.org [EMAIL PROTECTED] 29 Altamount Drive Orinda, CA, 94563 -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html