Zoneminder loses connection to camera. Direct connection to browser still working.

Forum for questions and support relating to the 1.28.x releases only.
Locked
Clemi
Posts: 2
Joined: Mon Oct 12, 2015 7:31 pm

Zoneminder loses connection to camera. Direct connection to browser still working.

Post by Clemi »

Hello,

I have a camera installed with IP 192.168.178.45. I can connect to the camera via Zoneminder 1,28.1 running on Raspberry Pi 2. However after short time zoneminder loses the signal. Ok the camera is quite far away, but when I connect to the camera via web interface I can view the live feed without any problems.
My router says connection speed is 10Mbits/s. So I would assume connection should be ok.

Maybe someone here can help me, as I'm rather new to zoneminder. Below I have posted all log messages that may be connected to this issue.

Thank you very much for your help,

Clemi
2016-03-09 20:13:57.292024 web_php 13504 ERR socket_sendto( /var/run/zm/zms-831163s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2342
2016-03-09 20:13:44.399093 web_js 13504 ERR TypeError: popup is null http://192.168.178.21/zm/skins/classic/js/skin.js 117
2016-03-09 20:13:37.062908 web_js 13504 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-831163s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-03-09 20:13:36.827574 web_php 8765 ERR socket_sendto( /var/run/zm/zms-831163s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2342
2016-03-09 20:13:24.855017 zms 13573 INF Terminating Logger zm_logger.cpp 238
2016-03-09 20:13:24.760565 zms 13573 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Zufahrt zm_monitor.cpp 425
2016-03-09 20:13:24.219016 web_php 13144 ERR socket_sendto( /var/run/zm/zms-209265s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2342
2016-03-09 20:13:22.467700 zmdc 1489 ERR 'zmc -m 4' exited abnormally, exit status 255 zmdc.pl
2016-03-09 20:13:22.373395 zmc_m4 13572 FAT Unable to connect RTSP socket zm_rtsp.cpp 237
2016-03-09 20:13:22.348925 zmc_m4 13572 ERR connect(), errno = 113, error = No route to host zm_comms.cpp 278
2016-03-09 20:13:20.228629 zmc_m4 13570 INF Starting Capture zmc.cpp 212
2016-03-09 20:13:19.096150 zmdc 13570 INF 'zmc -m 4' started at 16/03/09 20:13:19 zmdc.pl
2016-03-09 20:13:19.096120 zmdc 1489 INF 'zmc -m 4' starting at 16/03/09 20:13:19, pid = 13570 zmdc.pl
2016-03-09 20:13:19.062170 zmdc 1489 INF Starting pending process, zmc -m 4 zmdc.pl
2016-03-09 20:13:04.178371 web_js 13148 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-209265s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-03-09 20:13:04.079440 web_php 13148 ERR socket_sendto( /var/run/zm/zms-209265s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2342
2016-03-09 20:12:44.130486 web_js 8768 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-209265s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-03-09 20:12:43.719667 web_php 13365 ERR socket_sendto( /var/run/zm/zms-209265s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2342
2016-03-09 20:12:33.490272 web_php 13132 ERR socket_sendto( /var/run/zm/zms-209265s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2342
2016-03-09 20:12:18.682047 zms 13563 INF Terminating Logger zm_logger.cpp 238
2016-03-09 20:12:18.390058 zms 13563 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Zufahrt zm_monitor.cpp 425
2016-03-09 20:12:05.782015 zmu 13561 INF Terminating Logger zm_logger.cpp 238
2016-03-09 20:12:05.526621 zmu 13561 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Zufahrt zm_monitor.cpp 425
2016-03-09 20:11:50.242938 zmu 13557 INF Terminating Logger zm_logger.cpp 238
2016-03-09 20:11:49.968937 zmu 13557 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Zufahrt zm_monitor.cpp 425
2016-03-09 20:08:46.872030 zmdc 1489 INF 'zmc -m 5' exited normally zmdc.pl
2016-03-09 20:08:46.868659 zms 13507 INF Terminating Logger zm_logger.cpp 238
2016-03-09 20:08:46.829083 zmc_m5 13475 INF Terminating Logger zm_logger.cpp 238
2016-03-09 20:08:45.332441 zmc_m5 13475 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2016-03-09 20:08:44.329770 zmdc 1489 INF 'zmc -m 5' stopping at 16/03/09 20:08:44 zmdc.pl
2016-03-09 20:08:44.229028 zms 13507 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Zufahrt zm_monitor.cpp 425
2016-03-09 20:08:42.353660 zmwatch 15575 INF Restarting capture daemon for Zufahrt, time since last capture 8 seconds (1457550522-1457550514) zmwatch.pl
2016-03-09 20:08:38.825185 web_js 8768 ERR TypeError: popup is null http://192.168.178.21/zm/skins/classic/js/skin.js 117
2016-03-09 20:08:37.731423 zmc_m5 13479 ERR RTP timed out zm_rtp_data.cpp 89
2016-03-09 20:08:28.853020 zmc_m5 13479 WAR Discarding frame 332 zm_rtp_source.cpp 349
2016-03-09 20:08:28.828640 zmc_m5 13479 WAR Packet in sequence, gap 3 zm_rtp_source.cpp 127
2016-03-09 20:08:27.409159 zmc_m5 13479 WAR Discarding incomplete frame 332, 0 bytes zm_rtp_source.cpp 336
2016-03-09 20:08:27.338375 zmc_m5 13479 WAR Discarding frame 332 zm_rtp_source.cpp 349
2016-03-09 20:08:27.298856 zmc_m5 13479 WAR Packet in sequence, gap 3 zm_rtp_source.cpp 127
2016-03-09 20:08:00.070424 zmc_m5 13479 WAR Discarding frame 282 zm_rtp_source.cpp 349
2016-03-09 20:08:00.046109 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:07:56.612946 zmc_m5 13479 WAR Discarding frame 275 zm_rtp_source.cpp 349
2016-03-09 20:07:56.588849 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:07:53.841689 zmc_m5 13479 WAR Discarding frame 271 zm_rtp_source.cpp 349
2016-03-09 20:07:53.588610 zmc_m5 13479 WAR Packet in sequence, gap 5 zm_rtp_source.cpp 127
2016-03-09 20:07:41.688100 zmc_m5 13479 WAR Discarding frame 250 zm_rtp_source.cpp 349
2016-03-09 20:07:41.668585 zmc_m5 13479 WAR Packet in sequence, gap 6 zm_rtp_source.cpp 127
2016-03-09 20:07:37.236146 zmc_m5 13479 WAR Discarding frame 245 zm_rtp_source.cpp 349
2016-03-09 20:07:37.218599 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:07:10.507988 zmc_m5 13479 WAR Discarding incomplete frame 193, 0 bytes zm_rtp_source.cpp 336
2016-03-09 20:07:10.464950 zmc_m5 13479 WAR Discarding frame 193 zm_rtp_source.cpp 349
2016-03-09 20:07:10.448870 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:07:02.538016 zmc_m5 13479 WAR Discarding frame 179 zm_rtp_source.cpp 349
2016-03-09 20:07:02.518554 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:07:02.351550 zmaudit 1623 INF Deleted 16 log table entries by time zmaudit.pl
2016-03-09 20:06:19.101785 zma_m3 13351 INF Durchfahrt: 1000 - Processing at 1.31 fps zm_monitor.cpp 1159
2016-03-09 20:06:17.907639 zmc_m5 13479 WAR Discarding frame 91 zm_rtp_source.cpp 349
2016-03-09 20:06:17.888601 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:06:17.654069 zmc_m3 13367 INF Durchfahrt: 1000 - Capturing at 1.33 fps zm_monitor.cpp 2906
2016-03-09 20:06:11.096238 zmc_m5 13479 WAR Discarding incomplete frame 79, 0 bytes zm_rtp_source.cpp 336
2016-03-09 20:06:11.079426 zmc_m5 13479 WAR Discarding frame 79 zm_rtp_source.cpp 349
2016-03-09 20:06:10.958722 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:06:09.425736 zmc_m3 13370 WAR Discarding incomplete frame 994, 0 bytes zm_rtp_source.cpp 336
2016-03-09 20:06:09.404177 zmc_m3 13370 WAR Discarding partial frame 994, 1204 bytes zm_rtp_source.cpp 345
2016-03-09 20:06:09.359711 zmc_m3 13370 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:06:04.996372 zmc_m5 13479 WAR Discarding frame 69 zm_rtp_source.cpp 349
2016-03-09 20:06:04.978704 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:05:59.636046 zmc_m5 13479 WAR Discarding frame 60 zm_rtp_source.cpp 349
2016-03-09 20:05:59.558612 zmc_m5 13479 WAR Packet in sequence, gap 2 zm_rtp_source.cpp 127
2016-03-09 20:05:27.829433 zmc_m5 13479 WAR Discarding incomplete frame 0, 0 bytes zm_rtp_source.cpp 336
2016-03-09 20:05:27.805049 zmc_m5 13479 WAR Discarding frame 0 zm_rtp_source.cpp 349
2016-03-09 20:05:27.780420 zmc_m5 13479 WAR Sequence in probation 2, out of sequence zm_rtp_source.cpp 112
2016-03-09 20:05:27.338013 zmc_m5 13477 INF Recieved new Content-Base in DESCRIBE reponse header. Updated device Url to: 'rtsp://192.168.178.45:554/12/' zm_rtsp.cpp 395
User avatar
botzen67
Posts: 3
Joined: Sat May 12, 2018 2:03 pm

Re: Zoneminder loses connection to camera. Direct connection to browser still working.

Post by botzen67 »

Did you ever figure out the root cause to this issue? I'm having a similar problem.
Locked