How to find out why a stream from camera stopped showing output?

Forum for questions and support relating to the 1.29.x releases only.
Locked
linforpros
Posts: 39
Joined: Fri Jan 29, 2016 6:12 pm

How to find out why a stream from camera stopped showing output?

Post by linforpros »

Hello,
I would like to learn why one of the four cameras that are installed in the system stopped showing output.
To find out I did the following:

1. checked "top" and only three zmc processes are active [?]
2. checked ps aux|grep zmc and there are four processes active [OK]
3. Pinged all four cameras and they respond to ping with 0% packet lost [OK]
4. checked arp to make sure that things work on the hardware level [OK]
5. Finally checked logs from within zoneminder narrowing to zmc_m12 (the malfunctioning cam) [?]
6. The zm web console shows all cameras as "green" [OK]

The zm log do say some meaningful things but the interpretation is hard. See snippet below. Apologies for selective log.

I cannot however come to a conclusion where the culprit might be. The camera does not show anything. Just dead browser icon.
Below some of the tests that were run.

I probably could reboot the system nd things might just come back to normal but the point is I would like to diagnose the problem.
What else can I do to find out more?

Thank for any hints.
Linux 4.4.9-300.fc23.x86_64
Fedora release 23 (Twenty Three)
zoneminder-1.29.0-3.fc23.x86_64


Lin Pros

Code: Select all

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                   
 1504 apache    20   0  473008  69844  62788 S   7.0  3.5 271:04.04 zmc                                                       
 5493 apache    20   0  474620  71636  63000 S   7.0  3.6 237:46.80 zmc                                                       
29888 apache    20   0  472308  69572  63048 S   5.0  3.5  13:44.83 zmc            

Code: Select all

[root@localhost ~]# ps aux |grep zmc
apache    1504  5.1  3.4 473008 69844 ?        S    Jun02 272:45 /usr/bin/zmc -m 10
apache    5493  5.3  3.5 474620 71636 ?        S    Jun02 239:52 /usr/bin/zmc -m 11
apache   28557  0.0  3.3 471072 67156 ?        S    06:36   0:00 /usr/bin/zmc -m 12
apache   29888  6.6  3.4 472308 69572 ?        S    12:06  15:49 /usr/bin/zmc -m 13

Code: Select all

[root@localhost ~]# arp
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.1.98             ether   b0:c5:54:21:b6:3f   C                     wlp0s26f7u1
192.168.1.127            ether   b0:c5:54:28:24:08   C                     wlp0s26f7u1
router.Belkin            ether   ec:1a:59:ff:22:a4   C                     enp0s25
192.168.1.133            ether   b0:c5:54:28:24:0e   C                     wlp0s26f7u1
192.168.1.141            ether   b0:c5:54:27:45:a5   C                     wlp0s26f7u1

Code: Select all


