Subject: Re: Can't start apache server
To: None <netbsd-help@NetBSD.org>
From: Alexander Rigbo <alex@rigbo.se>
List: netbsd-help
Date: 03/31/2006 07:37:41
Hi,

It looks as if the apache server is trying to lookup the machines hostname.
You should get rid of the error by adding a line like this to your /etc/hosts:

<your ip> <your hostname> [your fqdn]

for example:

19.20.21.22 boxname boxname.domain.com

Hope this helps
Alex

On Fri, Mar 31, 2006 at 11:49:44AM +0800, Xianwen Chen wrote:
> I used:
> "#apachectl start"
> to try to start apache,but I failed.
> The error msg is
> "mod_unique_id: unable to gethostbyname"
> 
> I use pkg_add to add the apache-1.3.x.tgz.My NetBSD version is 2.0.2.
> 
> Please help me!
> 
> --
> Xianwen Chen
> College Of Economics And Trades,Shanghai Fishiries University
> Shanghai,China
> 086-21-68022471
> apple45@gmail.com