Page 1 of 1

Can't shmget: Permission denied

Posted: Thu Apr 07, 2005 4:48 pm
by stephen
Hey all,

After quite a few hours I managed to get ZM working, however after a reboot I'm back to square one with this error in the syslog:

Apr 7 17:44:15 noc zmu[390]: ERR [Can't shmget, probably not enough shared memory space free: Permission denied]

I'm sure this is the error I got before, but I can't remember how I fixed it. I've tried increasing the shared memory available as the FAQ suggests, but it's still not working. I'm sure it's just a really small permission error, but I'm unable to get any further debug information.

Any help would be appreciated! :)

Thanks

Posted: Thu Apr 07, 2005 8:49 pm
by zoneminder
Possibly you created the shared memory as root (as would be normal) but now you're trying to run as another user? Do 'ipcs -m' to list the shared memory segments, the permissions will be listed as per files. Also don't forget that there are two different methods for inreasing shared memory space, a temporay one for the current run and a permanent one for after a reboot. Make sure you have done both.

Phil