DATE/TIME
COMPONENT	SERVER	PID	LEVEL	MESSAGE	FILE	LINE
2016-06-05 06:36:44.782412	zmc_m12		28557	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:36:34.339074	zmc_m12		28546	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:36:34.314082	zmc_m12		28546	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:36:34.289119	zmc_m12		28546	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:36:34.264195	zmc_m12		28546	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:36:24.146072	zmc_m12		28546	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:36:13.741418	zmc_m12		28535	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:36:13.716429	zmc_m12		28535	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:36:13.691360	zmc_m12		28535	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:36:13.666452	zmc_m12		28535	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:35:53.584125	zmc_m12		28535	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:35:43.132095	zmc_m12		28523	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:35:43.107123	zmc_m12		28523	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:35:43.082143	zmc_m12		28523	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:35:43.057215	zmc_m12		28523	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:35:22.941412	zmc_m12		28523	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:35:12.539524	zmc_m12		28509	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:35:12.514537	zmc_m12		28509	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:35:12.489561	zmc_m12		28509	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:35:12.464612	zmc_m12		28509	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:33:52.356488	zmc_m12		28509	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:33:45.185674	zmc_m12		28501	ERR	Failed to pre-capture monitor 12 -233750908 (1/1)	zmc.cpp	315
2016-06-05 06:33:45.169015	zmc_m12		28501	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:33:45.152318	zmc_m12		28501	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:33:45.134792	zmc_m12		28501	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:33:42.111686	zmc_m12		28501	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:33:34.915838	zmc_m12		28493	ERR	Failed to pre-capture monitor 12 1693318788 (1/1)	zmc.cpp	315
2016-06-05 06:33:34.899149	zmc_m12		28493	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:33:34.882491	zmc_m12		28493	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:33:34.856790	zmc_m12		28493	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:33:31.833120	zmc_m12		28493	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:33:29.843234	zmc_m12		28485	ERR	Failed to pre-capture monitor 12 1979620996 (1/1)	zmc.cpp	315
2016-06-05 06:33:29.826572	zmc_m12		28485	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:33:29.793310	zmc_m12		28485	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:33:29.648790	zmc_m12		28485	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:33:11.596635	zmc_m12		28485	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:33:01.199766	zmc_m12		28473	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:33:01.183105	zmc_m12		28473	ERR	Unable to read subheader	zm_remote_camera_http.cpp	977
2016-06-05 06:33:01.166448	zmc_m12		28473	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:33:01.149849	zmc_m12		28473	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:32:21.056597	zmc_m12		28473	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:32:10.651220	zmc_m12		28462	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:32:10.634562	zmc_m12		28462	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:32:10.617863	zmc_m12		28462	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:32:10.601289	zmc_m12		28462	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:32:00.513581	zmc_m12		28462	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:31:50.111805	zmc_m12		28450	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:31:50.095061	zmc_m12		28450	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:31:50.078432	zmc_m12		28450	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:31:50.061776	zmc_m12		28450	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:31:09.982350	zmc_m12		28450	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:30:59.553789	zmc_m12		28438	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:30:59.528734	zmc_m12		28438	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:30:59.503778	zmc_m12		28438	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:30:59.478831	zmc_m12		28438	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:30:19.382659	zmc_m12		28438	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:30:11.112505	zmc_m12		28430	ERR	Failed to pre-capture monitor 12 2129374852 (1/1)	zmc.cpp	315
2016-06-05 06:30:11.087500	zmc_m12		28430	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:30:11.062442	zmc_m12		28430	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:30:11.040812	zmc_m12		28430	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:30:09.156475	zmc_m12		28430	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:30:02.025323	zmc_m12		28422	ERR	Failed to pre-capture monitor 12 -1495781756 (1/1)	zmc.cpp	315
2016-06-05 06:30:02.000338	zmc_m12		28422	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:30:01.975358	zmc_m12		28422	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:30:01.948789	zmc_m12		28422	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:29:58.917637	zmc_m12		28422	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:29:48.382172	zmc_m12		28409	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:29:48.357196	zmc_m12		28409	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:29:48.332210	zmc_m12		28409	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:29:48.307286	zmc_m12		28409	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:29:28.192169	zmc_m12		28409	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:29:18.680935	zmc_m12		28401	ERR	Failed to pre-capture monitor 12 -1810243964 (1/1)	zmc.cpp	315
2016-06-05 06:29:18.655944	zmc_m12		28401	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:29:18.630916	zmc_m12		28401	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:29:18.608811	zmc_m12		28401	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:29:17.971849	zmc_m12		28401	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:29:10.868221	zmc_m12		28393	ERR	Failed to pre-capture monitor 12 -911774076 (1/1)	zmc.cpp	315
2016-06-05 06:29:10.843229	zmc_m12		28393	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:29:10.818259	zmc_m12		28393	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:29:10.790805	zmc_m12		28393	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:29:07.760388	zmc_m12		28393	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:29:00.631652	zmc_m12		28385	ERR	Failed to pre-capture monitor 12 863735428 (1/1)	zmc.cpp	315
2016-06-05 06:29:00.606670	zmc_m12		28385	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:29:00.581608	zmc_m12		28385	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:29:00.554832	zmc_m12		28385	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:28:57.523987	zmc_m12		28385	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:28:47.105215	zmc_m12		28373	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:28:47.080237	zmc_m12		28373	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:28:47.055260	zmc_m12		28373	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:28:47.030341	zmc_m12		28373	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:28:26.922737	zmc_m12		28373	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:28:19.811077	zmc_m12		28365	ERR	Failed to pre-capture monitor 12 861560452 (1/1)	zmc.cpp	315
2016-06-05 06:28:19.786043	zmc_m12		28365	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:28:19.761104	zmc_m12		28365	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:28:19.734810	zmc_m12		28365	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:28:16.711353	zmc_m12		28365	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:28:09.574545	zmc_m12		28357	ERR	Failed to pre-capture monitor 12 2121694852 (1/1)	zmc.cpp	315
2016-06-05 06:28:09.549481	zmc_m12		28357	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:28:09.524508	zmc_m12		28357	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:28:09.506788	zmc_m12		28357	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:28:06.483286	zmc_m12		28357	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:27:56.081335	zmc_m12		28345	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:27:56.056349	zmc_m12		28345	ERR	Unable to read subheader	zm_remote_camera_http.cpp	977
2016-06-05 06:27:56.031338	zmc_m12		28345	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:27:56.006404	zmc_m12		28345	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:27:25.921390	zmc_m12		28345	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:27:15.502605	zmc_m12		28332	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:27:15.485861	zmc_m12		28332	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:27:15.469227	zmc_m12		28332	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:27:15.452627	zmc_m12		28332	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:25:45.340673	zmc_m12		28332	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:25:34.947387	zmc_m12		28321	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:25:34.930695	zmc_m12		28321	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:25:34.914005	zmc_m12		28321	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:25:34.897411	zmc_m12		28321	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:25:04.795509	zmc_m12		28321	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:24:54.393622	zmc_m12		28309	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:24:54.376962	zmc_m12		28309	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:24:54.360270	zmc_m12		28309	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:24:54.343735	zmc_m12		28309	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:24:44.264662	zmc_m12		28309	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:24:33.854162	zmc_m12		28297	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:24:33.837431	zmc_m12		28297	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:24:33.820816	zmc_m12		28297	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:24:33.804202	zmc_m12		28297	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:24:03.710783	zmc_m12		28297	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:23:53.308789	zmc_m12		28285	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:23:53.292167	zmc_m12		28285	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:23:53.275443	zmc_m12		28285	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:23:53.258848	zmc_m12		28285	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:23:23.156726	zmc_m12		28285	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:23:12.763481	zmc_m12		28273	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:23:12.745542	zmc_m12		28273	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:23:12.728894	zmc_m12		28273	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:23:12.712313	zmc_m12		28273	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:22:52.638441	zmc_m12		28273	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:22:45.501271	zmc_m12		28265	ERR	Failed to pre-capture monitor 12 1191808644 (1/1)	zmc.cpp	315
2016-06-05 06:22:45.476280	zmc_m12		28265	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1113
2016-06-05 06:22:45.451302	zmc_m12		28265	ERR	Unable to connect to the remote camera, aborting	zm_remote_camera_http.cpp	120
2016-06-05 06:22:45.426815	zmc_m12		28265	WAR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	111
2016-06-05 06:22:42.410594	zmc_m12		28265	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:22:31.924909	zmc_m12		28254	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:22:31.899866	zmc_m12		28254	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:22:31.874894	zmc_m12		28254	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:22:31.849970	zmc_m12		28254	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:22:01.739352	zmc_m12		28254	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:21:51.320993	zmc_m12		28242	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:21:51.295913	zmc_m12		28242	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:21:51.270959	zmc_m12		28242	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:21:51.246074	zmc_m12		28242	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:21:11.157552	zmc_m12		28242	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:21:00.722442	zmc_m12		28230	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:21:00.697455	zmc_m12		28230	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:21:00.672485	zmc_m12		28230	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:21:00.647525	zmc_m12		28230	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:20:53.043054	zmc_m12		28230	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:20:53.019270	zmc_m12		28230	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:20:00.528846	zmc_m12		28230	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:19:50.109504	zmc_m12		28202	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:19:50.084513	zmc_m12		28202	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:19:50.059496	zmc_m12		28202	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:19:50.034597	zmc_m12		28202	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:19:42.896563	zmc_m12		28202	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:19:42.873565	zmc_m12		28202	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:18:29.941114	zmc_m12		28202	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:18:19.372917	zmc_m12		28191	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:18:19.356254	zmc_m12		28191	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:18:19.339563	zmc_m12		28191	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:18:19.322975	zmc_m12		28191	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:17:59.215759	zmc_m12		28191	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:17:48.822047	zmc_m12		28179	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:17:48.805387	zmc_m12		28179	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:17:48.788762	zmc_m12		28179	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:17:48.772107	zmc_m12		28179	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:17:28.673843	zmc_m12		28179	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:17:18.271216	zmc_m12		28168	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:17:18.254570	zmc_m12		28168	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:17:18.237943	zmc_m12		28168	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:17:18.221291	zmc_m12		28168	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:17:08.141845	zmc_m12		28168	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:16:57.731867	zmc_m12		28155	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:16:57.715211	zmc_m12		28155	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:16:57.698564	zmc_m12		28155	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:16:57.681896	zmc_m12		28155	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:16:48.145823	zmc_m12		28155	INF	South_Window: 1000 - Capturing at 12.35 fps	zm_monitor.cpp	3131
2016-06-05 06:15:27.570165	zmc_m12		28155	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:15:17.175177	zmc_m12		28134	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:15:17.158518	zmc_m12		28134	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
2016-06-05 06:15:17.141869	zmc_m12		28134	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
2016-06-05 06:15:17.125243	zmc_m12		28134	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-06-05 06:14:25.326482	zmc_m12		28134	INF	South_Window: 7000 - Capturing at 18.87 fps	zm_monitor.cpp	3131
2016-06-05 06:13:32.909885	zmc_m12		28134	INF	South_Window: 6000 - Capturing at 16.67 fps	zm_monitor.cpp	3131
2016-06-05 06:12:32.519542	zmc_m12		28134	INF	South_Window: 5000 - Capturing at 16.67 fps	zm_monitor.cpp	3131
2016-06-05 06:11:32.216100	zmc_m12		28134	INF	South_Window: 4000 - Capturing at 15.38 fps	zm_monitor.cpp	3131
2016-06-05 06:10:27.606324	zmc_m12		28134	INF	South_Window: 3000 - Capturing at 16.67 fps	zm_monitor.cpp	3131
2016-06-05 06:09:27.950622	zmc_m12		28134	INF	South_Window: 2000 - Capturing at 12.99 fps	zm_monitor.cpp	3131
2016-06-05 06:08:10.870278	zmc_m12		28134	INF	South_Window: 1000 - Capturing at 15.62 fps	zm_monitor.cpp	3131
2016-06-05 06:07:06.968432	zmc_m12		28134	INF	Starting Capture version 1.29.0	zmc.cpp	250
2016-06-05 06:06:56.557006	zmc_m12		28122	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-06-05 06:06:56.531984	zmc_m12		28122	ERR	Unable to read content	zm_remote_camera_http.cpp	1026
Last edited by linforpros on Mon Jun 06, 2016 1:36 am, edited 3 times in total.
best regards
LinforPros
bbunge
Posts: 2967
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: How to find out why a stream from camera stopped showing output?

