Graham Leggett wrote:
My Apache server just went down, and now refuses to come up, logging the following message:
[Wed Oct 01 11:16:12 2003] [error] Cannot allocate shared memory: (17)File exists
There is no record of which module is emitting this message, nor does the message say which file this is referring to. Anyone know?
Turned out to be the file referred to by the SSLSessionCache parameter.
Is it also possible to delete this file before Apache starts up, so that this "file exists" problem cannot occur?
That won't solve the problem, the shared memory segment is still registered somewhere in the kernel. I've had lots of problems with this too and only deleting the file does not solve it. You have to remove the segments from the kernel table too (see mail from Paul).
-- ir. Kris Verbeeck Software Engineer
Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77
Ubizen - We Secure e-business - www.ubizen.com
