ZM 1.29.0 can't reconnect to a camera after update

Forum for questions and support relating to the 1.29.x releases only.
Locked
McFLYer
Posts: 1
Joined: Sat May 07, 2016 2:26 pm

ZM 1.29.0 can't reconnect to a camera after update

Post by McFLYer »

Hello everyone!

Since the update to 1.29.0 (made it following the instructions here) I have an issue with some cameras. The cameras are some cheap Chinese "wanscam" branded ones. Well, everything works great but these cameras sometimes reboots for no reason (or due to power downs). And it was no issue for ZM to reconnect after those reboots before 1.29.0 update. But now it doesn't. The camera will not be recorded and I can't see the feed via ZM (I still can see a feed via camera's web interface, but not trough the link I have in ZM for the camera as the source - /videostream.cgi?user=blablabla one). Restarting ZM using "/etc/init.d/zoneminder restart" helps though. As a temporary solution I'm restarting zoneminder every hour via cron, but it's an ugly one :(

Here is a piece of log, showing only ERR level and at the time camera 1 has been rebooted (latest events are at the beginning):

Code: Select all

2016-05-07 16:55:21.144139	web_php		11175	ERR	Timed out waiting for msg /var/run/zm/zms-852562s.sock	/usr/share/zoneminder/www/includes/functions.php	2371
2016-05-07 16:55:18.537025	zms		3815	ERR	Terminating, last frame sent time 1462629318.036930 secs more than maximum of 10.000000	zm_monitor.cpp	4392
2016-05-07 16:53:54.394235	web_php		32113	ERR	socket_sendto( /var/run/zm/zms-035508s.sock ) failed: No such file or directory	/usr/share/zoneminder/www/includes/functions.php	2371
2016-05-07 16:53:51.251791	web_php		32113	ERR	socket_sendto( /var/run/zm/zms-035508s.sock ) failed: No such file or directory	/usr/share/zoneminder/www/includes/functions.php	2371
2016-05-07 16:53:48.217189	web_php		32113	ERR	socket_sendto( /var/run/zm/zms-035508s.sock ) failed: No such file or directory	/usr/share/zoneminder/www/includes/functions.php	2371
2016-05-07 16:53:45.406720	zms		3632	ERR	Terminating, last frame sent time 1462629224.906620 secs more than maximum of 10.000000	zm_monitor.cpp	4392
2016-05-07 16:47:45.213594	zmc_m1		2924	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-05-07 16:47:45.189669	zmc_m1		2924	ERR	Unable to read subheader	zm_remote_camera_http.cpp	977
2016-05-07 16:47:45.164289	zmc_m1		2924	ERR	Select error: Interrupted system call	zm_remote_camera_http.cpp	175
(http://pastebin.com/DGfWYLqQ) or as a screenshot (https://goo.gl/photos/usnQwURmJXCBtfFY9)

Here are some system details:
OS: Ubuntu 14.04.4 LTS (up to date)
zoneminder package installed via iconnor PPA
uname -a: Linux cams 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


I found similar post dated year 2014, but there is no solution. Can someone help somehow?
Thanks
Locked