No shared memory listed for zm user (www-data)
Posted: Thu Aug 06, 2009 7:34 pm
I have zoneminder 1.23.3 installed from the ubuntu repo with the following setup:
Kernel: 2.6.28
Distro: Ubuntu 9.04
WebCam: Logitech Communicator STX
I can access the web interface, setup a monitor and the webcam flashes (so I've picked the correct /dev/video device). I cannot view the monitor and viewing the logs I have:
zmdc.log
06/08/09 20:12:30.059220 zmdc[5311].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
<repeated>
zmwatch.log:
zmwatch[3459].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
I have searched the forums/faq and followed the advice on setting more shared memory but this has not solved the problem. What I have discovered is that if I looked at shared memory allocate, the www-data user does not allocate any and there is nothing allocated from the hex base set in the config 7a6dxxxx.
ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 777 135168 1
0x00000000 131073 jcgm 600 393216 2 dest
0x00000000 163842 jcgm 600 393216 2 dest
0x00000000 196611 jcgm 600 393216 2 dest
0x00000000 229380 jcgm 600 393216 2 dest
0x00000000 262149 jcgm 600 393216 2 dest
0x00000000 294918 jcgm 600 393216 2 dest
0x00000000 327687 jcgm 600 393216 2 dest
0x00000000 360456 jcgm 600 393216 2 dest
0x00000000 393225 jcgm 600 393216 2 dest
0x00000000 688138 jcgm 600 393216 2 dest
0x00000000 458763 jcgm 600 393216 2 dest
0x00000000 491532 jcgm 600 393216 2 dest
0x00000000 720909 jcgm 600 393216 2 dest
0x00000000 557070 jcgm 600 393216 2 dest
0x00000000 589839 jcgm 600 393216 2 dest
jcgm is my user name.
I have already added www-data user to video group. I have also changed permissions on /dev/video1.
I really am not sure what to try next, what have I missed? Any help will be greatly appreciated.
Kernel: 2.6.28
Distro: Ubuntu 9.04
WebCam: Logitech Communicator STX
I can access the web interface, setup a monitor and the webcam flashes (so I've picked the correct /dev/video device). I cannot view the monitor and viewing the logs I have:
zmdc.log
06/08/09 20:12:30.059220 zmdc[5311].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
<repeated>
zmwatch.log:
zmwatch[3459].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
I have searched the forums/faq and followed the advice on setting more shared memory but this has not solved the problem. What I have discovered is that if I looked at shared memory allocate, the www-data user does not allocate any and there is nothing allocated from the hex base set in the config 7a6dxxxx.
ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 777 135168 1
0x00000000 131073 jcgm 600 393216 2 dest
0x00000000 163842 jcgm 600 393216 2 dest
0x00000000 196611 jcgm 600 393216 2 dest
0x00000000 229380 jcgm 600 393216 2 dest
0x00000000 262149 jcgm 600 393216 2 dest
0x00000000 294918 jcgm 600 393216 2 dest
0x00000000 327687 jcgm 600 393216 2 dest
0x00000000 360456 jcgm 600 393216 2 dest
0x00000000 393225 jcgm 600 393216 2 dest
0x00000000 688138 jcgm 600 393216 2 dest
0x00000000 458763 jcgm 600 393216 2 dest
0x00000000 491532 jcgm 600 393216 2 dest
0x00000000 720909 jcgm 600 393216 2 dest
0x00000000 557070 jcgm 600 393216 2 dest
0x00000000 589839 jcgm 600 393216 2 dest
jcgm is my user name.
I have already added www-data user to video group. I have also changed permissions on /dev/video1.
I really am not sure what to try next, what have I missed? Any help will be greatly appreciated.