Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 17:31:25 +0800
From:      Xu Qiang <Qiang.Xu@fujixerox.com>
To:        freebsd-questions@freebsd.org
Subject:   RE: Apache 1.3.33 auto start in FreeBSD 5.3?
Message-ID:  <20050628092028.1A6FE1D92E@imss.sgp.fujixerox.com>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050628092028.1A6FE1D92E>