[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache2 allocate shared memory!



On Mon, Sep 13, 2004 at 01:37:44PM +0100, nx13372 wrote:
> ii  apache2-common 2.0.50-12      Next generation, scalable, extendable 
> web se
> ii  apache2-doc    2.0.50-12      Documentation for apache2
> ii  apache2-mpm-pr 2.0.50-12      Traditional model for Apache2
> 
> I'm getting:
> [Mon Sep 13 12:11:36 2004] [error] Cannot allocate shared memory: 
> (17)File exist
> File exist, what file?
> I can't start or restart apache2!

i ran into this problem last week, but i can't completely track down
the file involved now.

initially, i used ipcs(8) to find shared memory segments allocated by
www-data, used ipcrm(8) to remove them, but that didn't quite do it.
(it may have not been necessary at all in the end.)

otherwise, i ran apache2 under strace(1) to see what file it tried to
create which caused the problem. (# strace apache2 -X).  i just had to
remove the file then.  it was something like "ssl_cache".  as i said
though, i can't find it right now.
-- 
____________________}John Flinchbaugh{______________________
| glynis@hjsoft.com         http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~

Attachment: signature.asc
Description: Digital signature


Reply to: