Page 1 of 2
Updated to the latest version and won't work
Posted: Fri Aug 21, 2015 12:59 pm
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?
Re: Updated to the latest version and won't work
Posted: Fri Aug 21, 2015 9:02 pm
by bbunge
There are some issues with the version on ZM Master PPA. Recommend you start over and use the regular iconnor/zoneminder ppa
Re: Updated to the latest version and won't work
Posted: Sat Aug 22, 2015 2:04 pm
by jeanlikethis
I got use the new ppa and it works, Thanks.
Re: Updated to the latest version and won't work
Posted: Sat Aug 22, 2015 7:05 pm
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?
Re: Updated to the latest version and won't work
Posted: Sun Aug 23, 2015 5:57 am
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
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.
Re: Updated to the latest version and won't work
Posted: Sun Aug 23, 2015 1:56 pm
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.
Re: Updated to the latest version and won't work
Posted: Sun Aug 23, 2015 3:51 pm
by knight-of-ni
Re: Updated to the latest version and won't work
Posted: Sun Aug 23, 2015 4:29 pm
by c128
Excellent - back working again. Thanks!
Re: Updated to the latest version and won't work
Posted: Mon Aug 31, 2015 8:47 am
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?
Re: Updated to the latest version and won't work
Posted: Wed Sep 09, 2015 9:26 pm
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?
Re: Updated to the latest version and won't work
Posted: Thu Sep 10, 2015 1:19 am
by bbunge
You may need to install "extra" VLC components
apt-get install libvlc-dev libvlccore-dev vlc
Re: Updated to the latest version and won't work
Posted: Thu Sep 10, 2015 2:31 pm
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!
Re: Updated to the latest version and won't work
Posted: Thu Sep 10, 2015 6:36 pm
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.
Re: Updated to the latest version and won't work
Posted: Sat Sep 19, 2015 10:45 am
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.
Re: Updated to the latest version and won't work
Posted: Sat Sep 19, 2015 11:08 am
by bbunge
if it works with libvlc it will work with ffmpeg.