Dlink DCS-5300G not working on ZM v1.29

Forum for questions and support relating to the 1.29.x releases only.
Locked
Kandujar
Posts: 3
Joined: Mon Feb 08, 2016 2:08 pm

Dlink DCS-5300G not working on ZM v1.29

Post by Kandujar »

I recently installed centos v7.0 on a new server to host zoneminder. I Installed a minimal install, after doing updates, disabling firewall and Selinux, I installed Zoneminder v1.29. I followed the directions on the website to install and then followed the readme file instructions for configuration:

https://github.com/ZoneMinder/ZoneMinde ... ME.Centos7

The Zoneminder installation and configuration did not have any problems, I configured the cameras copying the configuration from another working zoneminder server we have running on Zoneminder v1.28.1 on centos v6.0. I noticed that the configuration did not work for D'Link DCS-5300G on zoneminder v1.29. I checked that the Http_Version setting is 1.0 and verified that the setting from old server and new server were the same. I see the following errors in the Zoneminder log:

DATE/TIME
COMPONENT SERVER PID LEVEL MESSAGE FILE LINE
2016-02-08 10:53:28.917264 zmc_m12 14511 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-08 10:53:28.916584 zmc_m12 14511 ERR Unable to read content zm_remote_camera_http.cpp 1040
2016-02-08 10:53:28.865910 zmc_m1 10888 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-08 10:53:28.865150 zmc_m1 10888 ERR Unable to read content zm_remote_camera_http.cpp 1040

The Camera is working correctly in server using Centos v6.0 running Zoneminder v1.28.1, copied the configuration to v1.29, see below:

Remote Protocol: Http
Remote Method: Simple
Remote Host Name: username:password@ip address of camera
remote Host Path: /cgi-bin/video.jpg
Target colorspace: 24 bit Color
Capture Width: 352
Capture Height: 288
Preserve Aspect Ratio: unchecked
Orientation: Normal
Deinterlacing: Disabled
Use RTSP Response Media URl: unchecked

Does anyone have any suggestion in trouble shooting this problem?
Kandujar
Posts: 3
Joined: Mon Feb 08, 2016 2:08 pm

Re: Dlink DCS-5300G not working on ZM v1.29

Post by Kandujar »

I when ahead and performed a downgrade to version 1-28-1-2:

yum -y downgrade zoneminder

The cameras are now working, please let me know if there is a fix for version 1.29.

Thanks!
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Dlink DCS-5300G not working on ZM v1.29

Post by knight-of-ni »

The logs say the camera didn't respond.
- Make sure you aren't streaming the camera to anything else when you are trying to use zoneminder, including the camera's own web portal
- make sure the camera is accessible by the zoneminder server. Ping it from a command prompt, from the server.

Since the log appears to be showing two cameras with the same problem, I would double check your network.

If you still have problems, post your entire log, rather than just a few lines, beginning the moment you start zoneminder until just after errors appear in the logs. Do not attempt to open any monitors during this test.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Kandujar
Posts: 3
Joined: Mon Feb 08, 2016 2:08 pm

Re: Dlink DCS-5300G not working on ZM v1.29

Post by Kandujar »

I recently performed a downgrade of zoneminder to version 1.28.1 in the server I was having problems with. I did not change any settings and the cameras started working correctly. Previously I tested network connectivity, using ping and had no problems reaching the camera from the server. I have 5 different cameras of this model and they all had the same problem, other models worked fine. I wish I can upload the logs but we already went live with the system.
puneet
Posts: 25
Joined: Mon Oct 12, 2015 11:46 am

i have updated 1.28.1 to 1.29 Cameras not working

Post by puneet »

i have big problem on centos 6 when i upgraded zoneminder 1.28.1 to 1.29 Cameras not working

now i am downgrading to 1.28 there is lot of dependencies Below:-

