[plug] Local Apache problem

Ben Jensz jensz at wn.com.au
Tue Jan 8 15:43:41 WST 2002


Is it possible to do a "configtest" rather than "start" and see what that
brings up.  If that isn't possible with the httpd script, then have a look
at the error_log file from Apache and see if it says anything meaningful in
that.

I don't know what the exact setup of Apache is like on Mandrake 8.1 (haven't
touched Mandrake since 7.1), I'd be looking through httpd.conf to see if
there is anything in there that hasn't been configured.  Which version of
Apache comes with Mandrake 8.1 anyway?


/ Ben

----- Original Message -----
From: "J Michael Gilks" <gilksjm at iinet.net.au>
To: <plug at plug.linux.org.au>
Sent: Tuesday, January 08, 2002 3:28 PM
Subject: Re: [plug] Local Apache problem


> Sorry about the wait. The exact message is below
>
> Starting httpd-perl: [   OK   ]
> Starting httpd: [FAILED]
> [FAILED]
> [FAILED]
> After this I just get a message when I try to connect to http://localhost.
> Error> Could not connect to host localhost.
> Bummer eh.
> Love
> Mike.
>
> On Tue, 8 Jan 2002 12:27, Ben Jensz wrote:
> > Whats the exact error that you get now?
> >
> >
> > / Ben
> >
> > ----- Original Message -----
> > From: "J Michael Gilks" <gilksjm at iinet.net.au>
> > To: <plug at plug.linux.org.au>
> > Sent: Tuesday, January 08, 2002 12:23 PM
> > Subject: Re: [plug] Local Apache problem
> >
> > > Tried setting the server name to 127.0.0.1. httpd-perl starts OK, but
> >
> > httpd
> >
> > > just fails. At least now I don't get the long message, but would be
nice
> >
> > if I
> >
> > > could make it work. Would it be something else in httpd.conf maybe.
> > > Thanks for your time.
> > > Love
> > > Mike.
> > >
> > > On Tue, 8 Jan 2002 11:29, Ben Jensz wrote:
> > > > You need to give the "ServerName" directive in Apache a setting.  If
> > > > the machine you're using is the one running Apache, then just set
> > > > ServerName
> >
> > to
> >
> > > > 127.0.0.1.
> > > >
> > > > If you're connected to the net, I'd also use the "BindAddress"
> > > > directive and set it to "127.0.0.1" also, so you don't get people
> > > > outside
> >
> > accessing
> >
> > > > stuff from port 80.
> > > >
> > > >
> > > > / Ben
> > > >
> > > > ----- Original Message -----
> > > > From: "J Michael Gilks" <gilksjm at iinet.net.au>
> > > > To: <plug at plug.linux.org.au>
> > > > Sent: Tuesday, January 08, 2002 11:24 AM
> > > > Subject: [plug] Local Apache problem
> > > >
> > > > > When I try to start apache I get the following message.
> > > > >
> > > > > Starting httpd-perl:  [60G[   [1;32mOK [0;39m  ]
> > > > > Starting httpd: [Tue Jan  8 11:16:40 2002] [alert] httpd: Could
not
> > > >
> > > > determine
> > > >
> > > > > the server's fully qualified domain name, using 127.0.0.1 for
> >
> > ServerName
> >
> > > > >  [60G[ [1;31mFAILED [0;39m]
> > > > > [Tue Jan  8 11:16:45 2002] [alert] httpd: Could not determine the
> > > > > server's fully qualified domain name, using 127.0.0.1 for
ServerName
> > > > >  [60G[ [1;31mFAILED [0;39m]
> > > > > [Tue Jan  8 11:16:51 2002] [alert] httpd: Could not determine the
> > > > > server's fully qualified domain name, using 127.0.0.1 for
ServerName
> > > > >  [60G[ [1;31mFAILED [0;39m]
> > > > >
> > > > > My hosts file contains the following entries
> > > > >
> > > > > 127.0.0.1 linux.personal localhost
> > > > > 192.168.0.1 linux.personal localhost linux
> > > > >
> > > > > The 127.0.0.1 line has been changed from localhost.localdomain to
> > > > > linux.personal with no effect.
> > > > >
> > > > > Can someone please suggest a solution to this problem as I need to
> >
> > debug
> >
> > > > some
> > > >
> > > > > PHP scripts and the machine won't connect to anything local.
> > > > > I am running Mandrake 8.1
> > > > > Love
> > > > > Mike.
>



More information about the plug mailing list