You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/11/19 13:35:50 UTC
DO NOT REPLY [Bug 14674] New: -
httpd does not start on linux due to semaphore rights
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14674>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14674
httpd does not start on linux due to semaphore rights
Summary: httpd does not start on linux due to semaphore rights
Product: Apache httpd-2.0
Version: 2.0.43
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Blocker
Priority: Other
Component: perchild
AssignedTo: bugs@httpd.apache.org
ReportedBy: admin@ter-net.com
When I try to start httpd on linux (kernel 2.4.19; comile: --with-mpm=perchild
--enable --enable-mods-shared=all) child processes becomes a zombi.
In logs/error_log appears:
[emerg] (22)Invalid argument: apr_proc_mutex_unlock failed. Attempting to
shutdown process gracefully.
It fixed if change file srclib/apr/locks/unix/proc_mutex.c change like this:
114c114
< psem = sem_open((const char *) semname, O_CREAT, 0666, 1);
---
>> psem = sem_open((const char *) semname, O_CREAT, 0644, 1);
222c222
< new_mutex->interproc->filedes = semget(IPC_PRIVATE, 1, IPC_CREAT | 0666);
---
>> new_mutex->interproc->filedes = semget(IPC_PRIVATE, 1, IPC_CREAT | 0600);
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org