Fedora Account System
Red Hat Associate
Red Hat Customer
After enabling the httpd service and booting httpd is running correctly but cannot be shutdown using the initscript. Shutting down the machine results in a "shutting down httpd: FAILED". The reason seems to be that the initscript specifies the pidfile as "/var/run/httpd/httpd.pid" yet after the sevice is started the actual pidfile used is "/var/run/httpd.pid". As a result the shutdown of the service files because the wrong pidfile gets checked. Changing the pidfile variable in the initscript to "/var/run/httpd.pid" makes the symptoms go away but the real problem seems to be that the initscript/httpd doesn't create the right pidfile to begin with.
*** This bug has been marked as a duplicate of bug 508170 ***