Post by bbunge »

You could be out of memory. Do a "dd" to see if anything is near 100% especially your tmpfs. Lower camera resolution to fix...
linforpros
Posts: 39
Joined: Fri Jan 29, 2016 6:12 pm

Re: How to find out why a stream from camera stopped showing output?

Post by linforpros »

bbunge wrote:You could be out of memory. Do a "dd" to see if anything is near 100% especially your tmpfs. Lower camera resolution to fix...
Thank you for giving a hint to find out more. Do you make anything out of this:

Code: Select all

df -h
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 970M     0  970M   0% /dev
tmpfs                    978M  207M  772M  22% /dev/shm
tmpfs                    978M  672K  978M   1% /run
tmpfs                    978M     0  978M   0% /sys/fs/cgroup
/dev/mapper/fedora-root   49G  5.3G   44G  11% /
tmpfs                    978M  4.0K  978M   1% /tmp
/dev/sda1                477M  148M  300M  34% /boot
/dev/mapper/fedora-home   24G   54M   24G   1% /home
tmpfs                    196M     0  196M   0% /run/user/1000
It seems that the system is on the safe side when it comes to memory consumption.


I just managed to catch the server with "green" Log. And there is no "South_Window" camera - as I labeled it - in the log at all. How come the system is "green"? It should be in the alarm state that one of the cameras are not working as designed. What else can I do?

