On Mon, 10 Apr 2000, Jeff Gleixner wrote:

> Been running a mod_perl/Mason enabled server for a while, now I want to
> change the owner of the process to "www", from "nobody".  In doing so I
> get:
> 
>  Permission denied at
> /usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker.pm
> line 46.
> 
>     if (!$self->{sem}) {
>         $self->{sem} = new IPC::Semaphore($self->{sem_key},
> $self->{nsems},
>             IPC_CREAT | S_IRWXU) || die "$!"; # this is line 46
>     }
> 
> 
> I've changed the ownership of every file that was previously owned by
> nobody to www.  Just wondering what I need to change to get it to work.


You don't need to change file permissions, you need to change semaphore
permissions.  Use ipcs and ipcrm, as root, to fix the problem.

Also try searching the archive for more info.
-jwb

Reply via email to