----- Original Message ----- From: "Tulan W. Hu" > > ----- Original Message ----- > >From: "Stas Bekman" <[EMAIL PROTECTED]> > > Sent: Monday, January 24, 2005 8:38 PM > > Tulan W. Hu wrote: > > >>From: "Stas Bekman" <[EMAIL PROTECTED]> > > >> > > >>>Tulan Hu wrote: > > >>>-------------8<---------- Start Bug Report ------------8<---------- > > >>>1. Problem Description: > > >>> > > >>> I have tried the httpd-2.0.49 with mod_perl 1.9913 dev version and > > >>> the make test ran ok. However, the httpd-2.0.52 with the current > > >>> mod_perl RC3 cannot start when I did "make test". > > >>> > > >>> This problem has been happened on and off when I tried with different > > >>> versions of mod_perl 2.0. I have tried 1.999021 snapshoot and it got > > >>> the same problem. I have tried perl 5.8.6 too. > > >> > > >>But how do we know what the symptoms are? Please post the output of > 'make > > >>test' and the contents of t/logs/error_log. > > > > > > > > > There was nothing under the t/logs directory because it was time-out. > > > It failed to start the httpd. > > > I had installed a version like this situation before and I got a core > dump > > > when I tried to start it. > > > > In which case start the server under strace(1)/truss(1) or whatever the > > equivalent is under solaris and see why it bails out. It could be blocking > > due to an insufficient entropy in your /dev/random device. > > > http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup > > > > some example of how to work with strace(1) can be found here: > > > http://perl.apache.org/docs/1.0/guide/debug.html#Using_the_System_Calls_Trace > > > > attached file contains the output. > I think I need to fix the syntax error in the httpd.conf first. > however, I cannot just modify the httpd.conf file under t/conf > since it will be overwrite when I run make test. >
$ strace ../httpd -d t -f t/conf/httpd.conf -DAPACHE2 -DONE_PROCESS -DNO_DETATCH strace output: ERROR: unable to open /dev/log **** maybe i need to install some patches? **** as i remember, we installed a patch to have /dev/random available.
===================== $ make test error: [warning] Skipping 'set unlimited ulimit for coredumps', since we are running as a non-root user on Solaris APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \ /s5/twh/perl58/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -bugreport -verbose=0 [warning] Skipping 'set unlimited ulimit for coredumps', since we are running as a non-root user on Solaris /s5/twh/apache252/bin/httpd -d /s5/twh/papache/httpd-2.0.52/mod_perl-2.0.0-RC3/t -f /s5/twh/papache/httpd-2.0.52/mod_perl-2.0.0-RC3/t/conf/httpd.conf -D APACHE2 using Apache/2.0.52 (prefork MPM) waiting 120 seconds for server to start: .Syntax error on line 960 of /s5/twh/papache/httpd-2.0.52/mod_perl-2.0.0-RC3/t/conf/httpd.conf: require takes 1-2 arguments, ................................................................................ ......................................... waiting 120 seconds for server to start: not ok [ error] giving up after 121 secs. If you think that your system is slow or overloaded try again with a longer timeout value. by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT to a high value (e.g. 420) and repeat the last command. [ error] server failed to start! (t/logs/error_log wasn't created, start the se rver in the debug mode) =========================================== The line 960 of httpd.conf file: ....cut... AuthType Basic AuthName "Access" Require user goo bar #####this is the line 960 Require group bar tar <Limit POST> Require valid-user </Limit> ....cut.... ================================================= $ truss ../httpd -d t -f conf/httpd.conf -DAPACHE2 -DONE_PROCESS -DNO_DETATCH output: ....cut.... Syntax error on line 960 of t/conf/httpd.conf: write(2, " S y n t a x e r r o r".., 47) = 47 require takes 1-2 arguments, write(2, " r e q u i r e t a k e".., 30) = 30 llseek(0, 0, SEEK_CUR) = 184313 _exit(1) ================================================= I just downloaded RC4 and got the same error.