Hi,
I have problem using ZM, it doesn't shw any picture and stream. No images are created in images folder.
What should I set video channel to, if I have USB web cam? I know it's on /dev/video0, but what channel ?
I'm using:
zm-0.9.16
RedHat8
Apache/2.0.48 (Unix) PHP/4.3.4 Server at 127.0.0.1 Port 80
PHP 4.3.4 (cli) (built: Nov 6 2003 13:31:45)
mysql Ver 11.18 Distrib 3.23.52, for pc-linux-gnu (i686)
The zmdc.log says:
...
Starting pending process, zmc -d 0
'zmc -d 0' starting at 03/11/06 16:26:15, pid = 1282
'zmc -d 0' started at 03/11/06 16:26:15
'zmc -d 0' crashed at 03/11/06 16:26:15, exit status 255
Starting pending process, zmc -d 0
'zmc -d 0' starting at 03/11/06 16:26:55, pid = 1290
'zmc -d 0' started at 03/11/06 16:26:55
'zmc -d 0' crashed at 03/11/06 16:26:55, exit status 255
Starting pending process, zmc -d 0
'zmc -d 0' starting at 03/11/06 16:28:15, pid = 1302
'zmc -d 0' started at 03/11/06 16:28:15
'zmc -d 0' crashed at 03/11/06 16:28:15, exit status 255
...
The zmpkg.log says:
Can't change permissions on log file: Operation not permitted at /usr/local/bin/zmpkg.pl line 134.
The zmwatch.log says:
Watchdog starting at 03/11/06 16:25:42
Watchdog pausing for 30 seconds
Can't get shared memory id: No such file or directory
Can't get shared memory id: No such file or directory
Can't get shared memory id: No such file or directory
...
Any help appreciated.
Best regards.
D.
'zmc -d 0' crashed, exit status 255
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 'zmc -d 0' crashed, exit status 255
Hi,
The first thing to check is /var/log/messages or whatever your syslog file is. This will be where zmc writes it's errors. I suspect it is having trouble setting up the video capture but this will tell you. Normally for USB cameras just leave the channel as the default or zero.
Phil,
The first thing to check is /var/log/messages or whatever your syslog file is. This will be where zmc writes it's errors. I suspect it is having trouble setting up the video capture but this will tell you. Normally for USB cameras just leave the channel as the default or zero.
Phil,
Re: 'zmc -d 0' crashed, exit status 255
Thank you Phil, you're right. I've checked messages log and after I start ZM it says:
Nov 7 17:01:13 embed1 zmfix[1309]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:17 embed1 zmc-d0[1332]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:17 embed1 zmc-d0[1332]: INF [Got 1 monitors]
Nov 7 17:01:17 embed1 zmc-d0[1332]: ERR [Failed to open video device /dev/video0: Permission denied]
Nov 7 17:01:17 embed1 zmc-d0[1334]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:17 embed1 zmc-d0[1334]: INF [Got 1 monitors]
Nov 7 17:01:17 embed1 zmc-d0[1334]: ERR [Failed to open video device /dev/video0: Permission denied]
Nov 7 17:01:22 embed1 zmc-d0[1354]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:22 embed1 zmc-d0[1354]: INF [Got 1 monitors]
I'm logged in my linux sessions as root, and as admin in ZM. Why do I have a permission problem?
If I open camstream it shows my USB cam on /dev/video0 correctly.
Another interesting thing - if I run zmfix in linux shell, it reports Segmentation fault.
Regards, Darko
Nov 7 17:01:13 embed1 zmfix[1309]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:17 embed1 zmc-d0[1332]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:17 embed1 zmc-d0[1332]: INF [Got 1 monitors]
Nov 7 17:01:17 embed1 zmc-d0[1332]: ERR [Failed to open video device /dev/video0: Permission denied]
Nov 7 17:01:17 embed1 zmc-d0[1334]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:17 embed1 zmc-d0[1334]: INF [Got 1 monitors]
Nov 7 17:01:17 embed1 zmc-d0[1334]: ERR [Failed to open video device /dev/video0: Permission denied]
Nov 7 17:01:22 embed1 zmc-d0[1354]: INF [Debug Level = 0, Debug Log = ]
Nov 7 17:01:22 embed1 zmc-d0[1354]: INF [Got 1 monitors]
I'm logged in my linux sessions as root, and as admin in ZM. Why do I have a permission problem?
If I open camstream it shows my USB cam on /dev/video0 correctly.
Another interesting thing - if I run zmfix in linux shell, it reports Segmentation fault.
Regards, Darko