From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 01:44:49 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 E7C0D16A4CE for ; Wed, 25 Feb 2004 01:44:48 -0800 (PST) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id F11C543D39 for ; Wed, 25 Feb 2004 01:44:47 -0800 (PST) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i1P9j21J018254 for ; Wed, 25 Feb 2004 09:45:13 GMT (envelope-from peter@circlesquared.com) Message-ID: <403C6E9E.4090102@circlesquared.com> Date: Wed, 25 Feb 2004 09:45:02 +0000 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20031102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20040225101045.GB3380@core.staszic.eu.org> In-Reply-To: <20040225101045.GB3380@core.staszic.eu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: problem with starting the apache server 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, 25 Feb 2004 09:44:49 -0000 Marek Denis wrote: >On Wed, Feb 25, 2004 at 12:24:50PM +0800, Loo Eric wrote: > > >>1) when i add the apache package it comes out following output: >> >>Added group "www". >>Added user "www". >> >>===> COMPATIBILITY NOTE: >> As of version 1.3.24, the RedirectMatch directive requires an >> absolute URL target location per RFC 2068. Uses of RedirectMatch that >> specify a relative URL will fail and must be corrected to function. >> >>2)then when i start the apache server by typing "apachectl start" it comes >>out the following output: >> >>/usr/local/sbin/apachectl start: httpd could not be started >> >>hope that i will get reply from u soon thanks! >> >> > >hm, maybe you tried to start your apache as a normaln (non-root ) user? >Once i forgot to su for my root user and tried to start httpd, and afar got some similar >errors... > > Does /var/log/httpd-error.log contain anything helpful? A common reason for a newly installed apache not to work is the absence of document root or log file paths that are writable by the user apache runs as, in this case www. Have you read through /usr/local/etc/apache/httpd.conf and checked that everything is where it should be? PWR.