Hi Stas,
Here is what I get. Maybe the problem comes from my user in httpd.conf
not being "nobody" ? (but I doubt it could be so).
su-2.05b# killall httpd
su-2.05b# t/TEST -start
*** root mode: changing the files ownership to 'nobody' (65534:65534)
*** /usr/bin/perl -e ' require POSIX; POSIX::setuid(65534);
POSIX::s
etgid(65534); print -r q{/usr/data/src/apache2/mod_perl-1.99_11/t}
&& -w _
&& -x _ ? q{OK} : q{NOK}; '
*** result: OK
/usr/local/apache2/bin/httpd -d /usr/data/src/apache2/mod_perl-1.99_11/t
-f /usr
/data/src/apache2/mod_perl-1.99_11/t/conf/httpd.conf -DAPACHE2
using Apache/2.0.48 (prefork MPM)
waiting 60 seconds for server to start: .[Tue Dec 02 10:23:03 2003]
[info] 23 Ap
ache:: modules loaded
[Tue Dec 02 10:23:03 2003] [info] 5 APR:: modules loaded
[Tue Dec 02 10:23:03 2003] [info] base server + 11 vhosts ready to run
tests
..
waiting 60 seconds for server to start: ok (waited 2 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::in_bbs_inject_header)
server localhost:8535 listening (TestFilter::in_str_msg)
server localhost:8536 listening (TestFilter::both_str_con_add)
server localhost:8537 listening (TestFilter::in_bbs_msg)
server localhost:8538 listening (TestDirective::perlmodule)
server localhost:8539 listening (TestDirective::perlrequire)
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 61 secs
!!! failed to start server! (please examine t/logs/error_log)
su-2.05b# cat t/logs/error_log
[Tue Dec 02 10:23:03 2003] [info] mod_unique_id: using ip addr
192.168.1.5
[Tue Dec 02 10:23:04 2003] [info] Init: Initializing OpenSSL library
[Tue Dec 02 10:23:04 2003] [info] Init: Seeding PRNG with 0 bytes of
entropy
[Tue Dec 02 10:23:04 2003] [info] Init: Generating temporary RSA private
keys (5
12/1024 bits)
[Tue Dec 02 10:23:04 2003] [info] Init: Generating temporary DH
parameters (512/
1024 bits)
[Tue Dec 02 10:23:04 2003] [warn] Init: Session Cache is not configured
[hint: S
SLSessionCache]
[Tue Dec 02 10:23:04 2003] [info] Init: Initializing (virtual) servers
for SSL
[Tue Dec 02 10:23:04 2003] [info] Server: Apache/2.0.48, Interface:
mod_ssl/2.0.
48, Library: OpenSSL/0.9.7a
END in modperl_extra.pl, pid=98478
[Tue Dec 02 10:23:04 2003] [info] mod_unique_id: using ip addr
192.168.1.5
[Tue Dec 02 10:23:05 2003] [info] Init: Initializing OpenSSL library
[Tue Dec 02 10:23:05 2003] [info] Init: Seeding PRNG with 0 bytes of
entropy
[Tue Dec 02 10:23:05 2003] [info] Init: Generating temporary RSA private
keys (5
12/1024 bits)
[Tue Dec 02 10:23:05 2003] [info] Init: Generating temporary DH
parameters (512/
1024 bits)
[Tue Dec 02 10:23:05 2003] [info] Init: Initializing (virtual) servers
for SSL
[Tue Dec 02 10:23:05 2003] [info] Server: Apache/2.0.48, Interface:
mod_ssl/2.0.
48, Library: OpenSSL/0.9.7a
[Tue Dec 02 10:23:05 2003] [notice] Apache/2.0.48 (Unix)
mod_perl/1.99_11 Perl/v
5.8.0 mod_ssl/2.0.48 OpenSSL/0.9.7a configured -- resuming normal
operations
[Tue Dec 02 10:23:05 2003] [info] Server built: Dec 1 2003 12:22:41
[Tue Dec 02 10:23:05 2003] [debug] prefork.c(1037): AcceptMutex: flock
(default:
flock)
[Tue Dec 02 10:23:07 2003] [error] server reached MaxClients setting,
consider r
aising the MaxClients setting
Barbara Post
-----Message d'origine-----
De : Stas Bekman [mailto:[EMAIL PROTECTED]
Envoy� : lundi 1 d�cembre 2003 19:59
� : barbara post
Cc : [EMAIL PROTECTED]
Objet : Re: RE : RE : RE : RE : bug : make test fails
Barbara Post wrote:
> Thanks Stas, it works, I first didn't properly killed every httpd
> process... but I still have a _slight_ bug, MaxNumberClients is too
low
> in (apache's ?) default configuration. This is unimportant except for
> "make test" proofreading (my installation of apache works, at least
> loads errorless).
Nuh,
[Mon Dec 01 19:53:50 2003] [error] server reached MaxClients setting,
consider raising the MaxClients setting
is not a problem in this situation. It's only an issue in production
when all
servers are busy and new requests will be put on hold and served
immediately.
But this is strange:
> # make test
> <snip>
> waiting 60 seconds for server to start: .[Mon Dec 01 19:53:45 2003]
> [info] 23 Apache:: modules loaded
> [Mon Dec 01 19:53:45 2003] [info] 5 APR:: modules loaded
> [Mon Dec 01 19:53:45 2003] [info] base server + 11 vhosts ready to run
> tests
> ...
> waiting 60 seconds for server to start: ok (waited 3 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::in_bbs_inject_header)
> server localhost:8535 listening (TestFilter::in_str_msg)
> server localhost:8536 listening (TestFilter::both_str_con_add)
> server localhost:8537 listening (TestFilter::in_bbs_msg)
> server localhost:8538 listening (TestDirective::perlmodule)
> server localhost:8539 listening (TestDirective::perlrequire)
> 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 61 secs
> !!! failed to start server! (please examine t/logs/error_log)
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> *** Error code 1
after repeating the killall process, can you try:
t/TEST -start
t/TEST -run t/apache/read.t
I wonder if it fails because of some problem in
Apache::TestClient::request,
which is now masked on startup or because of a different problem. If
t/apache/read.t runs properly then it's the former, if not it's the
latter.
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]