You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Steve Bauer <sb...@texas.net> on 2000/05/08 21:39:16 UTC
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:stas@stason.org | http://perl.org http://stason.org/TULARC/
> http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
> ----------------------------------------------------------------------
Re: "make test" fails, httpd fails to start
Posted by Doug MacEachern <do...@covalent.net>.
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
Posted by Stas Bekman <sb...@stason.org>.
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:stas@stason.org | http://perl.org http://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:stas@stason.org | http://perl.org http://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
----------------------------------------------------------------------