my first post to this forum, but i bet not my last. i'll start by saying THANKS to all involved for what seems to be a fine ZM system and community.
it took me some time to get my Linksys WVC54GCA working whatsoever, but the IPNUMBER/img/mjpeg . cgi URL with 640x480 and shared memory config options (suggested by Brian Klug ) seem to be working, sort of.
if i restart the apache service, then start up the ZM service, i can reliably click on my camera and initially see its monitor. but after a short amount of time (30-90sec), the monitor window goes black. closing the window and reopening a monitor for the camera generally continues to be black. sometimes an image re-appears, but again hangs shortly afterwards.
i'm just getting to know ZM, but think i've set debug levels at a reasonable level (5, 9 was too much!) and looked in system messages,
* messages
zmdc.logJun 9 16:24:49 monk zmdc[13807]: INF [Server starting at 12/06/09 16:24:49]
Jun 9 16:24:53 monk zmdc[13807]: INF ['zmc -m 2' starting at 12/06/09 16:24:53, pid = 13829]
Jun 9 16:24:53 monk zmdc[13829]: INF ['zmc -m 2' started at 12/06/09 16:24:53]
Jun 9 16:24:53 monk zmc_m2[13829]: INF [Debug Level = 0, Debug Log = <none>]
Jun 9 16:24:53 monk zmc_m2[13829]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.13829]
Jun 9 16:24:53 monk zmc_m2[13829]: INF [Starting Capture]
Jun 9 16:24:53 monk zmdc[13807]: INF ['zma -m 2' starting at 12/06/09 16:24:53, pid = 13831]
Jun 9 16:24:53 monk zmdc[13831]: INF ['zma -m 2' started at 12/06/09 16:24:53]
Jun 9 16:24:53 monk zma_m2[13831]: INF [Debug Level = 0, Debug Log = <none>]
Jun 9 16:24:53 monk zma_m2[13831]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.13831]
Jun 9 16:24:53 monk zma_m2[13831]: WAR [Waiting for capture daemon]
Jun 9 16:24:53 monk zmdc[13807]: INF ['zmfilter.pl' starting at 12/06/09 16:24:53, pid = 13833]
Jun 9 16:24:53 monk zmdc[13833]: INF ['zmfilter.pl' started at 12/06/09 16:24:53]
Jun 9 16:24:53 monk zmdc[13807]: INF ['zmaudit.pl -c' starting at 12/06/09 16:24:53, pid = 13835]
Jun 9 16:24:53 monk zmdc[13835]: INF ['zmaudit.pl -c' started at 12/06/09 16:24:53]
Jun 9 16:24:53 monk zmdc[13807]: INF ['zmwatch.pl' starting at 12/06/09 16:24:53, pid = 13837]
Jun 9 16:24:53 monk zmdc[13837]: INF ['zmwatch.pl' started at 12/06/09 16:24:53]
Jun 9 16:24:53 monk zmfilter[13833]: INF [Scanning for events]
Jun 9 16:24:53 monk zmwatch[13837]: INF [Watchdog starting]
Jun 9 16:24:53 monk zmwatch[13837]: INF [Watchdog pausing for 30 seconds]
Jun 9 16:24:54 monk zma_m2[13831]: INF [In mode 5/1, warming up]
Jun 9 16:24:57 monk zma_m2[13831]: INF [mobyCam1: 026 - Opening new event 40, section start]
Jun 9 16:25:46 monk zmdc[13807]: INF [Starting pending process, zmc -m 2]
Jun 9 16:25:46 monk zmdc[13807]: INF ['zmc -m 2' starting at 12/06/09 16:25:46, pid = 13860]
Jun 9 16:25:46 monk zmdc[13860]: INF ['zmc -m 2' started at 12/06/09 16:25:46]
Jun 9 16:25:46 monk zmc_m2[13860]: INF [Debug Level = 0, Debug Log = <none>]
Jun 9 16:25:46 monk zmc_m2[13860]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.13860]
Jun 9 16:25:46 monk zmc_m2[13860]: INF [Starting Capture]
Jun 9 16:26:04 monk zms[13868]: INF [Debug Level = 0, Debug Log = <none>]
Jun 9 16:26:04 monk zms[13868]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.13868]
* Jun 9 16:26:15 monk zms[13868]: WAR [Unable to store frame as shared memory invalid]
Jun 9 16:26:20 monk zmdc[13807]: INF [Starting pending process, zmc -m 2]
Jun 9 16:26:20 monk zmdc[13807]: INF ['zmc -m 2' starting at 12/06/09 16:26:20, pid = 13872]
Jun 9 16:26:20 monk zmdc[13872]: INF ['zmc -m 2' started at 12/06/09 16:26:20]
Jun 9 16:26:20 monk zmc_m2[13872]: INF [Debug Level = 0, Debug Log = <none>]
Jun 9 16:26:20 monk zmc_m2[13872]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.13872]
Jun 9 16:26:20 monk zmc_m2[13872]: INF [Starting Capture]
* Jun 9 16:26:20 monk zms[13868]: WAR [Unable to store frame as timestamp invalid]
* Jun 9 16:27:34 monk zms[13868]: WAR [Unable to store frame as shared memory invalid]
Jun 9 16:27:44 monk zmdc[13807]: INF [Starting pending process, zmc -m 2]
...
(based on the messages, i first went looking in zm_debug.log.13868, but it begins at 16:26:04?06/09/2012 16:24:49.981502 zmdc[13807].INF [Server starting at 12/06/09 16:24:49]
06/09/2012 16:24:53.096136 zmdc[13807].INF ['zmc -m 2' starting at 12/06/09 16:24:53, pid = 13829]
06/09/2012 16:24:53.190788 zmdc[13807].INF ['zma -m 2' starting at 12/06/09 16:24:53, pid = 13831]
06/09/2012 16:24:53.281671 zmdc[13807].INF ['zmfilter.pl' starting at 12/06/09 16:24:53, pid = 13833]
06/09/2012 16:24:53.376489 zmdc[13807].INF ['zmaudit.pl -c' starting at 12/06/09 16:24:53, pid = 13835]
06/09/2012 16:24:53.491164 zmdc[13807].INF ['zmwatch.pl' starting at 12/06/09 16:24:53, pid = 13837]
06/09/2012 16:25:46.002677 zmdc[13807].ERR ['zmc -m 2' exited abnormally, exit status 255]
06/09/2012 16:25:46.002921 zmdc[13807].INF [Starting pending process, zmc -m 2]
06/09/2012 16:25:46.003738 zmdc[13807].INF ['zmc -m 2' starting at 12/06/09 16:25:46, pid = 13860]
06/09/2012 16:26:15.972613 zmdc[13807].ERR ['zmc -m 2' exited abnormally, exit status 255]
...
at first i thought the debug file names were associated with processIDs, but perhaps not? )
i did find some postings in the right time period in:
* zm_debug.log.13831:
...
later, and perhaps unrelated messages:06/09/12 16:25:42.638908 zma_m2[-1].DB5-zm_zone.cpp/152 [Checking for alarmed pixels]
06/09/12 16:25:42.639190 zma_m2[-1].DB5-zm_zone.cpp/214 [Got 0 alarmed pixels, need 4904 -> 0, avg pixel diff 0]
06/09/12 16:25:42.639200 zma_m2[-1].DB1-zm_event.cpp/515 [Writing capture frame 251]
06/09/12 16:25:42.719627 zma_m2[-1].DB4-zm_monitor.cpp/1055 [RI:38, WI: 39, PF = 1, RM = 39, Step = 1]
06/09/12 16:25:42.723564 zma_m2[-1].DB3-zm_monitor.cpp/2663 [Blanking inactive zone All]
06/09/12 16:25:42.725079 zma_m2[-1].DB3-zm_monitor.cpp/2704 [Checking active zone thruDoors]
06/09/12 16:25:42.725148 zma_m2[-1].DB4-zm_zone.cpp/150 [Checking alarms for zone 3/thruDoors in lines 103 -> 479]
06/09/12 16:25:42.725154 zma_m2[-1].DB5-zm_zone.cpp/152 [Checking for alarmed pixels]
06/09/12 16:25:42.725436 zma_m2[-1].DB5-zm_zone.cpp/214 [Got 0 alarmed pixels, need 4904 -> 0, avg pixel diff 0]
06/09/12 16:25:42.725446 zma_m2[-1].DB1-zm_event.cpp/515 [Writing capture frame 252]
(no reports near the ERR report time of 16:25:46.002677 in zmdc.log ??)
06/09/12 16:25:55.447195 zma_m2[-1].DB4-zm_monitor.cpp/1055 [RI:40, WI: 0, PF = 0, RM = 40, Step = 1]
06/09/12 16:25:55.460200 zma_m2[-1].DB3-zm_monitor.cpp/2663 [Blanking inactive zone All]
06/09/12 16:25:55.461737 zma_m2[-1].DB3-zm_monitor.cpp/2704 [Checking active zone thruDoors]
06/09/12 16:25:55.461809 zma_m2[-1].DB4-zm_zone.cpp/150 [Checking alarms for zone 3/thruDoors in lines 103 -> 479]
06/09/12 16:25:55.461816 zma_m2[-1].DB5-zm_zone.cpp/152 [Checking for alarmed pixels]
...
* zm_debug.log.13950
i should also say that the IPNUMBER/img/mjpeg.cgi URL continues to work fine direclty from a browser throughout. also, the WVC54GCA also maintains a basic log showing basic06/09/12 16:39:55.047059 zmc_m2[-1].DB3-zm_remote_camera_http.cpp/1004 [Returning 37821 (37908) bytes of captured content]
06/09/12 16:39:55.056645 zmc_m2[-1].DB4-zm_remote_camera_http.cpp/834 [Got boundary subheader '--ThisRandomString
Content-Type: image/jpeg
Content-Length: 37833
X-TimeStamp: 898s:t5x ~.^"#SI6]ܱVvQ<:GRAqÖfl.-8N<E"4i&"]ENH'YK];H"ZE0nGZw+KeQN?s/'A[p/7']
06/09/12 16:39:55.056662 zmc_m2[-1].DB4-zm_remote_camera_http.cpp/846 [Got content type subheader ' image/jpeg']
06/09/12 16:39:55.056672 zmc_m2[-1].DB4-zm_remote_camera_http.cpp/840 [Got content length subheader ' 37833']
06/09/12 16:39:55.056682 zmc_m2[-1].DB3-zm_remote_camera_http.cpp/885 [Unable to extract subheader from stream, retrying]
Code: Select all
HTTP: Streaming start (HTTP: 192.168.1.72, anonymous)
HTTP: Streaming end (HTTP: 192.168.1.72, anonymous).
let me know how i else i might be able to help you help me, and thanks for any hints.
rik