Hi,
I had a version of zoneminder (.9) running. Recently my system changed and I installed 1.19.3. Zoneminder starts and will record, but the preview and setup for the zones returns broken pictures.
/var/log/messages has this error when you go to the preview page.
May 13 13:21:00 linux-udp233863uds zmu[4612]: ERR [Can't shmget: Permission denied]
What is strange is that I can play back recorded events, but not look at the live image.
Any ideas?
ERR [Can't shmget: Permission denied]
-
- Posts: 20
- Joined: Mon Nov 10, 2003 4:05 pm
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
If you do an 'ipcs -m' you should see all your shared memory segments. These segments need to be readable by 'apache' or whoever your web server user is. This is the same user that normally starts ZM but if you have started ZM as root then this can occur. Depending on your distro people have very occasionally reported that they need to change the default permissions of 700 to 777 in zm_monitor.cpp though this would then open a (minor) security hole to other users on your machine.
Phil,
Phil,
-
- Posts: 20
- Joined: Mon Nov 10, 2003 4:05 pm