thank you for responding.

below is the output. t/TEST does not seem to take account of the timeout
parameter. still uses the default value. but i think it does not matter
because my server is not overloaded at all. it is a dev machine. i also
included the log file (i was wrong when i said that it was empty, i looked
at a wrong file). i also checked whether httpd is running and it does after
t/TEST terminates, even though i ran 'killall httpd' before the test.

konstantin


marina# t/TEST -startup_timeout 240
*** root mode: changing the files ownership to 'nobody' (65534:65534)
*** testing whether 'nobody' is able to -rwx /usr/src/mod_perl-1.99_12/t
/usr/local/bin/perl -Mlib=/usr/src/mod_perl-1.99_12/Apache-Test/lib -MApache
::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 65534,
q[/usr/src/mod_perl-1.99_12/t]) }';


*** result: OK
/usr/local/apache2/bin/httpd -d /usr/src/mod_perl-1.99_12/t -f
/usr/src/mod_perl-1.99_12/t/conf/httpd.conf -DAPACHE2
using Apache/2.0.48 (prefork MPM)

waiting 120 seconds for server to start: .......[Tue Jan 27 21:18:39 2004]
[info] 23 Apache:: modules loaded
[Tue Jan 27 21:18:39 2004] [info] 5 APR:: modules loaded
[Tue Jan 27 21:18:39 2004] [info] base server + 11 vhosts ready to run tests
.........
waiting 120 seconds for server to start: ok (waited 17 secs)
server localhost:8529 started
server localhost:8530 listening (TestProtocol::echo_filter)
server localhost:8531 listening (TestProtocol::echo)
server localhost:8532 listening (TestPreConnection::note)
server localhost:8533 listening (TestHooks::stacked_handlers2)
server localhost:8534 listening (TestFilter::both_str_con_add)
server localhost:8535 listening (TestFilter::in_str_msg)
server localhost:8536 listening (TestFilter::in_bbs_msg)
server localhost:8537 listening (TestFilter::in_bbs_inject_header)
server localhost:8538 listening (TestDirective::perlrequire)
server localhost:8539 listening (TestDirective::perlmodule)
server localhost:8540 listening (TestPerl::ithreads)
server localhost:8541 listening (TestDirective::perlloadmodule4)
server localhost:8542 listening (TestDirective::perlloadmodule5)
server localhost:8543 listening (TestDirective::perlloadmodule3)
server localhost:8544 listening (TestDirective::perlloadmodule6)

still waiting for server to warm up:
...........................................................................
...........................................
the server is down, giving up after 121 secs
!!! failed to start server! (please examine t/logs/error_log)

marina# ps ax | grep httpd
 1495  ??  Ss     0:06.85 -e (httpd)
 1496  ??  I      0:00.01 -e (httpd)
 1498  ??  I      0:00.01 -e (httpd)
 1503  p0  DL+    0:00.03 grep httpd

marina# more t/logs/error_log
END in modperl_extra.pl, pid=1494
[Tue Jan 27 21:18:49 2004] [notice] Apache/2.0.48 (Unix) mod_perl/1.99_12
Perl/v
5.6.1 PHP/4.3.4 configured -- resuming normal operations
[Tue Jan 27 21:18:49 2004] [info] Server built: Dec 25 2003 14:04:27
[Tue Jan 27 21:18:49 2004] [debug] prefork.c(1037): AcceptMutex: flock
(default:
 flock)
[Tue Jan 27 21:18:51 2004] [error] server reached MaxClients setting,
consider r
aising the MaxClients setting
marina#

----- Original Message -----
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "konsu" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 27, 2004 4:29 PM
Subject: Re: 'make test' fails to start server.


> konsu wrote:
> > hello,
> >
> > t/TEST -start failes to start server for some reason. The apache error
log
> > file is empty. i am running freebsd 5.1-RELEASE. please help me to
resolve
> > this.
>
> I know that freebsd 4.8/5.1 won't work with perl built with ithreads, but
> yours seem not having ithreads enabled. Could it be that you machine is
> overloaded and you need more time to start?
>
> > the server is down, giving up after 121 secs
>
> Please try:
>
> t/TEST -startup_timeout 240
>
> __________________________________________________________________
> 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
> List etiquette: http://perl.apache.org/maillist/email-etiquette.html
>
>

-- 
Reporting bugs: 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

Reply via email to