Red Hat Bugzilla – Bug 37233
Normal users cannot start private apaches
Last modified: 2007-04-18 12:32:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en]C-STL/0.3 (WinNT; U)
EAPI_MM_CORE_PATH is set to an absolute path (/var/run/httpd.mm.xxx) and cannot be overridden.
As a consequence, non-root users trying to start servers get a permission denied error.
This is not an unsurmountable problem in production use, but it is a major setback (that did not exist in prior versions) for development where it
is common to have different users run their own servers.
The problem is described in the FAQ for mod_ssl at http://www.modssl.org/docs/2.8/ssl_faq.html#mmpath
Notice that the problem is nor avoided by not loading mod_ssl, the EAPI patch affects all configurations.
Steps to Reproduce:
1.as a normal user, start apache as httpd -f /etc/httpd/conf/httpd.conf
Actual Results: Apache does not start and shows the message:
Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.14524") failed
Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory
The fix for this problem will be incorporated into a pending errata for Apache
1.3.20, and in Raw Hide. In testing, it appears to default to creating the file
under [ServerRoot]/logs/, as it has previously.
Thanks for the report. This bug is no longer present in the Apache
httpd 2.0 packages in Red Hat Enterprise Linux and Fedora Core.
*** Bug 51220 has been marked as a duplicate of this bug. ***
*** Bug 77703 has been marked as a duplicate of this bug. ***