Raspberry Pi

Forum for questions and support relating to the 1.25.x releases only.
Locked
xen
Posts: 1
Joined: Tue Aug 21, 2012 3:20 pm

Raspberry Pi

Post by xen »

Hi there,
I have set myself a project to get my RPi to run Zoneminder with a few composite cctv camera attached via a EasyCap DC60.
I have got pretty far with it. I have got Zoneminder installed on the RPi and i have the EC DC60 drivers install on the machine. (i can see the /dev/video0)
Thought i am having trouble with getting Zoneminder to see the video.

First thing in the logs i am getting this:

Code: Select all

Date/Time	Component	PID	Level	Message	File	Line
2012-08-21 14:26:30.382810	zmpkg	10422	INF	Command: start	zmpkg.pl	
2012-08-21 14:26:49.355810	zmdc	10436	INF	Server starting at 12/08/21 15:26:49	zmdc.pl	
2012-08-21 14:26:56.838550	zmdc	10436	INF	'zmfilter.pl' starting at 12/08/21 15:26:56, pid = 10459	zmdc.pl	
2012-08-21 14:26:56.850080	zmdc	10459	INF	'zmfilter.pl' started at 12/08/21 15:26:56	zmdc.pl	
2012-08-21 14:27:03.950520	zmdc	10436	INF	'zmaudit.pl -c' starting at 12/08/21 15:27:03, pid = 10463	zmdc.pl	
2012-08-21 14:27:03.980540	zmdc	10463	INF	'zmaudit.pl -c' started at 12/08/21 15:27:03	zmdc.pl	
2012-08-21 14:27:13.578490	zmfilter	10459	INF	Scanning for events	zmfilter.pl	
2012-08-21 14:27:14.380740	zmdc	10466	INF	'zmwatch.pl' started at 12/08/21 15:27:14	zmdc.pl	
2012-08-21 14:27:14.389200	zmdc	10436	INF	'zmwatch.pl' starting at 12/08/21 15:27:14, pid = 10466	zmdc.pl	
2012-08-21 14:27:22.032090	zmwatch	10466	INF	Watchdog starting	zmwatch.pl	
2012-08-21 14:27:22.052860	zmwatch	10466	INF	Watchdog pausing for 30 seconds	zmwatch.pl	
2012-08-21 14:27:22.320830	zmdc	10436	INF	'zmupdate.pl -c' starting at 12/08/21 15:27:22, pid = 10473	zmdc.pl	
2012-08-21 14:27:22.330860	zmdc	10473	INF	'zmupdate.pl -c' started at 12/08/21 15:27:22	zmdc.pl	
2012-08-21 14:27:40.228800	zmupdate	10473	INF	Checking for updates	zmupdate.pl	
2012-08-21 14:27:46.924920	zmupdate	10473	INF	Got version: '1.24.4'	zmupdate.pl	
2012-08-21 14:35:04.513730	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:35:04.676034	zmfix	10628	ERR	Can't chmod /dev/video0 to 21666: Operation not permitted	zmfix.cpp	127
2012-08-21 14:35:15.002260	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:35:16.322520	zmdc	10436	WAR	Can't find process with command of 'zmc -d /dev/video0'	zmdc.pl	
2012-08-21 14:35:20.882080	zmdc	10654	INF	'zmc -d /dev/video0' started at 12/08/21 15:35:20	zmdc.pl	
2012-08-21 14:35:20.884610	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:35:20, pid = 10654	zmdc.pl	
2012-08-21 14:35:27.092180	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:35:38.398898	zmc_dvideo0	10654	FAT	Can't find swscale format for palette 0	zm_local_camera.cpp	140
2012-08-21 14:35:41.927680	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:35:42.132840	zmdc	10436	INF	Can't find child with pid of '10437'	zmdc.pl	
2012-08-21 14:35:42.532140	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2012-08-21 14:35:42.552410	zmdc	10436	INF	Starting pending process, zmc -d /dev/video0	zmdc.pl	
2012-08-21 14:35:43.322010	zmdc	10662	INF	'zmc -d /dev/video0' started at 12/08/21 15:35:43	zmdc.pl	
2012-08-21 14:35:43.328320	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:35:43, pid = 10662	zmdc.pl	
2012-08-21 14:35:43.499850	zmdc	10436	WAR	Can't find process with command of 'zma -m 1'	zmdc.pl	
2012-08-21 14:35:48.542091	zmc_dvideo0	10662	FAT	Can't find swscale format for palette 0	zm_local_camera.cpp	140
2012-08-21 14:35:52.139070	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2012-08-21 14:35:52.536660	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:35:57.083830	zmdc	10436	INF	Starting pending process, zmc -d /dev/video0	zmdc.pl	
2012-08-21 14:35:57.882650	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:35:57, pid = 10669	zmdc.pl	
2012-08-21 14:35:57.900220	zmdc	10669	INF	'zmc -d /dev/video0' started at 12/08/21 15:35:57	zmdc.pl	
2012-08-21 14:36:02.712050	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:36:03.903343	zmc_dvideo0	10669	FAT	Can't find swscale format for palette 0	zm_local_camera.cpp	140
2012-08-21 14:36:04.874220	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2012-08-21 14:36:14.009890	zmdc	10436	INF	Starting pending process, zmc -d /dev/video0	zmdc.pl	
2012-08-21 14:36:14.089390	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:36:14, pid = 10683	zmdc.pl	
2012-08-21 14:36:14.100940	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:36:14.106840	zmdc	10683	INF	'zmc -d /dev/video0' started at 12/08/21 15:36:14	zmdc.pl	
2012-08-21 14:36:17.908582	zmc_dvideo0	10683	FAT	Can't find swscale format for palette 0	zm_local_camera.cpp	140
2012-08-21 14:36:20.547450	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2012-08-21 14:36:24.132910	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:36:34.145680	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:36:40.050570	zmdc	10436	INF	Starting pending process, zmc -d /dev/video0	zmdc.pl	
2012-08-21 14:36:40.145720	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:36:40, pid = 10684	zmdc.pl	
2012-08-21 14:36:40.150450	zmdc	10684	INF	'zmc -d /dev/video0' started at 12/08/21 15:36:40	zmdc.pl	
2012-08-21 14:36:42.253155	zmc_dvideo0	10684	FAT	Can't find swscale format for palette 0	zm_local_camera.cpp	140
2012-08-21 14:36:42.914530	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2012-08-21 14:36:44.159350	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:36:54.171140	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:37:04.181660	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:37:14.192160	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:37:22.063840	zmdc	10436	INF	Starting pending process, zmc -d /dev/video0	zmdc.pl	
2012-08-21 14:37:22.157740	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:37:22, pid = 10685	zmdc.pl	
2012-08-21 14:37:22.166190	zmdc	10685	INF	'zmc -d /dev/video0' started at 12/08/21 15:37:22	zmdc.pl	
2012-08-21 14:37:23.812721	zmc_dvideo0	10685	FAT	Can't find swscale format for palette 0	zm_local_camera.cpp	140
2012-08-21 14:37:24.393700	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:37:24.466870	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2012-08-21 14:37:34.584670	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:37:44.595990	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:37:54.606410	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:38:04.616870	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:38:14.627400	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:38:24.637980	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:38:34.648410	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:38:44.070220	zmdc	10436	INF	Starting pending process, zmc -d /dev/video0	zmdc.pl	
2012-08-21 14:38:44.166200	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:38:44, pid = 10686	zmdc.pl	
2012-08-21 14:38:44.172190	zmdc	10686	INF	'zmc -d /dev/video0' started at 12/08/21 15:38:44	zmdc.pl	
2012-08-21 14:38:44.661430	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:38:45.884291	zmc_dvideo0	10686	FAT	Can't find swscale format for palette 0	zm_local_camera.cpp	140
2012-08-21 14:38:46.557010	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2012-08-21 14:38:54.679570	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:39:04.696890	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:39:14.721600	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:39:24.734540	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:39:34.745100	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:39:44.755660	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:39:54.766200	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:40:04.776770	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:40:14.787400	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:40:24.798680	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:40:34.813790	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:40:44.835360	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:40:54.851920	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:41:00.381387	zmfix	10695	ERR	Can't chmod /dev/video0 to 21666: Operation not permitted	zmfix.cpp	127
2012-08-21 14:41:05.126180	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:41:12.782540	zmdc	10436	INF	Command 'zmc -d /dev/video0' removed from pending list at 12/08/21 15:41:12	zmdc.pl	
2012-08-21 14:41:15.516080	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:41:19.869660	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 15:41:19, pid = 10703	zmdc.pl	
2012-08-21 14:41:19.872890	zmdc	10703	INF	'zmc -d /dev/video0' started at 12/08/21 15:41:19	zmdc.pl	
2012-08-21 14:41:27.346110	zmwatch	10466	ERR	Can't open memory map file '/dev/shm/zm.mmap.1': No such file or directory	zmwatch.pl	
2012-08-21 14:41:38.185417	zmc_dvideo0	10703	INF	Starting Capture	zmc.cpp	191
2012-08-21 14:41:39.224754	zmc_dvideo0	10703	FAT	Failed to open video device /dev/video0: Permission denied	zm_local_camera.cpp	357
2012-08-21 14:41:39.916060	zmdc	10436	WAR	Can't find process with command of 'zma -m 1'	zmdc.pl	
2012-08-21 14:41:40.407120	zmwatch	10466	ERR	Shared data size conflict in shared_data for monitor picam, expected 328, got 316	zmwatch.pl	
2012-08-21 14:41:40.719690	zmdc	10436	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl
Then after that this line is repeated:

Code: Select all

2012-08-21 15:12:25.779950	zmwatch	10466	ERR	Shared data size conflict in shared_data for monitor picam, expected 328, got 316	zmwatch.pl	
2012-08-21 15:12:16.554480	zmdc	10436	INF	'zmc -d /dev/video0' crashed, signal 8	zmdc.pl	
2012-08-21 15:12:16.429220	zmdc	10436	INF	'zmc -d /dev/video0' starting at 12/08/21 16:12:16, pid = 10809	zmdc.pl	
2012-08-21 15:12:16.427600	zmdc	10809	INF	'zmc -d /dev/video0' started at 12/08/21 16:12:16	zmdc.pl	
2012-08-21 15:12:16.070320	zmdc	10436	INF	Starting pending process, zmc -d /dev/video0	zmdc.pl	
Does anyone have any ideas on the cause or ideas how to troubleshoot?

PS Has anyone managed to get Zoneminder working on the RPi?
wifiuk
Posts: 3
Joined: Tue Aug 28, 2012 9:30 am

Re: Raspberry Pi

Post by wifiuk »

im thinking of setting this up also on my Pi, but i am using 2 ip network foscams.

What linux you running on your Pi, i would love to get a headsup of what im about to get into...
Locked