Apache config question
LW Ellis
lwellis at mindspring.com
Wed Jun 16 20:35:58 PDT 2004
Kjell,
Thanx that cleared up the error message.
Now I get httpd cannot start.
What did I do wrong.
Leon
----- Original Message -----
From: Kjell Midtseter
To: LW Ellis
Sent: Wednesday, June 16, 2004 3:20 AM
Subject: Re: Apache config question
On 16 Jun 2004 at 2:07, LW Ellis wrote:
>
> What do you mean by server name???
> New to unix, mostly a windows guy.
> ----- Original Message -----
> From: Kjell Midtseter
> To: LW Ellis
> Cc: freebsd-questions at FreeBSD.org
> Sent: Wednesday, June 16, 2004 1:47 AM
> Subject: Re: Apache config question
>
> On 16 Jun 2004 at 0:50, LW Ellis wrote:
>
> > Ok I installed Apache and when I try to start apache I get
> > the following error message.
> > Could not determine services fully qualified domain name,
> > using 127.0.0.1 for service name.
> > apache_1.3.29 HTTPD could not be started.
> >
> > I am on DSL (not static) and have a netgear router, which functions
> > as a DHCP server. Do I have my network card configured wrong or is
> > it something else.
> >
> Try editing /usr/local/etc/apache/httpd.conf
> What is your "ServerName"?
>
If I look in my inetd.conf I find the following:
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName www.la3sg.net
If you have not done any editing, the ServerName is commented out.
In that case I believe you will receive your error message.
> Kjell
>
More information about the freebsd-questions
mailing list