libavcodec.so.53()(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libavcodec.so.53(LIBAVCODEC_53)(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libavdevice.so.53()(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libavformat.so.53()(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libavformat.so.53(LIBAVFORMAT_53)(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libavutil.so.51()(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libavutil.so.51(LIBAVUTIL_51)(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libswscale.so.2()(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
libswscale.so.2(LIBSWSCALE_2)(64bit) is needed by zoneminder-1.28.1-1.el6.x86_64
Also please find the attached file that i have configured cameras on 1.28.1 zoneminder version and same setting not working on 1.29

Can someone help how i can install zonemider 1.28.1 on centos 6 its really appriciate.

Many Thanks

Puneet Sharma
Attachments
Screen Shot 2016-02-11 at 4.12.29 PM.png
Screen Shot 2016-02-11 at 4.12.29 PM.png (61.95 KiB) Viewed 11114 times
Screen Shot 2016-02-11 at 4.12.50 PM.png
Screen Shot 2016-02-11 at 4.12.50 PM.png (49.05 KiB) Viewed 11114 times
Screen Shot 2016-02-11 at 4.11.48 PM.png
Screen Shot 2016-02-11 at 4.11.48 PM.png (57.97 KiB) Viewed 11114 times
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Dlink DCS-5300G not working on ZM v1.29

Post by knight-of-ni »

The 1.28.1 package depends on a (much) older version of vlc and ffmpeg. As you just discovered, one can't just rollback the zoneminder package in this particular case. You would have to roll back zoneminder, vlc, and ffmpeg.

The error message you posted "Unable to get response" hints at something other than zoneminder as the root cause, especially since it appears to be affecting all your cameras, using known good camera configs. You've got something else going on. Too little memory will prevent zoneminder from mmap'ing to /dev/shm. A network or firewall issue can do this. I know you said you checked your firewall, but make sure it is permanently disabled. 1.29.0 did not have any changes in it related to the HTTP/Simple method.

I am a bit confused, however. Previously you stated that only your cameras using the HTTP/Simple method were throwing an error, but in your last post you've given a screenshot of a camera using RTSP. What are we supposed to make of that? Is that camera working or not? Are all your cameras not working or just the HTTP/Simple cameras?

To get further help, please post a full page of your zoneminder logs, from the moment you start zoneminder up until just after errors appear. Do not try to open any monitors during this test.

Also, look in your Apache logs for any errors. Post the contents.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
littlej
Posts: 68
Joined: Sun Oct 18, 2009 11:46 am

Re: Dlink DCS-5300G not working on ZM v1.29

Post by littlej »

i had sampe problem when going from 1.28.1 -> 1.28.108

check my post : viewtopic.php?f=32&t=23679&p=90586&hili ... ent#p90586

upgraded to 1.29 hoping this solved the problem but still not working.
puneet
Posts: 25
Joined: Mon Oct 12, 2015 11:46 am

Re: Dlink DCS-5300G not working on ZM v1.29

Post by puneet »

Even now i am not able ti install 1.28 version on centos 6

Really frustration for me
puneet
Posts: 25
Joined: Mon Oct 12, 2015 11:46 am

Re: Dlink DCS-5300G not working on ZM v1.29

Post by puneet »

any solution for this please
michaelh99
Posts: 9
Joined: Sun Aug 02, 2015 3:00 pm

Re: Dlink DCS-5300G not working on ZM v1.29

Post by michaelh99 »

there can't be this many people having problems with the latest release and it be problems with their systems/config/cameras.

I also upgraded without checking the forums first and none of my IP cameras are working. I've got a mix of rtsp and http cameras and they are all breaking.

2016-03-04 13:36:15.814200 zmdc 10905 ERR 'zmc -m 15' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:15.483540 zmdc 10905 ERR 'zmc -m 13' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:15.129420 zmdc 10905 ERR 'zmc -m 9' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:14.854260 zmdc 10905 ERR 'zmc -m 8' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:14.563750 zmdc 10905 ERR 'zmc -m 7' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:14.267370 zmdc 10905 ERR 'zmc -m 6' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:14.000360 zmdc 10905 ERR 'zmc -m 4' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:13.722110 zmdc 10905 ERR 'zmc -m 2' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:36:13.474960 zmdc 10905 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2016-03-04 13:35:23.199009 zmc_m7 10538 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-03-04 13:35:23.199003 zmc_m2 10480 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-03-04 13:35:23.191672 zmc_m1 10468 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-03-04 13:35:23.186935 zmc_m7 10538 ERR Unable to read content zm_remote_camera_http.cpp 1026
2016-03-04 13:35:23.186542 zmc_m2 10480 ERR Unable to read subheader zm_remote_camera_http.cpp 977
2016-03-04 13:35:23.178776 zmc_m1 10468 ERR Unable to read subheader zm_remote_camera_http.cpp 977
2016-03-04 13:35:23.167889 zmc_m2 10480 ERR Select error: Interrupted system call zm_remote_camera_http.cpp 175
2016-03-04 13:35:23.167858 zmc_m7 10538 ERR Select error: Interrupted system call zm_remote_camera_http.cpp 175
2016-03-04 13:35:23.167763 zmc_m1 10468 ERR Select error: Interrupted system call zm_remote_camera_http.cpp 175

If there's any other information I can get to help debug this, let me know.
I'm running Mint 17.1 Linux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I've tried all the db and path changes recommended in another thread for this problem with no change in behaviour.
michaelh99
Posts: 9
Joined: Sun Aug 02, 2015 3:00 pm

Re: Dlink DCS-5300G not working on ZM v1.29

Post by michaelh99 »

A reboot (found in a different thread) has at least changed the behavior.
viewtopic.php?t=24328

I'm now getting these errors
2016-03-04 13:58:32.075567 web_php 3280 ERR socket_sendto( /var/run/zm/zms-475062s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-03-04 13:58:20.071235 web_js 3280 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-475062s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-03-04 13:58:20.041894 web_php 3280 ERR socket_sendto( /var/run/zm/zms-475062s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-03-04 13:58:08.036398 web_js 4362 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-475062s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch

The steps here have helped. some of my cameras are now working but other's aren't
https://bugs.launchpad.net/ubuntu/+sour ... ug/1159361

I'll post more info here as I learn more or if I have to give up and go back to 1.28
michaelh99
Posts: 9
Joined: Sun Aug 02, 2015 3:00 pm

Re: Dlink DCS-5300G not working on ZM v1.29

Post by michaelh99 »

Alright. I take back some of what I just said. live view isn't working but the cameras are detecting motion and recording.
still investigating...
michaelh99
Posts: 9
Joined: Sun Aug 02, 2015 3:00 pm

Re: Dlink DCS-5300G not working on ZM v1.29

Post by michaelh99 »

Ok, end of debugging for me at the moment.

At some point all my cameras started working except for one. That happened to be the one I was checking on when making configuration changes.

I changed the rtsp connection from multicast to unicast it it started working in live view.
realvava
Posts: 1
Joined: Wed Sep 28, 2016 6:43 am

Re: Dlink DCS-5300G not working on ZM v1.29

Post by realvava »

Anyone fix that problem? I have only one 5300G in ZM conf (for test).
Debian 8, apache 2.4, zm 1.29
berkedemel
Posts: 5
Joined: Mon Jul 31, 2017 8:26 am
Location: Turkey

Re: Dlink DCS-5300G not working on ZM v1.29

Post by berkedemel »

I use Ubuntu 16.04 server edition, apache 2 and zm 1.30.4 versions. I'm getting "Unable to read content" and "Unable to get response, disconnect" error.
Can anyone solve this problem?
Locked