Apache 1.3.33 auto start in FreeBSD 5.3?
Xu Qiang
Qiang.Xu at fujixerox.com
Tue Jun 28 09:28:31 GMT 2005
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="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="%%PREFIX%%/sbin/httpd" to
> command="%%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", it 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 machine. :(
looking forward to help,
Regards,
Xu Qiang
More information about the freebsd-questions
mailing list