Re: "make test" fails, httpd fails to start
On Mon, 8 May 2000, Stas Bekman wrote: > > httpd fails to start because of the following. > > > > will write error_log to: t/logs/error_log > > > > Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf: > > > > Invalid command '=pod', perhaps mis-spelled or defined by a module not > > > > included in the server configuration > > > Yeah, how about: > > > > server failed to start! (please examine t/logs/error_log) at t/TEST line but he already gave all the info we need above. steve, the httpd being used to run the tests does not have mod_perl configured. which means there's a flaw in the steps you took to configure/build. try INSTALL.simple or the appropriate section of the guide.
Re: "make test" fails, httpd fails to start
--On Monday, May 08, 2000 12:15 PM -0500 Steve Bauer <[EMAIL PROTECTED]> wrote: > I have apache 1.3.12, and mod_perl 1.23. both apache and mod_perl build > successfully, but make test fails. the output from "make test" is: > > cp t/conf/mod_perl_srm.conf t/conf/srm.conf > ../apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t & > httpd listening on port 8529 > will write error_log to: t/logs/error_log > Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf: > Invalid command '=pod', perhaps mis-spelled or defined by a module not > included in the server configuration > letting apache warm up...done > /usr/local/bin/perl t/TEST 0 > still waiting for server to warm up...not ok > server failed to start! (please examine t/logs/error_log) at t/TEST line > 95. > *** Error code 146 > make: Fatal error: Command failed for target `run_tests' > > > The file /t/httpd.conf contain several pod commands. > > Anybody have any ideas of where to look or how to fix this?? > > Steve Bauer > Cyber Database Solutions. Steve, Assuming your problem and the one I posted several weeks ago are the same, the cause and solution are self-evident -- but only after the fact (perhaps we should call it post-self-evident, "pse" for short :-) In my case, I had a fresh Apache and I built mod_perl without building Apache. That would be a fairly normal thing to do if you want to add modules besides mod_perl, and it's a correct procedure according to the documentation. There is a fundamental flaw, however, in both the documentation and the procedure: If you haven't build Apavhe, there is no httpd executable in the Apache source tree. Everything tested as advertised only when I first built mod_perl and installed it in the Apache source tree, then built Apache with the mod_perl libraries, and then went back and did the test for mod_perl. All tests passed without a hitch. I installed Apache, and using the example in the O'Reilly book (can't remember which critter is on the cover), wrote the obligatory "Hello World", and was on my way. -- Rob _ _ _ _ __ _ _ _ _ /\_\_\_\_\/\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __/\/_//\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_//\/_/ /\/_/ \/_/ /\/_/_/\/_//\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner McMinnville, Oregon [EMAIL PROTECTED]
Re: "make test" fails, httpd fails to start
On Mon, 8 May 2000, Steve Bauer wrote: > The file t/logs/error_log is never created. httpd fails because > /t/conf/httpd.conf looks more like a pod file than a httpd.conf. That's fine. > How is the correct httpd.conf file supposed to be created? > > What can I do to determine why the creation is not happening?? May be file permissions? Or the user/group selection for the child to run under. > Steve Bauer > > Stas Bekman wrote: > > > > On Mon, 8 May 2000, Steve Bauer wrote: > > > > > I have apache 1.3.12, and mod_perl 1.23. both apache and mod_perl build > > > successfully, but make test fails. the output from "make test" is: > > > > > > cp t/conf/mod_perl_srm.conf t/conf/srm.conf > > httpd fails to start because of the following. > > > will write error_log to: t/logs/error_log > > > Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf: > > > Invalid command '=pod', perhaps mis-spelled or defined by a module not > > > included in the server configuration > > > letting apache warm up...done > > > /usr/local/bin/perl t/TEST 0 > > > still waiting for server to warm up...not ok > > > server failed to start! (please examine t/logs/error_log) at t/TEST line > > > 95. > > > *** Error code 146 > > > make: Fatal error: Command failed for target `run_tests' > > > > Yeah, how about: > > > server failed to start! (please examine t/logs/error_log) at t/TEST line > >^^^ > > > 95. > > > > > > > > > > > The file /t/httpd.conf contain several pod commands. > > > > > > Anybody have any ideas of where to look or how to fix this?? > > > > > > Steve Bauer > > > Cyber Database Solutions. > > > > > > > __ > > Stas Bekman | JAm_pH--Just Another mod_perl Hacker > > http://stason.org/ | mod_perl Guide http://perl.apache.org/guide > > mailto:[EMAIL PROTECTED] | http://perl.orghttp://stason.org/TULARC/ > > http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org > > -- > __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] | http://perl.orghttp://stason.org/TULARC/ http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org --
Re: "make test" fails, httpd fails to start
The file t/logs/error_log is never created. httpd fails because /t/conf/httpd.conf looks more like a pod file than a httpd.conf. How is the correct httpd.conf file supposed to be created? What can I do to determine why the creation is not happening?? Steve Bauer Stas Bekman wrote: > > On Mon, 8 May 2000, Steve Bauer wrote: > > > I have apache 1.3.12, and mod_perl 1.23. both apache and mod_perl build > > successfully, but make test fails. the output from "make test" is: > > > > cp t/conf/mod_perl_srm.conf t/conf/srm.conf httpd fails to start because of the following. > > will write error_log to: t/logs/error_log > > Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf: > > Invalid command '=pod', perhaps mis-spelled or defined by a module not > > included in the server configuration > > letting apache warm up...done > > /usr/local/bin/perl t/TEST 0 > > still waiting for server to warm up...not ok > > server failed to start! (please examine t/logs/error_log) at t/TEST line > > 95. > > *** Error code 146 > > make: Fatal error: Command failed for target `run_tests' > > Yeah, how about: > > server failed to start! (please examine t/logs/error_log) at t/TEST line >^^^ > > 95. > > > > > > > The file /t/httpd.conf contain several pod commands. > > > > Anybody have any ideas of where to look or how to fix this?? > > > > Steve Bauer > > Cyber Database Solutions. > > > > __ > Stas Bekman | JAm_pH--Just Another mod_perl Hacker > http://stason.org/ | mod_perl Guide http://perl.apache.org/guide > mailto:[EMAIL PROTECTED] | http://perl.orghttp://stason.org/TULARC/ > http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org > --
Re: "make test" fails, httpd fails to start
On Mon, 8 May 2000, Steve Bauer wrote: > I have apache 1.3.12, and mod_perl 1.23. both apache and mod_perl build > successfully, but make test fails. the output from "make test" is: > > cp t/conf/mod_perl_srm.conf t/conf/srm.conf > ../apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t & > httpd listening on port 8529 > will write error_log to: t/logs/error_log > Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf: > Invalid command '=pod', perhaps mis-spelled or defined by a module not > included in the server configuration > letting apache warm up...done > /usr/local/bin/perl t/TEST 0 > still waiting for server to warm up...not ok > server failed to start! (please examine t/logs/error_log) at t/TEST line > 95. > *** Error code 146 > make: Fatal error: Command failed for target `run_tests' Yeah, how about: > server failed to start! (please examine t/logs/error_log) at t/TEST line ^^^ > 95. > > > The file /t/httpd.conf contain several pod commands. > > Anybody have any ideas of where to look or how to fix this?? > > Steve Bauer > Cyber Database Solutions. > __ Stas Bekman | JAm_pH--Just Another mod_perl Hacker http://stason.org/ | mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] | http://perl.orghttp://stason.org/TULARC/ http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org --