From owner-freebsd-questions Wed May 3 6:12: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kazoocmh.org (kcmh13.kazoocmh.org [206.31.240.158]) by hub.freebsd.org (Postfix) with SMTP id 89DD337B7CF for ; Wed, 3 May 2000 06:12:02 -0700 (PDT) (envelope-from johnholland@mindspring.com) Received: from tag1288.mindspring.com ([10.11.1.50]) by kazoocmh.org; Wed, 03 May 2000 09:11:40 -0400 Message-Id: <4.3.1.0.20000503090326.00b742d0@mail.mindspring.com> X-Sender: johnholland@mail.mindspring.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Wed, 03 May 2000 09:11:04 -0400 To: questions@FreeBSD.ORG From: John Holland Subject: Re: Apache won't start - RESOLVED In-Reply-To: <200005031011.DAA03864@earthlink.net> References: <4.3.1.0.20000502163513.00ad36e0@mail.mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Possibly you need to set the server name in httpd.conf. Look in >/var/log for apache_error.log and see if it says something about not >being able to figure out your server name. If it does, edit >/usr/local/etc/apache/httpd.conf appropriately. This error occurs >when your hostname is not fully qualified (ie. no valid domain name). It was something stupid. I had already changed the host name in /usr/local/etc/apache/httpd.conf. /var/log/http-error.log reported gethostbyname() failed After mucking about a bit, I noticed a spelling error in /etc/resolv.conf. The resolver was querying the wrong nameserver. After fixing that, apache started normally. Thanks for the help everyone. I just wish httpd had a debug or verbose switch instead of relying so heavily on logs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message