Re: Apache won't start - shared memory problem

2003-10-07 Thread Graham Leggett
Aaron Bannert wrote: The problem with doing that is you don't know if there already is an apache instance running on the box when you blow away the memory segment. But then Apache should have some way of guaranteeing that the memory segment it intends to use, is dedicated to it. Regards, Graham

Re: Apache won't start - shared memory problem

2003-10-05 Thread Aaron Bannert
On Fri, Oct 03, 2003 at 06:47:16PM +0200, Graham Leggett wrote: Is there no way that some cleanup process (whether it involves deleting a file, or talking to the kernel, doesn't matter) can be done before an attempt is made to create the shared memory segment? The problem with doing that is

Re: Apache won't start - shared memory problem

2003-10-03 Thread Graham Leggett
Kris Verbeeck wrote: 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). Is

Re: Apache won't start - shared memory problem

2003-10-03 Thread Joe Orton
On Fri, Oct 03, 2003 at 06:47:16PM +0200, Graham Leggett wrote: Kris Verbeeck wrote: 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

Re: Apache won't start - shared memory problem

2003-10-02 Thread Kris Verbeeck
Graham Leggett wrote: 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

Apache won't start - shared memory problem

2003-10-01 Thread Graham Leggett
Hi all, 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

Re: Apache won't start - shared memory problem

2003-10-01 Thread Paul J. Reder
The shared mem got left around after Apache crashed. Assuming you are on Linux try: ipcs # check for zero access count... ipcrm shm XX # will remove the offending shmem id ipcs will give you something like: ... 0x0102c028 776437784 rederpj 60056344 6 ... ipcrm

Re: Apache won't start - shared memory problem

2003-10-01 Thread Graham Leggett
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