From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 02:33:33 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 12FE316A4B3 for ; Wed, 17 Sep 2003 02:33:33 -0700 (PDT) Received: from mail.fsck.net (user-0ceteti.cable.mindspring.com [24.238.187.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA13F43FCB for ; Wed, 17 Sep 2003 02:33:31 -0700 (PDT) (envelope-from eugene@fsck.net) Received: from mail.fsck.net (localhost [127.0.0.1]) by mail.fsck.net (8.12.9/8.12.2) with ESMTP id h8H9XdCY017845 for ; Wed, 17 Sep 2003 04:33:39 -0500 (CDT) Received: (from eugene@localhost) by mail.fsck.net (8.12.9/8.12.2/Submit) id h8H9Xdw3017844 for freebsd-questions@freebsd.org; Wed, 17 Sep 2003 04:33:39 -0500 (CDT) X-Authentication-Warning: mail.fsck.net: eugene set sender to eugene@fsck.net using -f Date: Wed, 17 Sep 2003 04:33:38 -0500 From: Eugene Lee To: freebsd-questions@freebsd.org Message-ID: <20030917093338.GD17168@localhost.Earthlink.net> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: can't start apache 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: Wed, 17 Sep 2003 09:33:33 -0000 On Wed, Sep 17, 2003 at 11:11:49AM +0200, H. Bartel wrote: : : I just installed freeBSD for the first time and now I'm trying to get : apache running. When running "apachectl start" I get the following : error: : : "Could not determine the server's fully qualified domain name, using 127.0.0.1 for Servername This is a warning, not an error. Apache is still starting up. : httpd not running, trying to start : (13) Permission denied: make_sock: Could not bind to address [::]:80 : no listening sockets available, shutting down You must be root in order to bind to ports below 1024, so you must run "apachectl start" as root. : Unable to open logs" Another root thing, trying to open the Apache logs in a directory that your normal account can't access but the root account can access. : When running "sudo apachectl start" I only get this: : : "Could not determine the server's fully qualified domain name, using 127.0.0.1 for Servername" Again, this is a warning, not an error. With sudo, "apachectl start" gets run as root, so you do not encounter the previous errors. And at this point, Apache is running. -- Eugene Lee eugene at fsck dot net