From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 10:32:14 2003 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 E0DD016A4CE for ; Thu, 13 Nov 2003 10:32:14 -0800 (PST) Received: from cobalt.4gl.com (cobalt.4gl.com [66.212.110.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2640A43F75 for ; Thu, 13 Nov 2003 10:32:14 -0800 (PST) (envelope-from ttyson@championelevators.com) Received: from 201 (node-97-98.4gl.com [66.212.97.98] (may be forged)) by cobalt.4gl.com (8.9.3/8.9.3) with SMTP id MAA03539; Thu, 13 Nov 2003 12:49:36 -0600 From: "Terry Tyson" To: "Marty Landman" , Date: Thu, 13 Nov 2003 12:32:12 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <6.0.0.22.0.20031113120154.01b9c148@pop.face2interface.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: RE: apache install problem 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: Thu, 13 Nov 2003 18:32:15 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of > Marty Landman > Sent: Thursday, November 13, 2003 11:21 AM > To: freebsd-questions@freebsd.org > Subject: apache install problem > > > I just installed Apache2 and not sure how to proceed, if > I'm doing things > wrong from here or there is some other problem: > > > $ which apachectl > /usr/local/sbin/apachectl > $ apachectl start > httpd: Could not determine the server's fully qualified > domain name, using > 127.0.0.1 for ServerName > (13)Permission denied: make_sock: could not bind to address [::]:80 > no listening sockets available, shutting down > Unable to open logs > > $ I just had this problem the other day. It wasn't httpd.conf, it was /etc/hosts. I looked at my OpenBSD box that was working properly and copied the format listed there. ::1 localhost.domain.com localhost 127.0.0.1 localhost.domain.com localhost 127.0.0.1 hostname.domain.com hostname I can't really explain this like others on this list, i just know it worked. Hope this helps, Terry