From owner-freebsd-questions@FreeBSD.ORG Sun May 28 04:24:36 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 9530816AF09 for ; Sun, 28 May 2006 04:24:02 +0000 (UTC) (envelope-from thats@notyourhomework.net) Received: from jay.exetel.com.au (jay.exetel.com.au [220.233.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A77AE43D4C for ; Sun, 28 May 2006 04:24:01 +0000 (GMT) (envelope-from thats@notyourhomework.net) Received: (qmail 12712 invoked by uid 507); 28 May 2006 14:24:00 +1000 Received: from 28.101.233.220.exetel.com.au (HELO ?192.168.1.104?) (220.233.101.28) by jay.exetel.com.au with SMTP; 28 May 2006 14:24:00 +1000 From: Malcolm Fitzgerald To: freebsd-questions@freebsd.org Date: Sun, 28 May 2006 14:23:51 +1000 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200605281423.51666.thats@notyourhomework.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Configuring local network for Apache22 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: Sun, 28 May 2006 04:24:58 -0000 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