APT updates stopped ZoneMinder from working correctly

Forum for questions and support relating to the 1.27.x releases only.
Locked
raymonvdm
Posts: 23
Joined: Thu Jan 16, 2014 3:01 pm

APT updates stopped ZoneMinder from working correctly

Post by raymonvdm »

Some days ago i have updated my ZoneMinder system due to the bash bug and since then my zoneminder setup is giving me red screens. I think it has something to do with one of the components which got updated but i`m not sure how to troubleshoot / fix

The camera`s are working (Dlink) but i get a lot of motion detection events due to the red screens which seem to be occurring every x seconds

Code: Select all

Start-Date: 2014-09-26  10:53:20
Commandline: apt-get upgrade
Upgrade: chromium-browser-l10n:i386 (36.0.1985.125-0ubuntu1.12.04.0~pkg897, 37.0.2062.120-0ubuntu0.12.04.1~pkg917), thunderbird-globalmenu:i386 (31.0+build1-0ubuntu0.12.04.1, 31.1.2+build1-0ubuntu0.12.04.1), libswscale2:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), chromium-codecs-ffmpeg:i386 (36.0.1985.125-0ubuntu1.12.04.0~pkg897, 37.0.2062.120-0ubuntu0.12.04.1~pkg917), libavutil51:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), libnss3:i386 (3.15.4-0ubuntu0.12.04.2, 3.17.1-0ubuntu0.12.04.1), libcupscgi1:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), libcurl4-gnutls-dev:i386 (7.22.0-3ubuntu4.8, 7.22.0-3ubuntu4.10), libapt-pkg4.12:i386 (0.8.16~exp12ubuntu10.17, 0.8.16~exp12ubuntu10.20.1), libdbus-1-3:i386 (1.4.18-1ubuntu1.5, 1.4.18-1ubuntu1.6), php5:i386 (5.3.10-1ubuntu3.13, 5.3.10-1ubuntu3.14), thunderbird:i386 (31.0+build1-0ubuntu0.12.04.1, 31.1.2+build1-0ubuntu0.12.04.1), libgcrypt11-dev:i386 (1.5.0-3ubuntu0.2, 1.5.0-3ubuntu0.3), thunderbird-gnome-support:i386 (31.0+build1-0ubuntu0.12.04.1, 31.1.2+build1-0ubuntu0.12.04.1), grub2-common:i386 (1.99-21ubuntu3.16, 1.99-21ubuntu3.17), cups-client:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), apt-transport-https:i386 (0.8.16~exp12ubuntu10.17, 0.8.16~exp12ubuntu10.20.1), libcupsmime1:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), chromium-browser:i386 (36.0.1985.125-0ubuntu1.12.04.0~pkg897, 37.0.2062.120-0ubuntu0.12.04.1~pkg917), libav-tools:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), libpostproc52:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), bash:i386 (4.2-2ubuntu2.1, 4.2-2ubuntu2.3), gir1.2-gudev-1.0:i386 (175-0ubuntu9.5, 175-0ubuntu9.6), linux-libc-dev:i386 (3.2.0-68.102, 3.2.0-69.103), libcurl3-gnutls:i386 (7.22.0-3ubuntu4.8, 7.22.0-3ubuntu4.10), php5-gd:i386 (5.3.10-1ubuntu3.13, 5.3.10-1ubuntu3.14), libavformat53:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), grub-pc:i386 (1.99-21ubuntu3.16, 1.99-21ubuntu3.17), cups-ppdc:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), apt-utils:i386 (0.8.16~exp12ubuntu10.17, 0.8.16~exp12ubuntu10.20.1), libcupsppdc1:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), dbus:i386 (1.4.18-1ubuntu1.5, 1.4.18-1ubuntu1.6), udev:i386 (175-0ubuntu9.5, 175-0ubuntu9.6), apt:i386 (0.8.16~exp12ubuntu10.17, 0.8.16~exp12ubuntu10.20.1), firefox:i386 (31.0+build1-0ubuntu0.12.04.1, 32.0.3+build1-0ubuntu0.12.04.1), cups-common:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), libcups2:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), libcurl3:i386 (7.22.0-3ubuntu4.8, 7.22.0-3ubuntu4.10), libdbus-1-dev:i386 (1.4.18-1ubuntu1.5, 1.4.18-1ubuntu1.6), libudev-dev:i386 (175-0ubuntu9.5, 175-0ubuntu9.6), libgcrypt11:i386 (1.5.0-3ubuntu0.2, 1.5.0-3ubuntu0.3), ffmpeg:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), cups:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), curl:i386 (7.22.0-3ubuntu4.8, 7.22.0-3ubuntu4.10), libgudev-1.0-0:i386 (175-0ubuntu9.5, 175-0ubuntu9.6), libavfilter2:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), php5-xmlrpc:i386 (5.3.10-1ubuntu3.13, 5.3.10-1ubuntu3.14), libcupsdriver1:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), libnspr4:i386 (4.9.5-0ubuntu0.12.04.3, 4.10.7-0ubuntu0.12.04.1), grub-pc-bin:i386 (1.99-21ubuntu3.16, 1.99-21ubuntu3.17), cups-bsd:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), libudev0:i386 (175-0ubuntu9.5, 175-0ubuntu9.6), libcupsimage2:i386 (1.5.3-0ubuntu8.4, 1.5.3-0ubuntu8.5), libavcodec53:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1), liblua5.1-0:i386 (5.1.4-12ubuntu1, 5.1.4-12ubuntu1.1), gpgv:i386 (1.4.11-3ubuntu2.6, 1.4.11-3ubuntu2.7), rsyslog:i386 (5.8.6-1ubuntu8.6, 5.8.6-1ubuntu8.7), php5-mysql:i386 (5.3.10-1ubuntu3.13, 5.3.10-1ubuntu3.14), libapt-inst1.4:i386 (0.8.16~exp12ubuntu10.17, 0.8.16~exp12ubuntu10.20.1), grub-common:i386 (1.99-21ubuntu3.16, 1.99-21ubuntu3.17), php5-cli:i386 (5.3.10-1ubuntu3.13, 5.3.10-1ubuntu3.14), dbus-x11:i386 (1.4.18-1ubuntu1.5, 1.4.18-1ubuntu1.6), linux-generic-lts-trusty:i386 (3.13.0.35.30, 3.13.0.36.31), libapache2-mod-php5:i386 (5.3.10-1ubuntu3.13, 5.3.10-1ubuntu3.14), php5-common:i386 (5.3.10-1ubuntu3.13, 5.3.10-1ubuntu3.14), libnss3-1d:i386 (3.15.4-0ubuntu0.12.04.2, 3.17.1-0ubuntu0.12.04.1), libcurl3-nss:i386 (7.22.0-3ubuntu4.8, 7.22.0-3ubuntu4.10), linux-firmware:i386 (1.79.16, 1.79.17), gnupg:i386 (1.4.11-3ubuntu2.6, 1.4.11-3ubuntu2.7), libavdevice53:i386 (0.8.15-0ubuntu0.12.04.1, 0.8.16-0ubuntu0.12.04.1)
End-Date: 2014-09-26  11:00:25

