>> >> i tested MP 1.99_13 with Perl 5.8.3 and got the same result - none >> of the tests succeeded / no access to httpd (still empty >> t/logs/access_log). > > OK, let's try the debug-by-proxy technique ;) > > once you have build mod_perl 1.99_13 and ready to run 'make test' please > run: > > killall httpd > t/TEST -start
OK, output was: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /tmp/install/apache/mod_perl-1.99_13/t/TEST -start [warning] root mode: changing the files ownership to 'nobody' (65534:65533) [warning] testing whether 'nobody' is able to -rwx /tmp/install/apache/mod_perl-1.99_13/t /usr/bin/perl -Mlib=/tmp/install/apache/mod_perl-1.99_13/Apache-Test/lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 65533, q[/tmp/install/apache/mod_perl-1.99_13/t]) }'; [warning] result: OK /usr/local/apache2/bin/httpd -d /tmp/install/apache/mod_perl-1.99_13/t -f /tmp/install/apache/mod_perl-1.99_13/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.0.48 (prefork MPM) waiting 120 seconds for server to start: .[Thu Mar 25 10:02:52 2004] [info] 27 Apache:: modules loaded [Thu Mar 25 10:02:52 2004] [info] 5 APR:: modules loaded [Thu Mar 25 10:02:52 2004] [info] base server + 16 vhosts ready to run tests ... waiting 120 seconds for server to start: ok (waited 2 secs) server localhost:8529 started server localhost:8530 listening (TestVhost::config) server localhost:8531 listening (TestModperl::merge) server localhost:8532 listening (TestModperl::perl_options) server localhost:8533 listening (TestModperl::setupenv) server localhost:8534 listening (TestProtocol::echo) server localhost:8535 listening (TestProtocol::echo_filter) server localhost:8536 listening (TestPreConnection::note) server localhost:8537 listening (TestHooks::startup) server localhost:8538 listening (TestHooks::stacked_handlers2) server localhost:8539 listening (TestFilter::in_bbs_inject_header) server localhost:8540 listening (TestFilter::both_str_con_add) server localhost:8541 listening (TestFilter::in_bbs_msg) server localhost:8542 listening (TestFilter::in_str_msg) server localhost:8543 listening (TestDirective::perlmodule) server localhost:8544 listening (TestDirective::perlrequire) server localhost:8545 listening (TestPerl::ithreads) server localhost:8546 listening (TestDirective::perlloadmodule3) server localhost:8547 listening (TestDirective::perlloadmodule4) server localhost:8548 listening (TestDirective::perlloadmodule5) server localhost:8549 listening (TestDirective::perlloadmodule6) [warning] root mode: restoring the original files ownership > > (i assume that your httpd is called 'httpd; ;) > > show us the output of: > > ps auxc | grep httpd output: root 4258 27.8 8.4 25004 21532 ? S 10:02 0:01 httpd nobody 4260 0.0 8.4 25072 21596 ? S 10:02 0:00 httpd nobody 4262 0.0 8.4 25072 21592 ? S 10:02 0:00 httpd > > now run: > > t/TEST -ping output: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /tmp/install/apache/mod_perl-1.99_13/t/TEST -ping [warning] server localhost:8529 running (pid=4258, version=Apache/2.0.48) > > now run: > > t/STOP did you mean t/TEST -stop ? (because i found no "STOP") output: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /tmp/install/apache/mod_perl-1.99_13/t/TEST -stop [warning] server localhost:8529 shutdown > > now run: > > APACHE_TEST_DEBUG_LWP=1 t/TEST -v t/modules/cgi.t output: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /tmp/install/apache/mod_perl-1.99_13/t/TEST -v 't/modules/cgi.t' [warning] root mode: changing the files ownership to 'nobody' (65534:65533) [warning] testing whether 'nobody' is able to -rwx /tmp/install/apache/mod_perl-1.99_13/t /usr/bin/perl -Mlib=/tmp/install/apache/mod_perl-1.99_13/Apache-Test/lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 65533, q[/tmp/install/apache/mod_perl-1.99_13/t]) }'; [warning] result: OK /usr/local/apache2/bin/httpd -d /tmp/install/apache/mod_perl-1.99_13/t -f /tmp/install/apache/mod_perl-1.99_13/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.0.48 (prefork MPM) waiting 120 seconds for server to start: .[Thu Mar 25 10:03:46 2004] [info] 27 Apache:: modules loaded [Thu Mar 25 10:03:46 2004] [info] 5 APR:: modules loaded [Thu Mar 25 10:03:46 2004] [info] base server + 16 vhosts ready to run tests ... waiting 120 seconds for server to start: ok (waited 2 secs) server localhost:8529 started server localhost:8530 listening (TestVhost::config) server localhost:8531 listening (TestModperl::merge) server localhost:8532 listening (TestModperl::perl_options) server localhost:8533 listening (TestModperl::setupenv) server localhost:8534 listening (TestProtocol::echo) server localhost:8535 listening (TestProtocol::echo_filter) server localhost:8536 listening (TestPreConnection::note) server localhost:8537 listening (TestHooks::startup) server localhost:8538 listening (TestHooks::stacked_handlers2) server localhost:8539 listening (TestFilter::in_bbs_inject_header) server localhost:8540 listening (TestFilter::both_str_con_add) server localhost:8541 listening (TestFilter::in_bbs_msg) server localhost:8542 listening (TestFilter::in_str_msg) server localhost:8543 listening (TestDirective::perlmodule) server localhost:8544 listening (TestDirective::perlrequire) server localhost:8545 listening (TestPerl::ithreads) server localhost:8546 listening (TestDirective::perlloadmodule3) server localhost:8547 listening (TestDirective::perlloadmodule4) server localhost:8548 listening (TestDirective::perlloadmodule5) server localhost:8549 listening (TestDirective::perlloadmodule6) #lwp request: #GET http://localhost:8529/index.html HTTP/1.0 #User-Agent: libwww-perl/5.76 # #server response: #500 (Internal Server Error) Can't connect to localhost:8529 (connect: Connection refused) #Content-Length: 66 #Content-Type: text/plain #Client-Date: Thu, 25 Mar 2004 09:03:48 GMT #Client-Warning: Internal response #X-Content-Length-Note: added by Apache::TestRequest # t/modules/cgi....1..5 # Running under perl version 5.009 for linux # Current time local: Thu Mar 25 10:03:48 2004 # Current time GMT: Thu Mar 25 09:03:48 2004 # Using Test.pm version 1.24 #lwp request: #GET http://localhost:8529/TestModules__cgi?PARAM=2 HTTP/1.0 #User-Agent: libwww-perl/5.76 # #server response: #500 (Internal Server Error) Can't connect to localhost:8529 (connect: Connection refused) #Content-Length: 66 #Content-Type: text/plain #Client-Date: Thu, 25 Mar 2004 09:03:49 GMT #Client-Warning: Internal response #X-Content-Length-Note: added by Apache::TestRequest # # testing : GET /TestModules__cgi?PARAM=2 # expected: ok 2 # received: 500 Can't connect to localhost:8529 (connect: Connection refused) not ok 1 # Failed test 1 in t/modules/cgi.t at line 29 #lwp request: #POST http://localhost:8529/TestModules__cgi HTTP/1.0 #User-Agent: libwww-perl/5.76 #Content-Length: 9 #Content-Type: application/x-www-form-urlencoded # #server response: #500 (Internal Server Error) Can't connect to localhost:8529 (connect: Connection refused) #Content-Length: 66 #Content-Type: text/plain #Client-Date: Thu, 25 Mar 2004 09:03:49 GMT #Client-Warning: Internal response #X-Content-Length-Note: added by Apache::TestRequest # # testing : POST /TestModules__cgi # PARAM=%33 # expected: ok 3 # received: 500 Can't connect to localhost:8529 (connect: Connection refused) not ok 2 # Failed test 2 in t/modules/cgi.t at line 35 # testing : file upload # expected: ok 4 # received: 500 Can't connect to localhost:8529 (connect: Connection refused) not ok 3 # Failed test 3 in t/modules/cgi.t at line 41 #lwp request: #GET http://localhost:8529/TestModules__cgi HTTP/1.0 #User-Agent: libwww-perl/5.76 # #server response: #500 (Internal Server Error) Can't connect to localhost:8529 (connect: Connection refused) #Content-Length: 66 #Content-Type: text/plain #Client-Date: Thu, 25 Mar 2004 09:03:49 GMT #Client-Warning: Internal response #X-Content-Length-Note: added by Apache::TestRequest # # testing : Content-type header # expected: (?-xism:^text/test-output) # received: text/plain not ok 4 # Failed test 4 in t/modules/cgi.t at line 50 #lwp request: #GET http://localhost:8529/TestModules__cgi HTTP/1.0 #User-Agent: libwww-perl/5.76 # #server response: #500 (Internal Server Error) Can't connect to localhost:8529 (connect: Connection refused) #Content-Length: 66 #Content-Type: text/plain #Client-Date: Thu, 25 Mar 2004 09:03:49 GMT #Client-Warning: Internal response #X-Content-Length-Note: added by Apache::TestRequest # # expected: TestModules::cgi # received: X-Perl-Module header not ok 5 # Failed test 5 in t/modules/cgi.t at line 58 FAILED tests 1-5 Failed 5/5 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed --------------------------------------------------------------------------- ---- t/modules/cgi.t 5 5 100.00% 1-5 [warning] server localhost:8529 shutdown [ error] error running tests (please examine t/logs/error_log) > > actually the last step is probably all we need to debug this problem, how > didn't I think about it in first place. > > in addition there is the output of t/logs/error.log: [Thu Mar 25 10:03:47 2004] [info] Init: Initializing OpenSSL library [Thu Mar 25 10:03:47 2004] [info] Init: Seeding PRNG with 0 bytes of entropy [Thu Mar 25 10:03:47 2004] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Thu Mar 25 10:03:48 2004] [info] Init: Generating temporary DH parameters (512/1024 bits) [Thu Mar 25 10:03:48 2004] [info] Init: Initializing (virtual) servers for SSL [Thu Mar 25 10:03:48 2004] [info] Server: Apache/2.0.48, Interface: mod_ssl/2.0.48, Library: OpenSSL/0.9.6g [Thu Mar 25 10:03:48 2004] [notice] Apache/2.0.48 (Unix) mod_perl/1.99_13 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.6g configured -- resuming normal operations [Thu Mar 25 10:03:48 2004] [info] Server built: Nov 12 2003 16:30:49 [Thu Mar 25 10:03:48 2004] [debug] prefork.c(1037): AcceptMutex: sysvsem (default: sysvsem) [Thu Mar 25 10:03:49 2004] [error] server reached MaxClients setting, consider raising the MaxClients setting [Thu Mar 25 10:03:49 2004] [info] Child process pid=4394 is exiting [Thu Mar 25 10:03:49 2004] [info] Child process pid=4397 is exiting [Thu Mar 25 10:03:49 2004] [info] removed PID file /tmp/install/apache/mod_perl-1.99_13/t/logs/httpd.pid (pid=4392) [Thu Mar 25 10:03:49 2004] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=4392 I dont't know if this helps: When i start the httpd manually by "/usr/local/apache2/bin/httpd -f /tmp/install/apache/mod_perl-1.99_13/t/conf/httpd.conf" and test, whether i can connect to one of the listen-ports (e.g. "netcat localhost 8529 -vv") => conection refused I replaced all "localhost:<port>" directives in http.conf by 127.0.0.1:<port> => at least i get a connection to the ports now. Regards Helmut -- 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