See below:

Code: Select all

2016-06-05 20:03:22.586376	zms		3350	ERR	Terminating, last frame sent time 1465175002.086283 secs more than maximum of 10.000000	zm_monitor.cpp	4392
2016-06-05 20:03:22.052147	undef		3350	INF	No Server ID or Name specified in config. Not using Multi-Server Mode.	zm_config.cpp	139
2016-06-05 20:03:12.009353	zmc_m10		1504	INF	Garage_View: 4903000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 20:02:53.983365	zmc_m11		1370	INF	Living_Room: 161000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 20:02:50.654085	zmc_m13		2560	INF	Lanai_View: 125000 - Capturing at 10.75 fps	zm_monitor.cpp	3131
2016-06-05 20:01:48.858769	zmc_m10		1504	INF	Garage_View: 4902000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 20:01:30.851669	zmc_m11		1370	INF	Living_Room: 160000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 20:01:17.248791	zmc_m13		2560	INF	Lanai_View: 124000 - Capturing at 11.49 fps	zm_monitor.cpp	3131
2016-06-05 20:00:25.696178	zmc_m10		1504	INF	Garage_View: 4901000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 20:00:07.690000	zmc_m11		1370	INF	Living_Room: 159000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:59:50.046079	zmc_m13		2560	INF	Lanai_View: 123000 - Capturing at 11.24 fps	zm_monitor.cpp	3131
2016-06-05 19:59:02.519523	zmc_m10		1504	INF	Garage_View: 4900000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:58:44.507725	zmc_m11		1370	INF	Living_Room: 158000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:58:21.899109	zmc_m13		2560	INF	Lanai_View: 122000 - Capturing at 11.76 fps	zm_monitor.cpp	3131
2016-06-05 19:57:39.362856	zmc_m10		1504	INF	Garage_View: 4899000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:57:21.273909	zmc_m11		1370	INF	Living_Room: 157000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 19:56:56.476871	zmc_m13		2560	INF	Lanai_View: 121000 - Capturing at 11.49 fps	zm_monitor.cpp	3131
2016-06-05 19:56:16.217944	zmc_m10		1504	INF	Garage_View: 4898000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:55:57.944945	zmc_m11		1370	INF	Living_Room: 156000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:55:29.410949	zmc_m13		2560	INF	Lanai_View: 120000 - Capturing at 11.36 fps	zm_monitor.cpp	3131
2016-06-05 19:54:53.041400	zmc_m10		1504	INF	Garage_View: 4897000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 19:54:34.790406	zmc_m11		1370	INF	Living_Room: 155000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:54:01.939489	zmc_m13		2560	INF	Lanai_View: 119000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 19:53:29.888992	zmc_m10		1504	INF	Garage_View: 4896000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:53:11.626654	zmc_m11		1370	INF	Living_Room: 154000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:52:37.169769	zmc_m13		2560	INF	Lanai_View: 118000 - Capturing at 11.11 fps	zm_monitor.cpp	3131
2016-06-05 19:52:06.715212	zmc_m10		1504	INF	Garage_View: 4895000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:51:48.473219	zmc_m11		1370	INF	Living_Room: 153000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:51:07.141079	zmc_m13		2560	INF	Lanai_View: 117000 - Capturing at 10.87 fps	zm_monitor.cpp	3131
2016-06-05 19:50:43.559636	zmc_m10		1504	INF	Garage_View: 4894000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 19:50:25.932496	zmc_m11		1370	INF	Living_Room: 152000 - Capturing at 11.49 fps	zm_monitor.cpp	3131
2016-06-05 19:49:35.587329	zmc_m13		2560	INF	Lanai_View: 116000 - Capturing at 11.63 fps	zm_monitor.cpp	3131
2016-06-05 19:49:19.403177	zmc_m10		1504	INF	Garage_View: 4893000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:48:58.319939	zmc_m11		1370	INF	Living_Room: 151000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:48:09.406011	zmc_m13		2560	INF	Lanai_View: 115000 - Capturing at 11.63 fps	zm_monitor.cpp	3131
2016-06-05 19:47:56.244963	zmc_m10		1504	INF	Garage_View: 4892000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:47:35.157843	zmc_m11		1370	INF	Living_Room: 150000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:46:43.667687	zmc_m13		2560	INF	Lanai_View: 114000 - Capturing at 11.49 fps	zm_monitor.cpp	3131
2016-06-05 19:46:33.121777	zmc_m10		1504	INF	Garage_View: 4891000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 19:46:12.005124	zmc_m11		1370	INF	Living_Room: 149000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 19:45:16.533261	zmc_m13		2560	INF	Lanai_View: 113000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
2016-06-05 19:45:09.920932	zmc_m10		1504	INF	Garage_View: 4890000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:44:48.844256	zmc_m11		1370	INF	Living_Room: 148000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:43:52.959797	zmc_m13		2560	INF	Lanai_View: 112000 - Capturing at 11.63 fps	zm_monitor.cpp	3131
2016-06-05 19:43:46.771758	zmc_m10		1504	INF	Garage_View: 4889000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:43:25.703596	zmc_m11		1370	INF	Living_Room: 147000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:42:26.724421	zmc_m13		2560	INF	Lanai_View: 111000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:42:23.627777	zmc_m10		1504	INF	Garage_View: 4888000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:42:02.536401	zmc_m11		1370	INF	Living_Room: 146000 - Capturing at 12.05 fps	zm_monitor.cpp	3131
2016-06-05 19:41:03.467963	zmc_m13		2560	INF	Lanai_View: 110000 - Capturing at 11.90 fps	zm_monitor.cpp	3131
best regards
LinforPros
linforpros
Posts: 39
Joined: Fri Jan 29, 2016 6:12 pm

Re: How to find out why a stream from camera stopped showing output?

Post by linforpros »

I was unable to find out why the camera stopped showing output. After a reboot things returned back to normal. South_Window camera is good now.
A reboot proves that in was in the zoneminder where the problem was. So the issue remains uresolved for now. If the problem persists I will revisit it and troubleshoot it again.
best regards
LinforPros
Locked