DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40037>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40037

           Summary: Wrong error message if shared mem isn't deleted during
                    server crash
           Product: Apache httpd-2
           Version: 2.0.52
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Keywords: ErrorMessage
          Severity: minor
          Priority: P3
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


- httpd crashed:
[Thu Jul 13 09:04:29 2006] [crit] (17)File exists: unable to create scoreboard
"/app/apache2/logbrowse-logs/apache_runtime_status" (name-based shared memory
failure)
- file apache_runtime_status is deleted and re-created during restart of httpd
- truss analyze:
[...]
4521:   open("/app/apache2/logbrowse-logs/accept.lock.4521",
O_WRONLY|O_CREAT|O_EXCL, 0644) = 10
4521:   unlink("/app/apache2/logbrowse-logs/accept.lock.4521") = 0
4521:   unlink("/app/apache2/logbrowse-logs/apache_runtime_status") Err#2 ENOENT
4521:   open("/app/apache2/logbrowse-logs/apache_runtime_status",
O_WRONLY|O_CREAT|O_EXCL, 0666) = 11
4521:   stat64("/app/apache2/logbrowse-logs/apache_runtime_status", 0xFFBEF930) 
= 0
4521:   shmget(16826453, 57368, 0600|IPC_CREAT|IPC_EXCL) Err#17 EEXIST
4521:   write(2, " [ T h u   J u l   1 3  ".., 166)     = 166
[...]

-> a shared memory segment is left from a crash
- delete shared memory segment manually and restart: OK

-> the error message is wrong; the file apache_runtime_status can be created,
but the shared memory segment can't be accessed
-> please add another error message for this scenario to ease incident solving

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to