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