From owner-freebsd-questions@FreeBSD.ORG Sun Sep 12 21:45:20 2004 Return-Path: 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 A5CA516A4D0 for ; Sun, 12 Sep 2004 21:45:08 +0000 (GMT) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id D121F43D31 for ; Sun, 12 Sep 2004 21:45:07 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from [10.0.0.10] (12-218-40-24.client.mchsi.com[12.218.40.24]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20040912214506m920003mcle>; Sun, 12 Sep 2004 21:45:07 +0000 From: Josh Paetzel To: questions@freebsd.org Date: Sun, 12 Sep 2004 16:44:35 -0500 User-Agent: KMail/1.6.1 References: <20040912160216.M11079@rebaca.com> <20040912162939.M96962@rebaca.com> In-Reply-To: <20040912162939.M96962@rebaca.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409121644.35063.josh@tcbug.org> cc: Sujit Dey Subject: Re: can't start Apache 1.3 server in freeBSD 4.9 release #0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2004 21:45:20 -0000 On Sunday 12 September 2004 04:29, Sujit Dey wrote: > After installing Apache 1.3, i was configuring in freeBSD following > the procedure mentioned in FreeBSD Handbook( section 23.7 Apache > HTTP Server). i've tried ServerName (in httpd.conf ) with > localhost, 127.0.0.1, but using "/usr/local/sbin/apachectl start", > can't start the Apache server. It is giving httpd can not be > started. I followed same procedure in Windows and able to start > Apache server. please help me or give me some clue for how to start > the Apache server. > > httpd log file contails following entry... > [alert] mod_unique_id: unable to gethostbyname() Perhaps you need to set the machine's hostname? hostname="some.fqdn.here" in /etc/rc.conf, or just using the hostname command from a shell as root. -- Thanks, Josh Paetzel