Updated to the latest version and won't work

Forum for questions and support relating to the 1.28.x releases only.
jeanlikethis
Posts: 13
Joined: Fri Aug 21, 2015 12:51 pm

Updated to the latest version and won't work

Post by jeanlikethis »

Hi,

I just uploaded to the latest version: 1.28.104-trusty-2015081901

And it WON"T work anymore. Can's start the zoneminder service. I am using Linux Mint 17.2.

I checked the latest installation folder to the old version folder and found the new version has no files installed at all, see below:

------New install below -------
h@h-vb-mint:~$ ll /usr/share/zoneminder/
total 72
-rw-r--r-- 1 hanz hanz 65492 Apr 29 00:47 cambozola.jar
drwxr-xr-x 2 root root 4096 Aug 20 09:27 db
drwxr-xr-x 12 root root 4096 Aug 20 09:27 www


------Old Install below------
admin@srv:~$ ll /usr/share/zoneminder/
total 124
drwxr-xr-x 2 root root 4096 Aug 12 14:30 ajax
-rw-r--r-- 1 root root 65492 Jun 18 09:35 cambozola.jar
lrwxrwxrwx 1 root root 17 Jul 15 12:09 cgi-bin -> ../../lib/cgi-bin
drwxr-xr-x 2 root root 4096 Aug 12 14:30 css
drwxr-xr-x 2 root root 12288 Aug 12 14:30 db
lrwxrwxrwx 1 root root 28 Jul 15 12:09 events -> /var/cache/zoneminder/events
drwxr-xr-x 2 root root 4096 Aug 12 14:30 graphics
lrwxrwxrwx 1 root root 28 Jul 15 12:09 images -> /var/cache/zoneminder/images
drwxr-xr-x 2 root root 4096 Aug 12 14:30 includes
-rw-r--r-- 1 root root 5652 Aug 11 10:17 index.php
drwxr-xr-x 2 root root 4096 Aug 12 14:30 js
drwxr-xr-x 2 root root 4096 Aug 12 14:30 lang
drwxr-xr-x 5 root root 4096 Jul 27 15:56 skins
drwxr-xr-x 2 root root 4096 Jul 15 12:09 sounds
lrwxrwxrwx 1 root root 26 Jul 15 12:09 temp -> /var/cache/zoneminder/temp
drwxr-xr-x 3 root root 4096 Jul 27 15:56 tools
drwxr-xr-x 2 root root 4096 Aug 12 14:30 views


I am using the PPA from: ppa:iconnor/zoneminder-master

I tried to purge and reinstall many times and won't work.

Could anybody tell me how to fix this?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Updated to the latest version and won't work

Post by bbunge »

There are some issues with the version on ZM Master PPA. Recommend you start over and use the regular iconnor/zoneminder ppa
jeanlikethis
Posts: 13
Joined: Fri Aug 21, 2015 12:51 pm

Re: Updated to the latest version and won't work

Post by jeanlikethis »

I got use the new ppa and it works, Thanks.
sgharp
Posts: 55
Joined: Mon Oct 10, 2011 12:10 am

Re: Updated to the latest version and won't work

Post by sgharp »

bbunge wrote:There are some issues with the version on ZM Master PPA. Recommend you start over and use the regular iconnor/zoneminder ppa
I'm having similar problems with the latest release. The master ppa installs and zoneminder runs but none of my cameras display an image. The logs complain about socket files missing.

I did an 'apt-get remove zoneminder' and switched to the 'http://ppa.launchpad.net/iconnor/zoneminder/ubuntu trusty main' ppa and now zoneminder won't install at all. The 'apt-get install zoneminder' finishes with:

Setting up zoneminder (1.28.1-trusty-1) ...
Stopping ZoneMinder: Zoneminder already stopped


Database already at version 1.28.1, update aborted.

ZoneMinder is stopped
invoke-rc.d: initscript zoneminder, action "status" failed.

Database already at version 1.28.1, update aborted.

Starting ZoneMinder: failure

invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can anyone suggest a solution?
kenneth558
Posts: 18
Joined: Mon Jul 27, 2015 3:57 am

Re: Updated to the latest version and won't work

