httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Schulze ...@bytecamp.net>
Subject Re: apr_shm_attach fails with permission denied
Date Thu, 03 Sep 2009 09:00:25 GMT
Hi,

Sorin Manolache schrieb:
> On Wed, Sep 2, 2009 at 14:58, Robert Schulze<rs@bytecamp.net> wrote:
>> Hi,
>>
>> a module creates a named shared memory segment in the post_config hook.
>> During child initialisation, apr_shm_attach is called, which in my case
>> fails with permission denied.
> 
> Does it work if you start apache as root?

The problem was cause by giving the shm-pointer to a function, which 
should initialize the segment. Somehow the shm was initialized 
privately, I don't know what I did wrong, but fixed that now.

Robert Schulze

Mime
View raw message