apache startup fails

Vivek Khera vivek at khera.org
Wed Oct 10 09:28:25 PDT 2007


I have apache (2.0.59 from the port) configured on a 6.2/amd64 box  
like this in my rc.conf:

apache2_be_enable="YES"
apache2_fe_enable="YES"
apache2ssl_fe_enable="YES"
apache2_be_configfile="/usr/local/etc/apache2/httpd-be.conf"
apache2_fe_configfile="/usr/local/etc/apache2/httpd-fe.conf"
apache2_profiles="fe be"


On reboot, I see the following on the console:

===> apache2 profile: fe
/usr/local/etc/rc.d/apache2.sh: /etc/rc: Permission denied
===> apache2 profile: be
/usr/local/etc/rc.d/apache2.sh: /etc/rc: Permission denied


Neither profile for apache is started.  However, manually running  
the /usr/local/etc/rc.d/apache2.sh script from a terminal to start  
each profile individually gets them started.  ie, I run "/usr/local/ 
etc/rc.d/apache2.sh start fe" and again for "be".

Am I missing something to make it work at boot?


More information about the freebsd-ports mailing list