Post by kenneth558 »

I have to concur. I was excited to upgrade from 1.28.2 to 1.28.102 so I could test out the ZMNinja, but alas, the upgrade step

Code: Select all

"a2enconf zoneminder"
produced this response

Code: Select all

"ERROR: Conf zoneminder not properly enabled: /etc/apache2/conf-enabled/zoneminder.conf exists but does not point to /etc/apache2/conf-available/zoneminder.conf, not touching it"
, and I don't know what to do about it. I guess I'll have to go back to 1.28.2 and wait for the fix to come out.
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: Updated to the latest version and won't work

Post by c128 »

Looks like there's an Apache configuration issue.

That can be fixed by:

Code: Select all

cd /etc/apache2/conf-enabled
rm zoneminder.conf
ln -s ../conf-available/zoneminder.conf 
...seeing crashes after that though, as above:

Code: Select all

Aug 23 14:53:03 cctv web_php[3640]: ERR [socket_sendto( /var/run/zm/zms-061634s.sock ) failed: No such file or directory]
Aug 23 14:53:03 cctv web_php[3638]: ERR [socket_sendto( /var/run/zm/zms-848355s.sock ) failed: No such file or directory]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Got signal 11 (Segmentation fault), crashing]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Signal address is 0xffffffffffffffe8, from 0x7fe1e4113590]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 0: /usr/bin/zmc(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x7fe1e4124a08]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7fe1e3382d10]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 2: /usr/bin/zmc(_ZN13Authenticator5resetEv+0x10) [0x7fe1e4113590]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 3: /usr/bin/zmc(_ZN13AuthenticatorD1Ev+0x2e) [0x7fe1e411361e]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 4: /usr/lib/vlc/plugins/access/liblive555_plugin.so(+0x70cf) [0x7fe1c26520cf]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 5: /usr/lib/vlc/plugins/access/liblive555_plugin.so(+0x75cb) [0x7fe1c26525cb]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 6: /usr/lib/libvlccore.so.8(+0x89365) [0x7fe1da19a365]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 7: /usr/lib/libvlccore.so.8(vlc_module_load+0x47e) [0x7fe1da19a92e]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 8: /usr/lib/libvlccore.so.8(+0x3e39f) [0x7fe1da14f39f]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 9: /usr/lib/libvlccore.so.8(+0x4e1b8) [0x7fe1da15f1b8]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 10: /usr/lib/libvlccore.so.8(+0x4f843) [0x7fe1da160843]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 11: /usr/lib/libvlccore.so.8(+0x539f6) [0x7fe1da1649f6]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 12: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76aa) [0x7fe1e33796aa]]
Aug 23 14:54:22 cctv zmc_m5[3670]: ERR [Backtrace 13: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fe1dfe84eed]]
Crashes go away when I remove my one camera that's using Libvlc. However, although the remaining cameras capture, they won't stream e.g. montage view gives:

Code: Select all

Aug 23 15:48:47 cctv web_php[4177]: ERR [socket_sendto( /var/run/zm/zms-733257s.sock ) failed: No such file or directory]
Aug 23 15:48:47 cctv web_php[3619]: ERR [socket_sendto( /var/run/zm/zms-273376s.sock ) failed: No such file or directory]
Aug 23 15:48:49 cctv web_php[4177]: ERR [socket_sendto( /var/run/zm/zms-368173s.sock ) failed: No such file or directory]
Aug 23 15:48:49 cctv web_php[3619]: ERR [socket_sendto( /var/run/zm/zms-593249s.sock ) failed: No such file or directory]
Aug 23 15:48:51 cctv web_php[4177]: ERR [socket_sendto( /var/run/zm/zms-733257s.sock ) failed: No such file or directory]
Aug 23 15:48:51 cctv web_php[3619]: ERR [socket_sendto( /var/run/zm/zms-273376s.sock ) failed: No such file or directory]
Aug 23 15:48:53 cctv web_php[4177]: ERR [socket_sendto( /var/run/zm/zms-368173s.sock ) failed: No such file or directory]
Aug 23 15:48:53 cctv web_php[3619]: ERR [socket_sendto( /var/run/zm/zms-593249s.sock ) failed: No such file or directory]
Aug 23 15:48:55 cctv web_php[4177]: ERR [socket_sendto( /var/run/zm/zms-733257s.sock ) failed: No such file or directory]
Aug 23 15:48:55 cctv web_php[3619]: ERR [socket_sendto( /var/run/zm/zms-273376s.sock ) failed: No such file or directory]
etc.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Updated to the latest version and won't work

