Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2006 21:30:13 +0000
From:      Tofik Suleymanov <tofik@oxygen.az>
To:        snarmont@wnec.edu
Cc:        freebsd-questions@freebsd.org, Kiffin Gish <kiffin.gish@planet.nl>
Subject:   Re: httpd could not be started
Message-ID:  <43C81BE5.2070003@oxygen.az>
In-Reply-To: <32789224.1137178054226.JavaMail.root@m11>
References:  <32789224.1137178054226.JavaMail.root@m11>

next in thread | previous in thread | raw e-mail | index | archive | help
Steven Narmontas wrote:

>On Fri Jan 13 10:05:52 PST 2006, Kiffin Gish 
><kiffin.gish@planet.nl> 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 :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C81BE5.2070003>