Frustrating Setup With ZM :)
Posted: Sat Aug 07, 2004 6:58 am
Heya,
I had a shared memory problem, found the FAQ documentation to fix. Fixed that. Then i found that i was missing libpcre.a installed pcre-devel. Got that fixed.
But this Last Bit has me confused.
I cant get my remote cameras to auth and grab the image, and i made a dummy web cam thing with a remote apache webserver with a static image, and it doesnt even pull that image. I cant find out much information with the log files.
Many Thanks, Israel
I had a shared memory problem, found the FAQ documentation to fix. Fixed that. Then i found that i was missing libpcre.a installed pcre-devel. Got that fixed.
But this Last Bit has me confused.
Code: Select all
==> ../../tmp/zmpkg.log <==
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
Executing: /usr/local/bin/zmdc.pl start zmc -m 4
==> messages <==
Aug 6 23:51:59 sandbox2 zmc-m4[3805]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:51:59 sandbox2 zmc-m4[3805]: INF [Starting Capture]
Aug 6 23:51:59 sandbox2 zmc-m3[3809]: INF [Debug Level = 0, Debug Log = ]
==> ../../tmp/zmdc.log <==
'zmc -m 4' starting at 04/08/06 23:51:59, pid = 3805
'zmc -m 4' started at 04/08/06 23:51:59
'zmc -m 3' started at 04/08/06 23:51:59
'zmc -m 3' starting at 04/08/06 23:51:59, pid = 3809
==> ../../tmp/zmpkg.log <==
Executing: /usr/local/bin/zmdc.pl start zmc -m 3
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
==> messages <==
Aug 6 23:52:00 sandbox2 zmc-m3[3809]: INF [Starting Capture]
==> ../../tmp/zmdc.log <==
'zmfilter.pl' started at 04/08/06 23:52:00
'zmfilter.pl' starting at 04/08/06 23:52:00, pid = 3813
==> ../../tmp/zmpkg.log <==
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
==> messages <==
Aug 6 23:52:01 sandbox2 zmc-m4[3819]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:52:01 sandbox2 zmc-m4[3819]: INF [Starting Capture]
==> ../../tmp/zmdc.log <==
'zmaudit.pl -d 900 -y' started at 04/08/06 23:52:01
'zmaudit.pl -d 900 -y' starting at 04/08/06 23:52:01, pid = 3817
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 4' died at 04/08/06 23:52:01, signal 6
'zmc -m 4' started at 04/08/06 23:52:01
'zmc -m 4' starting at 04/08/06 23:52:01, pid = 3819
'zmwatch.pl' starting at 04/08/06 23:52:01, pid = 3824
'zmwatch.pl' started at 04/08/06 23:52:01
==> ../../tmp/zmpkg.log <==
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
Executing: /usr/local/bin/zmdc.pl start zmupdate.pl -c
==> ../../tmp/zmdc.log <==
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 4' died at 04/08/06 23:52:02, signal 6
'zmupdate.pl -c' started at 04/08/06 23:52:02
'zmupdate.pl -c' starting at 04/08/06 23:52:02, pid = 3830
==> ../../tmp/zmwatch.log <==
Watchdog starting at 04/08/06 23:52:02
Watchdog pausing for 30 seconds
==> messages <==
Aug 6 23:52:03 sandbox2 zmc-m3[3809]: ERR [Select timed out]
==> ../../tmp/zmfilter.log <==
Scanning for events
==> ../../tmp/zmupdate.log <==
Update agent starting at 04/08/06 23:52:03
==> messages <==
Aug 6 23:52:09 sandbox2 last message repeated 3 times
Aug 6 23:52:09 sandbox2 zmc-m4[3856]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:52:09 sandbox2 zmc-m4[3856]: INF [Starting Capture]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:52:09
'zmc -m 4' starting at 04/08/06 23:52:09, pid = 3856
==> messages <==
Aug 6 23:52:11 sandbox2 zmc-m4[3856]: ERR [Select timed out]
Aug 6 23:52:13 sandbox2 zmc-m3[3809]: ERR [Select timed out]
Aug 6 23:52:13 sandbox2 zmc-m4[3856]: ERR [Select timed out]
==> ../../tmp/zmdc.log <==
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 4' died at 04/08/06 23:52:14, signal 6
==> messages <==
Aug 6 23:52:15 sandbox2 zmc-m3[3809]: ERR [Select timed out]
Aug 6 23:52:23 sandbox2 last message repeated 4 times
Aug 6 23:52:24 sandbox2 zmc-m4[3886]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:52:24 sandbox2 zmc-m4[3886]: INF [Starting Capture]
Aug 6 23:52:25 sandbox2 zmc-m3[3809]: ERR [Select timed out]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:52:24
'zmc -m 4' starting at 04/08/06 23:52:24, pid = 3886
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 4' died at 04/08/06 23:52:26, signal 6
==> messages <==
Aug 6 23:52:27 sandbox2 zms[3893]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:52:27 sandbox2 zmc-m3[3809]: ERR [Select timed out]
Aug 6 23:52:31 sandbox2 last message repeated 2 times
Aug 6 23:52:33 sandbox2 zmc-m3[3809]: INF [Got TERM signal, exiting]
Aug 6 23:52:33 sandbox2 zmc-m3[3809]: ERR [Select error: Interrupted system call]
Aug 6 23:52:33 sandbox2 zmc-m3[3914]: INF [Debug Level = 0, Debug Log = ]
==> ../../tmp/zmdc.log <==
'zmc -m 3' stopping at 04/08/06 23:52:33
'zmc -m 3' died at 04/08/06 23:52:33
'zmc -m 3' started at 04/08/06 23:52:33
'zmc -m 3' starting at 04/08/06 23:52:33, pid = 3914
==> ../../tmp/zmwatch.log <==
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -m 3'), time since last capture 21 seconds (1091861552-1091861531)
'zmc -m 3' started at 04/08/06 23:52:33
'zmc -m 3' starting at 04/08/06 23:52:33, pid = 3914
==> messages <==
Aug 6 23:52:33 sandbox2 zmc-m3[3914]: INF [Starting Capture]
Aug 6 23:52:35 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:52:45 sandbox2 last message repeated 5 times
Aug 6 23:52:46 sandbox2 zmc-m4[3952]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:52:46 sandbox2 zmc-m4[3952]: INF [Starting Capture]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:52:46
'zmc -m 4' starting at 04/08/06 23:52:46, pid = 3952
==> messages <==
Aug 6 23:52:48 sandbox2 zmc-m3[3914]: ERR [Select timed out]
==> ../../tmp/zmdc.log <==
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 4' died at 04/08/06 23:52:47, signal 6
==> messages <==
Aug 6 23:53:20 sandbox2 last message repeated 16 times
Aug 6 23:53:22 sandbox2 zmfix[4017]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:22 sandbox2 zmc-m3[3914]: ERR [Select timed out]
==> ../../tmp/zmdc.log <==
Command 'zmc -m 4' removed from pending list at 04/08/06 23:53:22
==> messages <==
Aug 6 23:53:23 sandbox2 zmc-m4[4025]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:23 sandbox2 zmc-m4[4025]: ERR [Can't shmget: Invalid argument]
Aug 6 23:53:23 sandbox2 zmc-m4[4029]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:23 sandbox2 zmc-m4[4029]: ERR [Can't shmget: Invalid argument]
==> ../../tmp/zmdc.log <==
'zmc -m 4' started at 04/08/06 23:53:23
'zmc -m 4' starting at 04/08/06 23:53:23, pid = 4025
'zmc -m 4' crashed at 04/08/06 23:53:23, exit status 255
'zmc -m 4' started at 04/08/06 23:53:23
'zmc -m 4' starting at 04/08/06 23:53:23, pid = 4029
'zmc -m 4' crashed at 04/08/06 23:53:23, exit status 255
Can't find process with command of 'zma -m 4'
==> messages <==
Aug 6 23:53:24 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:53:30 sandbox2 last message repeated 3 times
Aug 6 23:53:30 sandbox2 zmc-m4[4056]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:30 sandbox2 zmc-m4[4056]: ERR [Can't shmget: Invalid argument]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:53:30
'zmc -m 4' starting at 04/08/06 23:53:30, pid = 4056
'zmc -m 4' crashed at 04/08/06 23:53:30, exit status 255
==> messages <==
Aug 6 23:53:32 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:53:32 sandbox2 zms[4061]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:32 sandbox2 zms[4065]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:32 sandbox2 zms[4065]: ERR [Can't shmget: Invalid argument]
Aug 6 23:53:34 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:53:38 sandbox2 last message repeated 2 times
Aug 6 23:53:40 sandbox2 zmc-m4[4084]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:40 sandbox2 zmc-m4[4084]: ERR [Can't shmget: Invalid argument]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:53:40
'zmc -m 4' starting at 04/08/06 23:53:40, pid = 4084
'zmc -m 4' crashed at 04/08/06 23:53:40, exit status 255
==> messages <==
Aug 6 23:53:40 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:53:50 sandbox2 last message repeated 5 times
Aug 6 23:53:50 sandbox2 zms[4123]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:52 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:53:52 sandbox2 zms[4129]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:54 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:53:54 sandbox2 zms[4136]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:53:56 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:54:00 sandbox2 last message repeated 2 times
Aug 6 23:54:01 sandbox2 zmc-m4[4161]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:54:01 sandbox2 zmc-m4[4161]: ERR [Can't shmget: Invalid argument]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:54:01
'zmc -m 4' starting at 04/08/06 23:54:01, pid = 4161
'zmc -m 4' crashed at 04/08/06 23:54:01, exit status 255
==> messages <==
Aug 6 23:54:02 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:54:34 sandbox2 last message repeated 16 times
Aug 6 23:54:40 sandbox2 last message repeated 3 times
Aug 6 23:54:42 sandbox2 zmc-m4[4235]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:54:42 sandbox2 zmc-m4[4235]: ERR [Can't shmget: Invalid argument]
Aug 6 23:54:42 sandbox2 zmc-m3[3914]: ERR [Select timed out]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:54:42
'zmc -m 4' starting at 04/08/06 23:54:42, pid = 4235
'zmc -m 4' crashed at 04/08/06 23:54:42, exit status 255
==> messages <==
Aug 6 23:55:14 sandbox2 last message repeated 16 times
Aug 6 23:55:54 sandbox2 last message repeated 20 times
Aug 6 23:55:55 sandbox2 zms[4374]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:55:55 sandbox2 zms[4374]: ERR [Can't shmget: Invalid argument]
Aug 6 23:55:56 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:56:01 sandbox2 last message repeated 2 times
Aug 6 23:56:03 sandbox2 zmc-m4[4394]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:56:03 sandbox2 zmc-m4[4394]: ERR [Can't shmget: Invalid argument]
Aug 6 23:56:03 sandbox2 zmc-m3[3914]: ERR [Select timed out]
==> ../../tmp/zmdc.log <==
Starting pending process, zmc -m 4
'zmc -m 4' started at 04/08/06 23:56:02
'zmc -m 4' starting at 04/08/06 23:56:03, pid = 4394
'zmc -m 4' crashed at 04/08/06 23:56:03, exit status 255
==> messages <==
Aug 6 23:56:35 sandbox2 last message repeated 16 times
Aug 6 23:57:05 sandbox2 last message repeated 15 times
Aug 6 23:57:06 sandbox2 zmfix[4503]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:57:07 sandbox2 zmc-m3[3914]: ERR [Select timed out]
==> ../../tmp/zmdc.log <==
Can't find process with command of 'zmc -m 5'
Can't find process with command of 'zma -m 5'
==> messages <==
Aug 6 23:57:17 sandbox2 last message repeated 5 times
Aug 6 23:57:19 sandbox2 zms[4547]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:57:19 sandbox2 zms[4547]: ERR [Shared memory not initialised by capture daemon]
Aug 6 23:57:19 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:57:25 sandbox2 last message repeated 3 times
Aug 6 23:57:27 sandbox2 zms[4574]: INF [Debug Level = 0, Debug Log = ]
Aug 6 23:57:27 sandbox2 zms[4574]: ERR [Shared memory not initialised by capture daemon]
Aug 6 23:57:27 sandbox2 zmc-m3[3914]: ERR [Select timed out]
Aug 6 23:57:59 sandbox2 last message repeated 16 times
I cant get my remote cameras to auth and grab the image, and i made a dummy web cam thing with a remote apache webserver with a static image, and it doesnt even pull that image. I cant find out much information with the log files.
Many Thanks, Israel