Code: Select all


root@zm:/var/log/apt# tail -f /var/log/syslog | grep zmc_m4
Sep 29 13:07:22 zm zmc_m4[7857]: WAR [Select timed out]
Sep 29 13:07:22 zm zmc_m4[7857]: ERR [Connection dropped by remote end]
Sep 29 13:07:22 zm zmc_m4[7857]: WAR [Unable to capture image, retrying]
Sep 29 13:07:24 zm zmc_m4[7857]: WAR [Select timed out]
Sep 29 13:07:24 zm zmc_m4[7857]: ERR [Connection dropped by remote end]
Sep 29 13:07:25 zm zmc_m4[7857]: WAR [Unable to capture image, retrying]
Sep 29 13:07:27 zm zmc_m4[7857]: WAR [Select timed out]
Sep 29 13:07:27 zm zmc_m4[7857]: ERR [Connection dropped by remote end]
Sep 29 13:07:27 zm zmc_m4[7857]: WAR [Unable to capture image, retrying]
Sep 29 13:07:30 zm zmc_m4[7857]: WAR [Select timed out]
Sep 29 13:07:30 zm zmc_m4[7857]: ERR [Connection dropped by remote end]
Sep 29 13:07:30 zm zmc_m4[7857]: WAR [Unable to capture image, retrying]

Camera setting (Dlink 930)

Code: Select all


Source: Remote
Function: Modect
Maximum FPS 2.00
Alarm Maximum FPS15.00
12.5% outdoor
6.25% blend

Remote Protocol: HTTP
Remote Methode: Simple
Remote Host name: user:password@ipadress
Remote Host port: 80
Remote Host path: /image/jpeg.cgi
Target: 24 bits colors
Width: 640
Height: 480


The system is running Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-36-generic i686) and ZoneMinder 1.27 from the PPA
raymonvdm
Posts: 23
Joined: Thu Jan 16, 2014 3:01 pm

Re: APT updates stopped ZoneMinder from working correctly

Post by raymonvdm »

Yesterday i performed a dist-upgrade to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-36-generic i686) and installed ZoneMinder using apt

Code: Select all

ii  zoneminder                                            1.26.5-1ubuntu3                                     i386         Linux video camera security and surveillance solution
But still have the same issue
User avatar
iconnor
Posts: 3198
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: APT updates stopped ZoneMinder from working correctly

Post by iconnor »

I have some 932L's that stop responding after a while. I try to use the video stream method instead as it seems to use fewer connections to the camera, hence reducing load, but then the camera is responsible for the fps.


You might try my ppa at ppa:iconnor/zoneminder for 1.27 or ppa:iconnor/zoneminder-master for development snapshots which are pretty stable atm.
peloy
Posts: 5
Joined: Sat Jan 05, 2013 7:29 pm

Re: APT updates stopped ZoneMinder from working correctly

Post by peloy »

iconnor wrote:You might try my ppa at ppa:iconnor/zoneminder for 1.27 or ppa:iconnor/zoneminder-master for development snapshots which are pretty stable atm.
What's recommended at this point, 1.27 or the development snapshots?

And on a related note, what are the plans for 1.28?

Cheers!

Eloy Paris.-
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: APT updates stopped ZoneMinder from working correctly

Post by bbunge »

Looks like your issue may be caused by Reference Image Blend %age and Alarm Reference Image Blend %age not being the same value.

And if you want to use Ubuntu 14.04 see:
http://www.zoneminder.com/wiki/index.ph ... e_easy_way

It works!

Oh, and delete the Maximum and Alarm Maximum FPS. Use settings in the remote camera to control FPS.
Locked