From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 05:24:03 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 6AA5116A4CE for ; Mon, 19 Apr 2004 05:24:03 -0700 (PDT) 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 EA34843D1D for ; Mon, 19 Apr 2004 05:23:57 -0700 (PDT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i3JCTJdu079087; Mon, 19 Apr 2004 13:29:36 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <4083C61F.7010500@circlesquared.com> Date: Mon, 19 Apr 2004 13:29:19 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040327 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jiye Zeng References: <200404190956.AA00233@ibm91cs.nies.go.jp> In-Reply-To: <200404190956.AA00233@ibm91cs.nies.go.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@FreeBSD.org Subject: Re: Apache 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: Mon, 19 Apr 2004 12:24:03 -0000 Jiye Zeng wrote: >Dear Sir, > >First of all, I apologize for bothering you. The number of emails you have to deal with is >beyond my imagination. I apologize for adding another. > >I installed FreeBSD 5.2.1 without X. Since I intend to use the system as an internal server >for our research group, I installed no package except for mod_php4-4.3.5_7,1 and >mc-4.6.0_7. Apache-1.3.29_3 and a few other packages are installed as well as dependent >packages of those two. The security level was set to 2 during installation. The problem is >apache won't start by boot and can't be restarted by apachectl. > >I tried to find the solution from the manual and from searching the web, but no luck. I >tried by changing configuration of rc.conf (e.g., enable/disable security and inetd) and >checking httpd.conf, still no luck. I dont't know where is problem. Would please give me >advice. Many thanks. > > Assuming the daemon doesn't start, what happens when you run: #apachectl configtest If no errors are reported, what output do you get from the console when you type: #apachectl start If that fails to start the daemon (test with #ps ax | grep httpd), try: #/usr/local/etc/rc.d/apache.sh start and also check the logs for messages that might help understand the problem. By default, /var/log/httpd-errors.log HTH PWR