From owner-freebsd-questions@FreeBSD.ORG Fri Jan 13 18:49:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF99B16A426 for ; Fri, 13 Jan 2006 18:49:53 +0000 (GMT) (envelope-from snarmont@wnec.edu) Received: from eq1.spamarrest.com (eq1.spamarrest.com [66.150.163.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id A26EC43D45 for ; Fri, 13 Jan 2006 18:49:53 +0000 (GMT) (envelope-from snarmont@wnec.edu) Received: from m11 (m11p [10.1.2.11]) by eq1.spamarrest.com (Postfix) with ESMTP id 22C5560C1FF; Fri, 13 Jan 2006 10:47:34 -0800 (PST) Message-ID: <32789224.1137178054226.JavaMail.root@m11> Date: Fri, 13 Jan 2006 10:47:34 -0800 (PST) From: Steven Narmontas To: Kiffin Gish , snarmont@wnec.edu Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1041_257339.1137178054172" X-Mailer: Spam Arrest WebMail (http://www.spamarrest.com/) X-Originating-IP: [141.154.140.63] X-Originating-Email: [snarmont@spamarrest.com] X-SA-GROUP: Cc: freebsd-questions@freebsd.org Subject: Re: httpd could not be started X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: snarmont@wnec.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 18:49:54 -0000 ------=_Part_1041_257339.1137178054172 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Fri Jan 13 10:05:52 PST 2006, Kiffin Gish wrote: > On Fri, 2006-01-13 at 09:55 -0800, Steven Narmontas wrote: >> ... >> >> Everything to this point went smoothly! I edited >> /usr/local/etc/apache/httpd.conf ONLY to set the ServerName to >> the IP address of the machine. However, when I try to start >> apache I get: >> >> #/usr/local/sbin/apachectl start >> /usr/local/sbin/apachectl start: httpd could not be started >> > > Maybe httpd-error.log contains some suspicious-looking error > messages? > Of course it does! duh! For the record, the error messages in httpd-error.log read: [alert] mod_unique_id:unable to gethostbyname("xxxxx") where xxxx was the made-up host name I used during the install. I edited /etc/rc.conf to change hostname to a valid name, and apache now starts fine. Thank you! ------=_Part_1041_257339.1137178054172--