[solved]zmpkg.pl change running state does not start all cam
Posted: Wed Jun 17, 2009 3:13 am
I have a ZM 1.24.1 installed from source on Debian Stable 64 5.0.1 , my problem is that when I change states from cron it makes all the changes right, but does not starts recording for all cameras.
Example:
I have mocord at night, then in the morning I change the state to record. So 3 of my 4 cameras create a new event and start recording, but 1 of them shows no new event until I change iit's function manually to monitor and then back to record.
Sometimes it happens with 1 camera and sometimes with 2 or 3.
Specs:
- All are network cameras, and cameras do not truncate the stream as I already tested it.
- Dedicated System running with 4GB of RAM using 640x480 color images.
- 2 axis 206 and 2 panasonic BLC1A
This is my system log just after I change running state from web console:
As you can see, it simply does not initiate a new event for my 4th monitor. And there are no error logs after that.
my free -m output:
Any toughts?
Thanks in advanced!!
Example:
I have mocord at night, then in the morning I change the state to record. So 3 of my 4 cameras create a new event and start recording, but 1 of them shows no new event until I change iit's function manually to monitor and then back to record.
Sometimes it happens with 1 camera and sometimes with 2 or 3.
Specs:
- All are network cameras, and cameras do not truncate the stream as I already tested it.
- Dedicated System running with 4GB of RAM using 640x480 color images.
- 2 axis 206 and 2 panasonic BLC1A
This is my system log just after I change running state from web console:
Code: Select all
Jun 16 21:03:23 zm zmpkg[8636]: INF [Command: state]
Jun 16 21:03:23 zm zmpkg[8636]: INF [Updating DB: Grabacion]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 1' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zma_m1[8187]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zma_m1[8187]: INF [Despacho-206M: 26799 - Closing event 1357472, shutting down]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 1' exited normally]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmaudit.pl -c' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmaudit.pl -c' exited, signal 14]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 4' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zma_m4[8178]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zma_m4[8178]: INF [parqueo-panasonic: 13814 - Closing event 1357471, shutting down]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 4' exited normally]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmfilter.pl ' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmfilter.pl ' exited, signal 14]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmc -m 3' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmc_m3[8171]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zmc_m3[8171]: ERR [Select error: Interrupted system call]
Jun 16 21:03:23 zm zmc_m3[8171]: ERR [Unable to get response]
Jun 16 21:03:23 zm zmc_m3[8171]: ERR [Failed to capture image from monitor 3 (0/1)]
Jun 16 21:03:23 zm zmdc[8139]: ERR ['zmc -m 3' exited abnormally, exit status 255]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 3' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zma_m3[8174]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 3' exited normally]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 2' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zma_m2[8385]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zma_m2[8385]: INF [Atras-206: 4918 - Closing event 1357473, shutting down]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zma -m 2' exited normally]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmwatch.pl ' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmwatch.pl ' exited, signal 14]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmc -m 2' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmc_m2[8166]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zmc_m2[8166]: ERR [Select error: Interrupted system call]
Jun 16 21:03:23 zm zmc_m2[8166]: ERR [Unable to get response]
Jun 16 21:03:23 zm zmc_m2[8166]: ERR [Failed to capture image from monitor 2 (0/1)]
Jun 16 21:03:23 zm zmdc[8139]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmupdate.pl -c' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmupdate.pl -c' exited, signal 14]
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmc -m 1' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmc_m1[8161]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zmc_m1[8161]: ERR [Select error: Interrupted system call]
Jun 16 21:03:23 zm zmc_m1[8161]: ERR [Unable to read content]
Jun 16 21:03:23 zm zmc_m1[8161]: ERR [Unable to get response]
Jun 16 21:03:23 zm zmc_m1[8161]: ERR [Failed to capture image from monitor 1 (0/1)]
Jun 16 21:03:23 zm zmdc[8139]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Jun 16 21:03:23 zm zmdc[8139]: WAR [Can't find process with command of 'zma -m 2']
Jun 16 21:03:23 zm zmdc[8139]: INF ['zmc -m 4' stopping at 09/06/16 21:03:23]
Jun 16 21:03:23 zm zmc_m4[8176]: INF [Got signal 15 (Terminated), exiting]
Jun 16 21:03:23 zm zmc_m4[8176]: ERR [Select error: Interrupted system call]
Jun 16 21:03:23 zm zmc_m4[8176]: ERR [Unable to read content]
Jun 16 21:03:23 zm zmc_m4[8176]: ERR [Unable to get response]
Jun 16 21:03:23 zm zmc_m4[8176]: ERR [Failed to capture image from monitor 4 (0/1)]
Jun 16 21:03:23 zm zmdc[8139]: ERR ['zmc -m 4' exited abnormally, exit status 255]
Jun 16 21:03:33 zm zmdc[8139]: INF [Server shutdown at 09/06/16 21:03:33]
Jun 16 21:03:33 zm zmfix[8667]: ERR [Can't stat : No such file or directory]
Jun 16 21:03:34 zm zmdc[8669]: INF [Server starting at 09/06/16 21:03:34]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zmc -m 1' starting at 09/06/16 21:03:37, pid = 8691]
Jun 16 21:03:37 zm zmdc[8691]: INF ['zmc -m 1' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zmc_m1[8691]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zmdc[8693]: INF ['zma -m 1' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zma -m 1' starting at 09/06/16 21:03:37, pid = 8693]
Jun 16 21:03:37 zm zma_m1[8693]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zma_m1[8693]: ERR [Shared data not initialised by capture daemon]
Jun 16 21:03:37 zm zmdc[8669]: ERR ['zma -m 1' exited abnormally, exit status 255]
Jun 16 21:03:37 zm zmdc[8669]: INF [Starting pending process, zma -m 1]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zma -m 1' starting at 09/06/16 21:03:37, pid = 8695]
Jun 16 21:03:37 zm zmc_m1[8691]: INF [Starting Capture]
Jun 16 21:03:37 zm zmdc[8695]: INF ['zma -m 1' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zma_m1[8695]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zma_m1[8695]: WAR [Waiting for capture daemon]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zmc -m 2' starting at 09/06/16 21:03:37, pid = 8696]
Jun 16 21:03:37 zm zmdc[8696]: INF ['zmc -m 2' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zmc_m2[8696]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zmdc[8698]: INF ['zma -m 2' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zma -m 2' starting at 09/06/16 21:03:37, pid = 8698]
Jun 16 21:03:37 zm zma_m2[8698]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zma_m2[8698]: ERR [Shared data not initialised by capture daemon]
Jun 16 21:03:37 zm zmdc[8669]: ERR ['zma -m 2' exited abnormally, exit status 255]
Jun 16 21:03:37 zm zmdc[8669]: INF [Starting pending process, zma -m 2]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zma -m 2' starting at 09/06/16 21:03:37, pid = 8700]
Jun 16 21:03:37 zm zmc_m2[8696]: INF [Starting Capture]
Jun 16 21:03:37 zm zmdc[8700]: INF ['zma -m 2' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zma_m2[8700]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zma_m2[8700]: WAR [Waiting for capture daemon]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zmc -m 3' starting at 09/06/16 21:03:37, pid = 8701]
Jun 16 21:03:37 zm zmdc[8701]: INF ['zmc -m 3' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zmc_m3[8701]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zmdc[8703]: INF ['zma -m 3' started at 09/06/16 21:03:37]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zma -m 3' starting at 09/06/16 21:03:37, pid = 8703]
Jun 16 21:03:37 zm zma_m3[8703]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:37 zm zma_m3[8703]: ERR [Shared data not initialised by capture daemon]
Jun 16 21:03:37 zm zmdc[8669]: ERR ['zma -m 3' exited abnormally, exit status 255]
Jun 16 21:03:37 zm zmdc[8669]: INF [Starting pending process, zma -m 3]
Jun 16 21:03:37 zm zmdc[8669]: INF ['zma -m 3' starting at 09/06/16 21:03:37, pid = 8705]
Jun 16 21:03:38 zm zmdc[8705]: INF ['zma -m 3' started at 09/06/16 21:03:38]
Jun 16 21:03:38 zm zma_m3[8705]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:38 zm zmc_m3[8701]: INF [Starting Capture]
Jun 16 21:03:38 zm zma_m3[8705]: WAR [Waiting for capture daemon]
Jun 16 21:03:38 zm zmdc[8669]: INF ['zmc -m 4' starting at 09/06/16 21:03:38, pid = 8706]
Jun 16 21:03:38 zm zmdc[8706]: INF ['zmc -m 4' started at 09/06/16 21:03:38]
Jun 16 21:03:38 zm zmc_m4[8706]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:38 zm zmdc[8708]: INF ['zma -m 4' started at 09/06/16 21:03:38]
Jun 16 21:03:38 zm zma_m4[8708]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 21:03:38 zm zma_m4[8708]: ERR [Shared data not initialised by capture daemon]
Jun 16 21:03:38 zm zmdc[8669]: INF [Can't find child with pid of '8708']
Jun 16 21:03:38 zm zmdc[8669]: INF ['zma -m 4' starting at 09/06/16 21:03:38, pid = 8708]
Jun 16 21:03:38 zm zmc_m4[8706]: INF [Starting Capture]
Jun 16 21:03:38 zm zmdc[8669]: INF ['zmfilter.pl' starting at 09/06/16 21:03:38, pid = 8710]
Jun 16 21:03:38 zm zmdc[8710]: INF ['zmfilter.pl' started at 09/06/16 21:03:38]
Jun 16 21:03:38 zm zma_m1[8695]: INF [In mode 4/1, warming up]
Jun 16 21:03:38 zm zmdc[8713]: INF ['zmaudit.pl -c' started at 09/06/16 21:03:38]
Jun 16 21:03:38 zm zmdc[8669]: INF ['zmaudit.pl -c' starting at 09/06/16 21:03:38, pid = 8713]
Jun 16 21:03:38 zm zmfilter[8710]: INF [Scanning for events]
Jun 16 21:03:38 zm zmdc[8715]: INF ['zmwatch.pl' started at 09/06/16 21:03:38]
Jun 16 21:03:38 zm zma_m2[8700]: INF [In mode 4/1, warming up]
Jun 16 21:03:38 zm zmdc[8669]: INF ['zmwatch.pl' starting at 09/06/16 21:03:38, pid = 8715]
Jun 16 21:03:39 zm zmwatch[8715]: INF [Watchdog starting]
Jun 16 21:03:39 zm zmwatch[8715]: INF [Watchdog pausing for 30 seconds]
Jun 16 21:03:39 zm zmdc[8718]: INF ['zmupdate.pl -c' started at 09/06/16 21:03:39]
Jun 16 21:03:39 zm zmdc[8669]: INF ['zmupdate.pl -c' starting at 09/06/16 21:03:39, pid = 8718]
Jun 16 21:03:39 zm zma_m3[8705]: INF [In mode 4/1, warming up]
Jun 16 21:03:43 zm zmfilter[8710]: INF [Deleting event 1357468]
Jun 16 21:03:43 zm zmfilter[8710]: INF [Deleting event 1357469]
Jun 16 21:03:43 zm zmfilter[8710]: INF [Deleting event 1357470]
Jun 16 21:03:43 zm zmfilter[8710]: INF [Deleting event 1357471]
Jun 16 21:03:43 zm zmfilter[8710]: INF [Deleting event 1357472]
Jun 16 21:03:43 zm zmfilter[8710]: INF [Deleting event 1357473]
Jun 16 21:03:43 zm zma_m1[8695]: INF [Despacho-206M: 026 - Opening new event 1357474, section start]
Jun 16 21:03:48 zm zma_m2[8700]: INF [Atras-206: 026 - Opening new event 1357475, section start]
Jun 16 21:03:49 zm zma_m3[8705]: INF [bodega-panasonic: 026 - Opening new event 1357476, section start]
my free -m output:
Code: Select all
total used free shared buffers cached
Mem: 3297 3159 137 0 85 2766
-/+ buffers/cache: 307 2989
Swap: 3812 0 3812
Thanks in advanced!!