Date: Sat, 27 May 2006 22:14:35 -0700 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-questions@freebsd.org Subject: Re: Configuring local network for Apache22 Message-ID: <447931BB.2090204@u.washington.edu> In-Reply-To: <200605281423.51666.thats@notyourhomework.net> References: <200605281423.51666.thats@notyourhomework.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Malcolm Fitzgerald wrote:
> I'm running a small network behind an ADSL router and one of the machines runs
> freeBSD 6.0-SECURITY. I'd like to configure it to run apache22. Apache fails
> to start and gives this error.
>
> [Sat May 27 18:49:28 2006] [alert] (EAI 8)hostname nor servname provided, or
> not known: mod_unique_id: unable to find IPv4 address of "bsd-box."
>
> How do I configure Web searches suggest three possibilities
>
> 1. that this is a problem with DNS, edit /etc/hosts
>
> I've got this line in /etc/hosts
> 127.0.0.1 localhost localhost.home.net bsd-box.home.net bsd-box
>
> 2. Apache is listening to devices that don't exist - I don't know how to
> explore that suggestion.
>
> 3. If your host doesn't have a registered DNS name, enter its IP address in
> httpd.conf
>
> I have this line in httpd.conf
> ServerName 127.0.0.1
>
Simplest means of correcting this would be to add your static IP (if
one existed) for your server box on the network to your /etc/hosts file
and then change Servname to match bsd-box.
The more complex (but probably better means), would be to setup a
DNS server (look up bind9 for this) and then just make sure that
Servname matches your machine's DNS assigned hostname.
-Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447931BB.2090204>
