Zoneminder Console - Stopped -v1.22.3
-
- Posts: 22
- Joined: Wed Dec 06, 2006 10:30 pm
- Location: The Netherlands
Zoneminder Console - Stopped -v1.22.3
Hi guys,
I finally managed to build and install it. I got the ****ing Logitech QuickCam Zoom working with xawtv. Configured it also in Zoneminder, my final camera's are still to be shipped.
But when I try to start zoneminder via the console it always shows stopped.
Anyone knows why?
Thanks,
Paul
I finally managed to build and install it. I got the ****ing Logitech QuickCam Zoom working with xawtv. Configured it also in Zoneminder, my final camera's are still to be shipped.
But when I try to start zoneminder via the console it always shows stopped.
Anyone knows why?
Thanks,
Paul
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
what happens when you type
service zm start?
also whats in your logs
have you build this or is it on one of the zm distros
service zm start?
also whats in your logs
have you build this or is it on one of the zm distros
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 22
- Joined: Wed Dec 06, 2006 10:30 pm
- Location: The Netherlands
-
- Posts: 22
- Joined: Wed Dec 06, 2006 10:30 pm
- Location: The Netherlands
I build it myself on Fedora Core 6. It is not a distro.
I did chmod 777 /dev/vide0 and now I get:
Dec 7 21:41:51 localhost kernel: audit(1165524111.149:4): avc: denied { write } for pid=3114 comm="zmdc.pl" name="zmdc.sock" dev=dm-0 ino=951697 scontext=system_u:system_r:httpd_t:s0 tcontext=root:object_r:tmp_t:s0 tclass=sock_file
Dec 7 21:41:52 localhost kernel: audit(1165524112.511:5): avc: denied { write } for pid=3149 comm="zmdc.pl" name="zmdc.sock" dev=dm-0 ino=951697 scontext=system_u:system_r:httpd_t:s0 tcontext=root:object_r:tmp_t:s0 tclass=sock_file
Dec 7 21:41:53 localhost kernel: audit(1165524113.076:6): avc: denied { read } for pid=3155 comm="uptime" name="utmp" dev=dm-0 ino=1146888 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:initrc_var_run_t:s0 tclass=file
Dec 7 21:41:53 localhost kernel: audit(1165524113.077:7): avc: denied { read } for pid=3155 comm="uptime" name="utmp" dev=dm-0 ino=1146888 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:initrc_var_run_t:s0 tclass=file
I did chmod 777 /dev/vide0 and now I get:
Dec 7 21:41:51 localhost kernel: audit(1165524111.149:4): avc: denied { write } for pid=3114 comm="zmdc.pl" name="zmdc.sock" dev=dm-0 ino=951697 scontext=system_u:system_r:httpd_t:s0 tcontext=root:object_r:tmp_t:s0 tclass=sock_file
Dec 7 21:41:52 localhost kernel: audit(1165524112.511:5): avc: denied { write } for pid=3149 comm="zmdc.pl" name="zmdc.sock" dev=dm-0 ino=951697 scontext=system_u:system_r:httpd_t:s0 tcontext=root:object_r:tmp_t:s0 tclass=sock_file
Dec 7 21:41:53 localhost kernel: audit(1165524113.076:6): avc: denied { read } for pid=3155 comm="uptime" name="utmp" dev=dm-0 ino=1146888 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:initrc_var_run_t:s0 tclass=file
Dec 7 21:41:53 localhost kernel: audit(1165524113.077:7): avc: denied { read } for pid=3155 comm="uptime" name="utmp" dev=dm-0 ino=1146888 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:initrc_var_run_t:s0 tclass=file
-
- Posts: 22
- Joined: Wed Dec 06, 2006 10:30 pm
- Location: The Netherlands
-
- Posts: 22
- Joined: Wed Dec 06, 2006 10:30 pm
- Location: The Netherlands
This is what I get now:
Dec 7 22:46:15 localhost zmu[9872]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:16 localhost zmdc[3543]: INF [Starting pending process, zma -m 1]
Dec 7 22:46:16 localhost zmdc[3543]: INF ['zma -m 1' starting at 06/12/07 22:46:16, pid = 9878]
Dec 7 22:46:16 localhost zmdc[9878]: INF ['zma -m 1' started at 06/12/07 22:46:16]
Dec 7 22:46:16 localhost zma_m1[9878]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:16 localhost zma_m1[9878]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:16 localhost zmdc[3543]: ERR ['zma -m 1' exited abnormally, exit status 255]
Dec 7 22:46:17 localhost zmwatch[3616]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
Dec 7 22:46:17 localhost zmwatch[3616]: INF [Restarting capture daemon for Webcam, shared memory not valid]
Dec 7 22:46:17 localhost zmdc[3543]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:17, pid = 9882]
Dec 7 22:46:17 localhost zmwatch[3616]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:17, pid = 9882]
Dec 7 22:46:17 localhost zmdc[9882]: INF ['zmc -d /dev/video' started at 06/12/07 22:46:17]
Dec 7 22:46:17 localhost zmc_dvideo[9882]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:18 localhost zmc_dvideo[9882]: ERR [Failed to set picture attributes: Invalid argument]
Dec 7 22:46:18 localhost zmdc[3543]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Dec 7 22:46:19 localhost zms[9899]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:19 localhost zms[9898]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:26 localhost zmu[9902]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:27 localhost zmwatch[3616]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
Dec 7 22:46:27 localhost zmwatch[3616]: INF [Restarting capture daemon for Webcam, shared memory not valid]
Dec 7 22:46:28 localhost zmdc[9910]: INF ['zmc -d /dev/video' started at 06/12/07 22:46:28]
Dec 7 22:46:28 localhost zmdc[3543]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:28, pid = 9910]
Dec 7 22:46:28 localhost zmc_dvideo[9910]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:28 localhost zmwatch[3616]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:28, pid = 9910]
Dec 7 22:46:28 localhost zmc_dvideo[9910]: ERR [Failed to set picture attributes: Invalid argument]
Dec 7 22:46:28 localhost zmdc[3543]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Dec 7 22:46:34 localhost zms[9926]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:34 localhost zms[9928]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:37 localhost zmu[9934]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:38 localhost zmwatch[3616]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
Dec 7 22:46:38 localhost zmwatch[3616]: INF [Restarting capture daemon for Webcam, shared memory not valid]
Dec 7 22:46:39 localhost zmdc[3543]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:39, pid = 9941]
Dec 7 22:46:39 localhost zmdc[9941]: INF ['zmc -d /dev/video' started at 06/12/07 22:46:39]
Dec 7 22:46:39 localhost zmc_dvideo[9941]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:39 localhost zmwatch[3616]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:39, pid = 9941]
Dec 7 22:46:39 localhost zmc_dvideo[9941]: ERR [Failed to set picture attributes: Invalid argument]
Dec 7 22:46:39 localhost zmdc[3543]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Dec 7 22:46:15 localhost zmu[9872]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:16 localhost zmdc[3543]: INF [Starting pending process, zma -m 1]
Dec 7 22:46:16 localhost zmdc[3543]: INF ['zma -m 1' starting at 06/12/07 22:46:16, pid = 9878]
Dec 7 22:46:16 localhost zmdc[9878]: INF ['zma -m 1' started at 06/12/07 22:46:16]
Dec 7 22:46:16 localhost zma_m1[9878]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:16 localhost zma_m1[9878]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:16 localhost zmdc[3543]: ERR ['zma -m 1' exited abnormally, exit status 255]
Dec 7 22:46:17 localhost zmwatch[3616]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
Dec 7 22:46:17 localhost zmwatch[3616]: INF [Restarting capture daemon for Webcam, shared memory not valid]
Dec 7 22:46:17 localhost zmdc[3543]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:17, pid = 9882]
Dec 7 22:46:17 localhost zmwatch[3616]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:17, pid = 9882]
Dec 7 22:46:17 localhost zmdc[9882]: INF ['zmc -d /dev/video' started at 06/12/07 22:46:17]
Dec 7 22:46:17 localhost zmc_dvideo[9882]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:18 localhost zmc_dvideo[9882]: ERR [Failed to set picture attributes: Invalid argument]
Dec 7 22:46:18 localhost zmdc[3543]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Dec 7 22:46:19 localhost zms[9899]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:19 localhost zms[9898]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:26 localhost zmu[9902]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:27 localhost zmwatch[3616]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
Dec 7 22:46:27 localhost zmwatch[3616]: INF [Restarting capture daemon for Webcam, shared memory not valid]
Dec 7 22:46:28 localhost zmdc[9910]: INF ['zmc -d /dev/video' started at 06/12/07 22:46:28]
Dec 7 22:46:28 localhost zmdc[3543]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:28, pid = 9910]
Dec 7 22:46:28 localhost zmc_dvideo[9910]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:28 localhost zmwatch[3616]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:28, pid = 9910]
Dec 7 22:46:28 localhost zmc_dvideo[9910]: ERR [Failed to set picture attributes: Invalid argument]
Dec 7 22:46:28 localhost zmdc[3543]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Dec 7 22:46:34 localhost zms[9926]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:34 localhost zms[9928]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:37 localhost zmu[9934]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:38 localhost zmwatch[3616]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
Dec 7 22:46:38 localhost zmwatch[3616]: INF [Restarting capture daemon for Webcam, shared memory not valid]
Dec 7 22:46:39 localhost zmdc[3543]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:39, pid = 9941]
Dec 7 22:46:39 localhost zmdc[9941]: INF ['zmc -d /dev/video' started at 06/12/07 22:46:39]
Dec 7 22:46:39 localhost zmc_dvideo[9941]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:39 localhost zmwatch[3616]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:39, pid = 9941]
Dec 7 22:46:39 localhost zmc_dvideo[9941]: ERR [Failed to set picture attributes: Invalid argument]
Dec 7 22:46:39 localhost zmdc[3543]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
See the README or the FAQ in the Wikipaulandgabriela wrote:This is what I get now:
Dec 7 22:46:34 localhost zms[9928]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:37 localhost zmu[9934]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Dec 7 22:46:38 localhost zmwatch[3616]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
Dec 7 22:46:38 localhost zmwatch[3616]: INF [Restarting capture daemon for Webcam, shared memory not valid]
Dec 7 22:46:39 localhost zmdc[3543]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:39, pid = 9941]
Dec 7 22:46:39 localhost zmdc[9941]: INF ['zmc -d /dev/video' started at 06/12/07 22:46:39]
Dec 7 22:46:39 localhost zmc_dvideo[9941]: INF [Debug Level = 0, Debug Log = <none>]
Dec 7 22:46:39 localhost zmwatch[3616]: INF ['zmc -d /dev/video' starting at 06/12/07 22:46:39, pid = 9941]
Dec 7 22:46:39 localhost zmc_dvideo[9941]: ERR [Failed to set picture attributes: Invalid argument]
Dec 7 22:46:39 localhost zmdc[3543]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Regards,
Corey
-
- Posts: 22
- Joined: Wed Dec 06, 2006 10:30 pm
- Location: The Netherlands
Hi Corey,
Thanks for your support till now. I looked into the shared memory:
When looking at the shared memory:
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 644 790528 2 dest
0x00000000 32769 root 644 790528 2 dest
0x00000000 65538 root 644 790528 2 dest
0x00000000 163843 root 600 393216 2 dest
0x00000000 196612 root 600 393216 2 dest
0x00000000 229381 root 600 393216 2 dest
0x00000000 262150 root 600 393216 2 dest
0x00000000 294919 root 600 393216 2 dest
0x00000000 327688 root 600 393216 2 dest
0x00000000 360457 root 600 393216 2 dest
0x00000000 393226 root 600 393216 2 dest
0x00000000 425995 root 600 393216 2 dest
0x00000000 458764 root 600 393216 2 dest
0x00000000 491533 root 600 393216 2 dest
0x7a6d2001 557070 apache 700 18433028 0
The entry 0x7a6d2001 is the one for ZoneMinder. However the odd thing is that compared with the rest the NATTCH=0 and Status=blank does not correspond with the rest???
There is also a similar post being:
ZoneMinder Forum Index -> Hardware Compatibility List->Logitech QuickCam Messenger
I suspect him to have the same kind of problem. I have put the image size 640x480 and RGB24
I do not have a clue what it means but at least it is odd.
This is the result of the ZMU command:
[root@localhost ~]# zmu -d /dev/video0 -q -v
Video Capabilities
Name: Logitech QuickCam Zoom
Type: 1
Can capture
Video Channels: 1
Audio Channels: 1
Maximum Width: 640
Maximum Height: 480
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 160
Height: 120
Picture Attributes
Palette: 15 - YUV 4:2:0 Planar
Colour Depth: 24
Brightness: 32256
Hue: 65535
Colour :32768
Contrast: 64512
Whiteness: 63488
Channel 0 Attributes
Name: Webcam
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
While writing this it turns out that I have to set it to YUV420P and NOT PAL
PROBLEM SOLVED!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cheers,
Paul
Thanks for your support till now. I looked into the shared memory:
When looking at the shared memory:
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 644 790528 2 dest
0x00000000 32769 root 644 790528 2 dest
0x00000000 65538 root 644 790528 2 dest
0x00000000 163843 root 600 393216 2 dest
0x00000000 196612 root 600 393216 2 dest
0x00000000 229381 root 600 393216 2 dest
0x00000000 262150 root 600 393216 2 dest
0x00000000 294919 root 600 393216 2 dest
0x00000000 327688 root 600 393216 2 dest
0x00000000 360457 root 600 393216 2 dest
0x00000000 393226 root 600 393216 2 dest
0x00000000 425995 root 600 393216 2 dest
0x00000000 458764 root 600 393216 2 dest
0x00000000 491533 root 600 393216 2 dest
0x7a6d2001 557070 apache 700 18433028 0
The entry 0x7a6d2001 is the one for ZoneMinder. However the odd thing is that compared with the rest the NATTCH=0 and Status=blank does not correspond with the rest???
There is also a similar post being:
ZoneMinder Forum Index -> Hardware Compatibility List->Logitech QuickCam Messenger
I suspect him to have the same kind of problem. I have put the image size 640x480 and RGB24
I do not have a clue what it means but at least it is odd.
This is the result of the ZMU command:
[root@localhost ~]# zmu -d /dev/video0 -q -v
Video Capabilities
Name: Logitech QuickCam Zoom
Type: 1
Can capture
Video Channels: 1
Audio Channels: 1
Maximum Width: 640
Maximum Height: 480
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 160
Height: 120
Picture Attributes
Palette: 15 - YUV 4:2:0 Planar
Colour Depth: 24
Brightness: 32256
Hue: 65535
Colour :32768
Contrast: 64512
Whiteness: 63488
Channel 0 Attributes
Name: Webcam
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
While writing this it turns out that I have to set it to YUV420P and NOT PAL
PROBLEM SOLVED!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cheers,
Paul