Admin Life Errors, Fixes, and Encounters

26Jan/10Off

apache and rc.d not working in freebsd

Trying to start apache from /usr/local/etc/rc.d but it doesn't seem to be starting?
# cd /usr/local/etc/rc.d/
# ./apachectl start

In FreeBSD you must have apache_enable="YES" inside your /etc/rc.conf file. If you don't, apache will not start via /usr/local/etc/rc.d

Same goes to mysql and any other software you want to start at boot time.

Filed under: commands, Errors, Unix No Comments