From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 09:40:22 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 74C0216A4CE for ; Thu, 13 Nov 2003 09:40:22 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11E4C43F85 for ; Thu, 13 Nov 2003 09:40:21 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (8.12.10/8.12.10) with ESMTP id hADHdJfU006695; Thu, 13 Nov 2003 18:39:20 +0100 (CET) (envelope-from cpghost@cordula.ws) Date: Thu, 13 Nov 2003 18:39:19 +0100 (CET) Message-Id: <200311131739.hADHdJfU006695@fw.farid-hajji.net> From: "Cordula's Web" To: MLandman@face2interface.com In-reply-to: <6.0.0.22.0.20031113120154.01b9c148@pop.face2interface.com> (message from Marty Landman on Thu, 13 Nov 2003 12:21:23 -0500) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: <6.0.0.22.0.20031113120154.01b9c148@pop.face2interface.com> cc: freebsd-questions@FreeBSD.org Subject: Re: apache install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 17:40:22 -0000 > 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 You need to edit: /usr/local/etc/apache2/httpd.conf Among others, set ServerName to your hostname, and check the other directives in httpd.conf too. Don't forget to use the -dist templates in /usr/local/etc/apache2, e.g.: cp mime.times-dist mime.types Good luck. -- Cordula's Web. http://www.cordula.ws/