From owner-freebsd-questions@FreeBSD.ORG Fri Jan 13 19:29:22 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 D86C416A41F for ; Fri, 13 Jan 2006 19:29:22 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3038743D49 for ; Fri, 13 Jan 2006 19:29:21 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from [213.227.193.75] (HELO [192.168.0.178]) by mail.alkar.net (CommuniGate Pro SMTP 4.3.9) with ESMTP id 424892282; Fri, 13 Jan 2006 21:29:20 +0200 Message-ID: <43C81BE5.2070003@oxygen.az> Date: Fri, 13 Jan 2006 21:30:13 +0000 From: Tofik Suleymanov User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: snarmont@wnec.edu References: <32789224.1137178054226.JavaMail.root@m11> In-Reply-To: <32789224.1137178054226.JavaMail.root@m11> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Kiffin Gish Subject: Re: httpd could not be started X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 19:29:23 -0000 Steven Narmontas wrote: >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! > > > >------------------------------------------------------------------------ > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You could just add it to /etc/hosts :)