Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 21:35:13 -0600
From:      "LW Ellis" <lwellis@mindspring.com>
To:        "Kjell Midtseter" <junkmail@sensewave.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Apache config question
Message-ID:  <004601c4541c$19ddcbc0$0200a8c0@LLAPTOP>
References:  <40D02CEB.23912.AF81AF@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Kjell,=20
Thanx that cleared up the error message.
Now I get httpd cannot start.
What did I do wrong.
Leon

  ----- Original Message -----=20
  From: Kjell Midtseter=20
  To: LW Ellis=20
  Sent: Wednesday, June 16, 2004 3:20 AM
  Subject: Re: Apache config question


  On 16 Jun 2004 at 2:07, LW Ellis wrote:


  >=20
  > What do you mean by server name???
  > New to unix, mostly a windows guy.
  >     ----- Original Message -----=20
  > From: Kjell Midtseter=20
  > To: LW Ellis=20
  > Cc: freebsd-questions@FreeBSD.org=20
  > Sent: Wednesday, June 16, 2004 1:47 AM
  > Subject: Re: Apache config question
  >=20
  > On 16 Jun 2004 at 0:50, LW Ellis wrote:
  >=20
  > > 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,=20
  > > using 127.0.0.1 for service name.
  > > apache_1.3.29 HTTPD could not be started.
  > >=20
  > > 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.
  > >=20
  > Try editing /usr/local/etc/apache/httpd.conf
  > What is your "ServerName"?
  >=20
  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=20
  # 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=20
  # machine always knows itself by this address. If you use Apache =
strictly for=20
  # 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
  >=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004601c4541c$19ddcbc0$0200a8c0>