From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 09:28:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 50E7C16A41C for ; Tue, 28 Jun 2005 09:28:31 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from mx21.fujixerox.co.jp (mx21.fujixerox.co.jp [192.26.96.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C4C43D48 for ; Tue, 28 Jun 2005 09:28:30 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from isvw21.fujixerox.co.jp ([129.249.27.141]) by mx21.fujixerox.co.jp with ESMTP id j5S9STQT013896 for ; Tue, 28 Jun 2005 18:28:29 +0900 (JST) Received: from ms20.fujixerox.co.jp (localhost [127.0.0.1]) by isvw21.fujixerox.co.jp with ESMTP id j5S9SSQc010284 for ; Tue, 28 Jun 2005 18:28:28 +0900 (JST) Received: from ms1.fujixerox.co.jp (ms1 [129.249.27.192]) by ms20.fujixerox.co.jp with ESMTP id j5S9SSlj029397 for ; Tue, 28 Jun 2005 18:28:28 +0900 (JST) Received: from sgpaphq-smtp01.fujixerox.com ([13.198.8.73]) by ms1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j5S9SRm04562 for ; Tue, 28 Jun 2005 18:28:27 +0900 (JST) Received: from mailhost.sgp.fujixerox.com by sgpaphq-smtp01.fujixerox.com with ESMTP id 71806521119950882; Tue, 28 Jun 2005 17:28:02 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id ED4A21D930 for ; Tue, 28 Jun 2005 17:20:33 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 1A6FE1D92E; Tue, 28 Jun 2005 17:20:28 +0800 (SGT) From: Xu Qiang To: freebsd-questions@freebsd.org Date: Tue, 28 Jun 2005 17:31:25 +0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 60130 (9.0.2711) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20050628092028.1A6FE1D92E@imss.sgp.fujixerox.com> Subject: RE: Apache 1.3.33 auto start in FreeBSD 5.3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 09:28:31 -0000 Xu Qiang wrote: > I compiled Apache 1.3.33 from src in my FreeBSD 5.3 machine. It works > well. However, I want to let it run at the start-up time of the > system. = > = > I added the line apache_enable=3D"YES" into /etc/rc.conf as > /usr/ports/www/apache13/pkg-message said, and copied > /usr/ports/www/apache13/files/apache.sh into /usr/local/etc/rc.d, and > modified the line command=3D"%%PREFIX%%/sbin/httpd" to > command=3D"%%PREFIX%%/apache/bin/httpd". = > = > But it still doesn't work. When I manually go to /usr/etc/rc.d, and run the script by "./apache.sh", i= t told me: = .: Can't open %%RC_SUBR%%: No such file or directory Btw, I can't find the command "load_rc_config" and "run_rc_command" in my m= achine. :( looking forward to help, = Regards, Xu Qiang