Apache not running from rc.d on FreeBSD

Posted by Oksana Molotova on Server Fault See other posts from Server Fault or by Oksana Molotova
Published on 2012-07-10T02:45:28Z Indexed on 2012/07/10 3:17 UTC
Read the original article Hit count: 502

Filed under:
|

I'm using FreeBSD 8.3 and Apache 2.2. I didn't install Apache from ports, instead compiled it from source because I wanted to move the binary and configuration to a different path (I'm centering all of the major production daemons and their configurations in a single place). In any case, I based the /usr/local/etc/rc.d/apache22 file on one from a different server where it was installed from ports, I only modified the binary and config paths within.

I can manually execute it with /usr/local/etc/rc.d/apache22 start, however even with apache22_enable="YES" in /etc/rc.conf it fails to start. All permissions and ownership are identical to the other server where it works.

What am I missing and is there a way to debug this kind of thing?

© Server Fault or respective owner

Related posts about apache2

Related posts about freebsd