thanks for the quick response.

> Great. Not mp2, but Apache-Test (which is included in the mp2 distro). So
the
> patch does solve the problem?

i did not try to apply the patch (i do not know of any tool to do it), i
changed the files manually to output a valid "Listen" directive.

here is the output and the log file for the failed test:

marina# rm t/logs/error_log
marina# t/TEST -v modperl/request_rec_tie_api
*** 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/bin/perl -Mlib=/usr/src/mod_perl-1.99_12/Apache-Test/lib -MApache::Test
Run -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: .......[Sun Feb 01 21:51:12 2004]
[info] 23 Apache:: modules loaded
[Sun Feb 01 21:51:12 2004] [info] 5 APR:: modules loaded
[Sun Feb 01 21:51:12 2004] [info] base server + 11 vhosts ready to run tests
...........
waiting 120 seconds for server to start: ok (waited 18 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)
modperl/request_rec_tie_api.1..3
not ok 1
# Failed test 1 in
/usr/src/mod_perl-1.99_12/t/response/TestModperl/request_rec_tie_api.pm at
line 36
# fileno STDOUT: 0
# testing : OPEN
# expected: 1
# received: 1
ok 2
ok 3
FAILED test 1
        Failed 1/3 tests, 66.67% okay
Failed Test                   Status Wstat Total Fail  Failed  List of
Failed
----------------------------------------------------------------------------
----
modperl/request_rec_tie_api.t                  3    1  33.33%  1
*** server localhost:8529 shutdown
*** port 8529 still in use...
done
!!! error running tests (please examine t/logs/error_log)

marina# more t/logs/error_log
END in modperl_extra.pl, pid=5261
[Sun Feb 01 21:51:24 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
[Sun Feb 01 21:51:24 2004] [info] Server built: Dec 25 2003 14:04:27
[Sun Feb 01 21:51:24 2004] [debug] prefork.c(1037): AcceptMutex: flock
(default:
 flock)
[Sun Feb 01 21:51:27 2004] [error] server reached MaxClients setting,
consider r
aising the MaxClients setting
[Sun Feb 01 21:51:37 2004] [info] Child process pid=5265 is exiting
[Sun Feb 01 21:51:37 2004] [info] Child process pid=5263 is exiting
[Sun Feb 01 21:51:37 2004] [warn] child process 5263 still did not exit,
sending
 a SIGTERM
[Sun Feb 01 21:51:37 2004] [warn] child process 5265 still did not exit,
sending
 a SIGTERM
[Sun Feb 01 21:51:37 2004] [info] removed PID file
/usr/src/mod_perl-1.99_12/t/l
ogs/httpd.pid (pid=5262)
[Sun Feb 01 21:51:37 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=5262
marina#


----- Original Message -----
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "konsu" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, February 01, 2004 9:49 PM
Subject: Re: 'make test' fails to start server.


> konsu wrote:
> > hello, the cause of the problem was the "Listen" directive in
autogenerated
> > httpd.conf that is incompatible with IPv6. the Apache-Test/ToDo file
> > mentions this problem and there is a patch available. but the fix is not
yet
> > in the mod_perl2 distribution apparently...
>
> Great. Not mp2, but Apache-Test (which is included in the mp2 distro). So
the
> patch does solve the problem?
>
> > tests ran ok, except for one of modperl/request_rec_tie_api.t tests. i
will
> > try to figure out what happened now.
>
> If not, please post the output of:
>
> rm t/logs/error_log
> t/TEST -v modperl/request_rec_tie_api
>
> and anything interesting in the t/logs/error_log file.
>
> Thanks.
>
> __________________________________________________________________
> 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