Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 14:23:51 +1000
From:      Malcolm Fitzgerald <thats@notyourhomework.net>
To:        freebsd-questions@freebsd.org
Subject:   Configuring local network for Apache22
Message-ID:  <200605281423.51666.thats@notyourhomework.net>

next in thread | raw e-mail | index | archive | help
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



-- 

malcolm



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