After I installed the 2.4.18-18.8.0 kernel errata yesterday and rebooted, httpd always died shortly after starting: [Sat Nov 16 09:14:22 2002] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations [Sat Nov 16 09:24:57 2002] [error] Cannot allocate shared memory: (17)File exist s Manually stracing revealed the problem to be: open("/var/cache/mod_ssl/ssl_gcache_data", O_WRONLY|O_CREAT|O_EXCL, 0666) = -1 EEXIST (File exists) gettimeofday({1037557121, 414293}, NULL) = 0 write(7, "[Sun Nov 17 11:18:41 2002] [erro"..., 82) = 82 _exit(1) = ? After I deleted the ssl_gcache_data file, httpd worked again. I'm not sure what happened here -- probably a one-time quirk thing that's not reproducible.
I just had this happen again -- Apache segfaulted while running. I eventually noticed and bounced the service (/etc/init.d/httpd restart). Although that said it started Apache [ok], Apache was exiting shortly after the restart strace showed it to be the same problem (existance of this ssl cache file)
Are you using the default session cache settings? Can you post your /etc/httpd/conf.d/ssl.conf?
I've reproduced this using the shmht session cache (including what looks like segfault on shutdown); are you using shmht? It appears that shmht isn't actually caching any sessions either, so I'd advise using shmcb instead, which does appear to work correctly in my testing.
I'm just using shm I'll attach the conf in a sec
Created attachment 88384 [details] httpd-ssl configuration file
This should be fixed by the mm erratum: http://rhn.redhat.com/errata/RHBA-2002-273.html *** This bug has been marked as a duplicate of 74543 ***
Um, I'm on RHL 8.0. That erratum is for 7.x only
Eeek, sorry. That comment was aimed for a different bug.
Also showing this problem, exactly as written.
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2003-240.html