ZMDC restarting every 10 seconds
ZMDC restarting every 10 seconds
For some reason my capture dameon is restarting every 10 seconds. I just installed Fedora Core 4 and then installed 1.21.1. My network video capture is working correctly, but only updates once every 10 seconds. I installed 1.21.0 just for kicks and it works like a charm, so the problem is particular to 1.21.1.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Here are the interesting logs:
==> zmdc.log <==
'zmc -m 1' stopping at 05/06/15 19:59:35
'zmc -m 1' died at 05/06/15 19:59:35
'zmc -m 1' started at 05/06/15 19:59:35
'zmc -m 1' starting at 05/06/15 19:59:35, pid = 17157
==> zmwatch.log <==
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -m 1'), time since last capture 9 seconds (1118879974-1118879965)
'zmc -m 1' started at 05/06/15 19:59:35
'zmc -m 1' starting at 05/06/15 19:59:35, pid = 17157
and then /var/log/messages that coinicides with the event
Jun 15 20:00:16 localhost zmc_m1[17587]: INF [Got TERM signal, exiting]
Jun 15 20:00:16 localhost zmc_m1[17587]: ERR [Select error: Interrupted system call]
Jun 15 20:00:16 localhost zmc_m1[17723]: INF [Debug Level = 0, Debug Log = <none>]
Jun 15 20:00:16 localhost zmc_m1[17723]: INF [Starting Capture]
That's all I get. That and when I view the monitor I see 0.00fps and the one shot per ten seconds in the montage.
==> zmdc.log <==
'zmc -m 1' stopping at 05/06/15 19:59:35
'zmc -m 1' died at 05/06/15 19:59:35
'zmc -m 1' started at 05/06/15 19:59:35
'zmc -m 1' starting at 05/06/15 19:59:35, pid = 17157
==> zmwatch.log <==
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -m 1'), time since last capture 9 seconds (1118879974-1118879965)
'zmc -m 1' started at 05/06/15 19:59:35
'zmc -m 1' starting at 05/06/15 19:59:35, pid = 17157
and then /var/log/messages that coinicides with the event
Jun 15 20:00:16 localhost zmc_m1[17587]: INF [Got TERM signal, exiting]
Jun 15 20:00:16 localhost zmc_m1[17587]: ERR [Select error: Interrupted system call]
Jun 15 20:00:16 localhost zmc_m1[17723]: INF [Debug Level = 0, Debug Log = <none>]
Jun 15 20:00:16 localhost zmc_m1[17723]: INF [Starting Capture]
That's all I get. That and when I view the monitor I see 0.00fps and the one shot per ten seconds in the montage.
After watching the logs scroll by for about 5 minutes I noticed this in /var/logs/messages, a continueing stream of these messages:
Jun 15 20:02:40 localhost zmc_m1[17157]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:41 localhost zmc_m1[17836]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:41 localhost zmc_m1[18121]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:42 localhost zmc_m1[17157]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:42 localhost zmc_m1[17836]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:43 localhost zmc_m1[18121]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:43 localhost zmc_m1[17157]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:40 localhost zmc_m1[17157]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:41 localhost zmc_m1[17836]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:41 localhost zmc_m1[18121]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:42 localhost zmc_m1[17157]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:42 localhost zmc_m1[17836]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:43 localhost zmc_m1[18121]: ERR [Unable to extract HTTP status from header]
Jun 15 20:02:43 localhost zmc_m1[17157]: ERR [Unable to extract HTTP status from header]
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi jet.
Just define a higher debug level via enviroment variable, like this:
export ZM_DBG_LEVEL_zmc=4
Phil, I have seen in the manual, that you can set the debug level via signals - does it mean you can kill -(something) zmc, and it will change the debug level on fly? What is the correct command form of "kill" then it should be?
Just define a higher debug level via enviroment variable, like this:
export ZM_DBG_LEVEL_zmc=4
Phil, I have seen in the manual, that you can set the debug level via signals - does it mean you can kill -(something) zmc, and it will change the debug level on fly? What is the correct command form of "kill" then it should be?
Okay zmc -m 1 (my only monitor) at debug level 4 puts a fast stream of this into the zmcd.log file
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Expecting 1460 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Read 1460 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Unable to extract subheader from stream, retrying]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Expecting 134 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Read 134 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Unable to extract subheader from stream, retrying]
I'm using a DCS-900 which I've never had problems with before and still works fine with 1.21.0
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Expecting 1460 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Read 1460 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Unable to extract subheader from stream, retrying]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Expecting 134 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Read 134 bytes]
Jun 16 09:20:42 localhost zmc_m1[28486]: DB3 [Unable to extract subheader from stream, retrying]
I'm using a DCS-900 which I've never had problems with before and still works fine with 1.21.0
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
With zmc started manually with debug level 4 and the rest of the processes started via the web gui here is an except from tail -f /tmp/*.log
==> zmdc.log <==
'zmc -m 1' stopping at 05/06/17 12:31:18
'zmc -m 1' died at 05/06/17 12:31:18
'zmc -m 1' started at 05/06/17 12:31:18
'zmc -m 1' starting at 05/06/17 12:31:18, pid = 10508
==> zmwatch.log <==
'zmc -m 1' starting at 05/06/17 12:31:18, pid = 10508
'zmc -m 1' started at 05/06/17 12:31:18
==> zmdc.log <==
'zmc -m 1' stopping at 05/06/17 12:31:29
'zmc -m 1' died at 05/06/17 12:31:29
'zmc -m 1' started at 05/06/17 12:31:29
'zmc -m 1' starting at 05/06/17 12:31:29, pid = 10526
==> zmwatch.log <==
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -m 1'), time since last capture 9 seconds (1119025888-1119025879)
'zmc -m 1' started at 05/06/17 12:31:29
'zmc -m 1' starting at 05/06/17 12:31:29, pid = 10526
The logs from /var/log/messages are the same as before. I'm not sure what more debugging info I can provide. But if this doesn't help, I'll just switch back to 1.21.0 and wait for the next release Thanks again for the awsome application.
==> zmdc.log <==
'zmc -m 1' stopping at 05/06/17 12:31:18
'zmc -m 1' died at 05/06/17 12:31:18
'zmc -m 1' started at 05/06/17 12:31:18
'zmc -m 1' starting at 05/06/17 12:31:18, pid = 10508
==> zmwatch.log <==
'zmc -m 1' starting at 05/06/17 12:31:18, pid = 10508
'zmc -m 1' started at 05/06/17 12:31:18
==> zmdc.log <==
'zmc -m 1' stopping at 05/06/17 12:31:29
'zmc -m 1' died at 05/06/17 12:31:29
'zmc -m 1' started at 05/06/17 12:31:29
'zmc -m 1' starting at 05/06/17 12:31:29, pid = 10526
==> zmwatch.log <==
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -m 1'), time since last capture 9 seconds (1119025888-1119025879)
'zmc -m 1' started at 05/06/17 12:31:29
'zmc -m 1' starting at 05/06/17 12:31:29, pid = 10526
The logs from /var/log/messages are the same as before. I'm not sure what more debugging info I can provide. But if this doesn't help, I'll just switch back to 1.21.0 and wait for the next release Thanks again for the awsome application.