httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14674] New: - httpd does not start on linux due to semaphore rights
Date Tue, 19 Nov 2002 12:35:50 GMT
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


Mime
View raw message