Post by knight-of-ni »

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/
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: Updated to the latest version and won't work

Post by c128 »

Excellent - back working again. Thanks!
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: Updated to the latest version and won't work

Post by c128 »

c128 wrote:Excellent - back working again. Thanks!
Well, to a degree :)

So - from what I can gather from posts elsewhere, there's an issue with libvlc (as in my post above) that hasn't been pinpointed?

Thing is - I have one camera that will only work with Zoneminder using libvlc.
This was working with my prior install zoneminder-master release, but isn't working since the shift to 1.28.102-vivid-2015081801 i.e. in all respects the system was the same with the earlier installed version, and all the other ffmpeg cameras work fine, but now any use of libvlc leads to no picture from the camera and the errors in the log from my earlier post on this thread.

Any inkling of a workaround for this?
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: Updated to the latest version and won't work

Post by c128 »

OK, to put it another way ;)

Does anyone have libvlc working on Ubuntu 15.04 and 1.28.102-vivid-2015081801 (or greater)?

If so, what's your bit of magic?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Updated to the latest version and won't work

Post by bbunge »

You may need to install "extra" VLC components

apt-get install libvlc-dev libvlccore-dev vlc
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Updated to the latest version and won't work

Post by bbunge »

I was not able to get libvlc to work with my Foscam FI9821W camera. VLC in Windows does work, though. Ffmpeg does work well!
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: Updated to the latest version and won't work

Post by c128 »

The thing is...libvlc integration worked fine *before* I upgraded from the earlier master snapshot (I have all required components installed).

Since the upgrade to 1.28.102-vivid-2015081801 though...errors.
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: Updated to the latest version and won't work

Post by c128 »

Just upgraded to the newly released master build from the PPA (1.28.106-vivid-2015091801) but still seeing the same thing:

Code: Select all

Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Got signal 11 (Segmentation fault), crashing]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Signal address is 0xffffffffffffffe8, from 0x7fee6ed8b600]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 0: /usr/bin/zmc(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x7fee6ed9ca78]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7fee6dff9d10]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 2: /usr/bin/zmc(_ZN13Authenticator5resetEv+0x10) [0x7fee6ed8b600]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 3: /usr/bin/zmc(_ZN13AuthenticatorD1Ev+0x2e) [0x7fee6ed8b68e]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 4: /usr/lib/vlc/plugins/access/liblive555_plugin.so(+0x70cf) [0x7fee494aa0cf]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 5: /usr/lib/vlc/plugins/access/liblive555_plugin.so(+0x75cb) [0x7fee494aa5cb]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 6: /usr/lib/libvlccore.so.8(+0x89365) [0x7fee64e11365]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 7: /usr/lib/libvlccore.so.8(vlc_module_load+0x47e) [0x7fee64e1192e]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 8: /usr/lib/libvlccore.so.8(+0x3e39f) [0x7fee64dc639f]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 9: /usr/lib/libvlccore.so.8(+0x4e1b8) [0x7fee64dd61b8]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 10: /usr/lib/libvlccore.so.8(+0x4f843) [0x7fee64dd7843]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 11: /usr/lib/libvlccore.so.8(+0x539f6) [0x7fee64ddb9f6]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 12: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76aa) [0x7fee6dff06aa]]
Sep 19 11:40:35 cctv zmc_m6[17951]: ERR [Backtrace 13: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fee6aafbeed]]
Sep 19 11:40:35 cctv zmdc[17774]: ERR ['zmc -m 6' exited abnormally, exit status 11]
To summarise: this is for a camera that only works with LibVLC...it used to work with earlier master builds on the same system, but with the more recent builds - crashes.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Updated to the latest version and won't work

Post by bbunge »

if it works with libvlc it will work with ffmpeg.
Locked