Re: problems with make test, server not starting <- RESOLVED
> [root@localhost mod_perl-1.24_01]# ps axf | grep httpd > 2888 ?S 0:01 ../apache_1.3.14/src/httpd -f >/root/mod_perl-1.24_01/t/conf/httpd.conf -X -d /root/mod_perl-1.24_01/t > 10510 ?S 0:00 /usr/local/apache/bin/httpd > 10511 ?SW 0:00 \_ [httpd] > 10512 ?SW 0:00 \_ [httpd] > 10513 ?SW 0:00 \_ [httpd] > 10514 ?SW 0:00 \_ [httpd] > 10515 ?S 0:00 \_ [httpd] > 10516 ?SW 0:00 \_ [httpd] Ok, i killed those guys, typed make test, and guess what happened? httpd listening on port 8529 will write error_log to: t/logs/error_log letting apache warm up...\c done /usr/bin/perl t/TEST 0 modules/actions.ok modules/cgi.ok modules/constants...ok modules/cookie..skipping test on this platform modules/fileok modules/httpdconf...ok modules/include.ok modules/log.ok modules/module..skipping test on this platform modules/perlrun.ok modules/psections...skipping test on this platform modules/request.skipping test on this platform modules/src.ok modules/ssi.ok modules/stage...skipping test on this platform modules/status..ok modules/symbol..skipping test on this platform modules/uri.ok modules/utilok internal/apiok internal/auth...ok internal/croak..ok internal/dirmagic...ok internal/error..ok internal/headersok internal/hooks..ok internal/http-get...ok internal/http-post..ok internal/proxy..ok internal/redirect...ok internal/rwrite.ok internal/stackedok internal/table..ok internal/taint..ok All tests successful, 6 tests skipped. Files=34, Tests=377, 16 wallclock secs (10.01 cusr + 1.16 csys = 11.17 CPU) kill `cat t/logs/httpd.pid` rm -f t/logs/httpd.pid rm -f t/logs/error_log YEA BABY YEA! Thanks a million Ged. :) Richard.
Re: problems with make test, server not starting
Hi again, On Thu, 28 Dec 2000, Richard wrote: > > My idea is to find out if you already have an Apache hanging onto > > port 8259 - in which case you need to stop it! > > [root@localhost mod_perl-1.24_01]# ps axf | grep httpd > 2888 ?S 0:01 ../apache_1.3.14/src/httpd -f >/root/mod_perl-1.24_01/t/conf/httpd.conf -X -d /root/mod_perl-1.24_01/t > 10510 ?S 0:00 /usr/local/apache/bin/httpd > 10511 ?SW 0:00 \_ [httpd] > 10512 ?SW 0:00 \_ [httpd] > 10513 ?SW 0:00 \_ [httpd] > 10514 ?SW 0:00 \_ [httpd] > 10515 ?S 0:00 \_ [httpd] > 10516 ?SW 0:00 \_ [httpd] This is your currently running Apache. By the look of things it's listening on port 8259. Stop it! 73, Ged.
Re: problems with make test, server not starting
On Thu, 28 Dec 2000, G.W. Haywood wrote: > Hi there, > > On Thu, 28 Dec 2000, Richard wrote: > > > "Waiting for server to warm up.. server failed to start!" > [snip] > > [Thu Dec 28 21:33:14 2000] [crit] (98)Address already in use: make_sock: could not >bind to port 8529 > > What happens if you say: > > 'ps axf | grep httpd' > > ? > > My idea is to find out if you already have an Apache hanging onto > port 8259 - in which case you need to stop it! > > 73, > Ged. [root@localhost mod_perl-1.24_01]# ps axf | grep httpd 2888 ?S 0:01 ../apache_1.3.14/src/httpd -f /root/mod_perl-1.24_01/t/conf/httpd.conf -X -d /root/mod_perl-1.24_01/t 10510 ?S 0:00 /usr/local/apache/bin/httpd 10511 ?SW 0:00 \_ [httpd] 10512 ?SW 0:00 \_ [httpd] 10513 ?SW 0:00 \_ [httpd] 10514 ?SW 0:00 \_ [httpd] 10515 ?S 0:00 \_ [httpd] 10516 ?SW 0:00 \_ [httpd]
Re: problems with make test, server not starting
On Thu, Dec 28, 2000 at 09:58:41PM +, Richard wrote: > On Thu, 28 Dec 2000, you wrote: > > Screw the tests. Mine fails all the time, I just type 'make install' and it > > all works perfectly. > > Hmn, just tried that. > > my httpd.conf file did not seem to change, i setup a directive for > Apache::Status to see if it was all ok, but get a config error telling me it > does not understand PerlHandler. Would that suggest that i am trying to start a > non mod_perl enabled apache? > > :-( > > i don't want to grab an RPM. > > Richard
Re: problems with make test, server not starting
try: make kill_httpd && sleep 5 && make test Richard wrote: > > > the error log > ~ > [Thu Dec 28 21:33:14 2000] [crit] (98)Address already in use: make_sock: could not >bind to port 8529 > ~ -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/
Re: problems with make test, server not starting
Hi again, On Thu, 28 Dec 2000, Richard wrote: > my httpd.conf file did not seem to change, It won't. > get a config error telling me it does not understand PerlHandler. > Would that suggest that i am trying to start a non mod_perl enabled > apache? Yup. But it only SUGGESTS it. Your error_log will TELL you. > i don't want to grab an RPM. Good idea. :) 73, Ged.
Re: problems with make test, server not starting
On Thu, 28 Dec 2000, you wrote: > Screw the tests. Mine fails all the time, I just type 'make install' and it > all works perfectly. Hmn, just tried that. my httpd.conf file did not seem to change, i setup a directive for Apache::Status to see if it was all ok, but get a config error telling me it does not understand PerlHandler. Would that suggest that i am trying to start a non mod_perl enabled apache? :-( i don't want to grab an RPM. Richard