Page 1 of 2

Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Jul 29, 2014 12:13 am
by Jonny
Hey guys,

First my english is not all the best, i try my best.

I have the new unbuntu 14 server and last zoneminder instal but have issues.
before with unbuntu 12 server never had a problem.

- No zones editor images i blank
- problems i my zoneminder logs
- the rest zoneminder work properly

Install config for another topic for here i tried:

- apt-add-repository ppa:iconnor/zoneminder-master
- add-apt-repository ppa:jon-severinsson/ffmpeg
- apt-get update
- apt-get install zoneminder
- apt-get install ffmpeg
- cp /etc/zm/apache.conf /etc/apache2/sites-enabled/zm.conf
- a2enmod cgi
zm1.PNG
zm1.PNG (57.35 KiB) Viewed 12223 times
zm.PNG
zm.PNG (222.97 KiB) Viewed 12223 times
any ideas how i fix this?

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Jul 29, 2014 5:07 am
by graphicw
There is a bug in the last daily snapshot from the iconnor repository. Luckily my zones are already set up and I do not need to edit to them. If anybody uses the 0726 daily snapshot from the iconnor repository they will have the same problem. There also appears to be a bug with the new multibuffering options as well though that is not as critical as the non-working zone images. One thing about using master is that we are basically beta testers. lol.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Jul 29, 2014 8:49 am
by Biggus
Sorry to hijack but does adding add-apt-repository ppa:jon-severinsson/ffmpeg
fix the ffmpeg issues in Ubuntu 14.04?

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Jul 29, 2014 2:34 pm
by graphicw
Biggus wrote:Sorry to hijack but does adding add-apt-repository ppa:jon-severinsson/ffmpeg
fix the ffmpeg issues in Ubuntu 14.04?
Yes that solves the issue.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Jul 29, 2014 8:01 pm
by Jonny
graphicw wrote:There is a bug in the last daily snapshot from the iconnor repository. Luckily my zones are already set up and I do not need to edit to them. If anybody uses the 0726 daily snapshot from the iconnor repository they will have the same problem. There also appears to be a bug with the new multibuffering options as well though that is not as critical as the non-working zone images. One thing about using master is that we are basically beta testers. lol.
Thanks for the info. than i no need more troubleshooting.
When think you new snapshot comes out?

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Wed Jul 30, 2014 4:51 pm
by graphicw
Jonny wrote:
graphicw wrote:There is a bug in the last daily snapshot from the iconnor repository. Luckily my zones are already set up and I do not need to edit to them. If anybody uses the 0726 daily snapshot from the iconnor repository they will have the same problem. There also appears to be a bug with the new multibuffering options as well though that is not as critical as the non-working zone images. One thing about using master is that we are basically beta testers. lol.
Thanks for the info. than i no need more troubleshooting.
When think you new snapshot comes out?
It looks like he has been busy over on github, so another snapshot should be forthcoming.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Mon Aug 04, 2014 4:13 pm
by graphicw
The latest snapshot is now show 1.27.99 and has addressed the zone image issues. It also appears as though the V4L issues with the addition of Multibuffering options per monitor has also been addressed though I have to test further to be 100% sure. One thing is for sure though, the new snapshot is working better than the previous.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Aug 05, 2014 4:49 pm
by PacoLM
Yesterday I installed the latest version (1.27.99+1) and seems that is working fine, except for a RTSP camera, that is hanging after 10 seconds watching live video with an already reported.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Wed Aug 06, 2014 4:56 am
by graphicw
All functions seem to be working for me as well. I am not using any RTSP or IP cameras though. My setup consists of an older Intel SE7501BR2 server with hardware RAID with 8 port BT878 cards and 10 monitors at 640x480 in greyscale. It actually functions very well considering the age of the machine. The only issue I see with the current snapshot is the following log message that will show in the log when I view a monitor:
Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results
The monitor is actually viewable and functions as it should so I am not sure why this error message shows up in the log.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Fri Aug 15, 2014 12:46 am
by Jonny
Yes, I installed the new version two days ago and works great!
But with rstp hd cam lite bit stuttering on modect i alarm gones on. i have e8400 i my server is powerful enough for 1 hd cam and low res cam.
Yesterday I installed the latest version (1.27.99+1) and seems that is working fine, except for a RTSP camera, that is hanging after 10 seconds watching live video with an already reported.
Can you that not fix with ''?tcp'' add to your stream url. I have no problems with hanging.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Fri Aug 15, 2014 6:35 pm
by linuxsense
PacoLM wrote:Yesterday I installed the latest version (1.27.99+1) and seems that is working fine, except for a RTSP camera, that is hanging after 10 seconds watching live video with an already reported.
Are you setting a max and min FPS setting for that cam on the ZM side? If so, remove them and try it out. Those options should only be used with locally connected analog cameras.

Are you using libvlc or ffmpeg?

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Mon Aug 18, 2014 3:56 pm
by pdharg
Hi folks,

I too am using ppa:iconnor/zoneminder-master and ppa:jon-severinsson/ffmpeg with kubuntu 14.04 64bit.

I have tested a Foscam FI9826W using VLC Media Player with rtsp://peter:peterpw@192.168.1.30:88/videoMain and it works just fine.

However, when I set it up under ZoneMinder I get the following messages in the log.

Code: Select all

2014-08-18 16:08:00.360730	zmdc	3564	ERR	'zmc -m 6' exited abnormally, exit status 255	zmdc.pl	
2014-08-18 16:08:00.319973	zmc_m6	23881	FAT	No RTSP sources	zm_remote_camera_rtsp.cpp	155
2014-08-18 16:07:50.561024	zmc_m6	23883	ERR	Unexpected response code 404, text is 'Not Found'	zm_rtsp.cpp	266
2014-08-18 16:07:50.237310	zmc_m6	23881	INF	Starting Capture	zmc.cpp	195
2014-08-18 16:07:50.105210	zmdc	3564	INF	'zmc -m 6' starting at 14/08/18 16:07:50, pid = 23881	zmdc.pl	
2014-08-18 16:07:50.105210	zmdc	23881	INF	'zmc -m 6' started at 14/08/18 16:07:50	zmdc.pl	
2014-08-18 16:07:50.067320	zmdc	3564	INF	Starting pending process, zmc -m 6	zmdc.pl	
Any ideas, please, on what I can do to try to solve the problem. Thank you.

Peter.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Mon Aug 18, 2014 7:17 pm
by knight-of-ni
pdharg wrote:Hi folks,

I too am using ppa:iconnor/zoneminder-master and ppa:jon-severinsson/ffmpeg with kubuntu 14.04 64bit.

I have tested a Foscam FI9826W using VLC Media Player with rtsp://peter:peterpw@192.168.1.30:88/videoMain and it works just fine.

However, when I set it up under ZoneMinder I get the following messages in the log.

Code: Select all

2014-08-18 16:08:00.360730	zmdc	3564	ERR	'zmc -m 6' exited abnormally, exit status 255	zmdc.pl	
2014-08-18 16:08:00.319973	zmc_m6	23881	FAT	No RTSP sources	zm_remote_camera_rtsp.cpp	155
2014-08-18 16:07:50.561024	zmc_m6	23883	ERR	Unexpected response code 404, text is 'Not Found'	zm_rtsp.cpp	266
2014-08-18 16:07:50.237310	zmc_m6	23881	INF	Starting Capture	zmc.cpp	195
2014-08-18 16:07:50.105210	zmdc	3564	INF	'zmc -m 6' starting at 14/08/18 16:07:50, pid = 23881	zmdc.pl	
2014-08-18 16:07:50.105210	zmdc	23881	INF	'zmc -m 6' started at 14/08/18 16:07:50	zmdc.pl	
2014-08-18 16:07:50.067320	zmdc	3564	INF	Starting pending process, zmc -m 6	zmdc.pl	
Any ideas, please, on what I can do to try to solve the problem. Thank you.

Peter.
You didn't state your entire camera config, but based on the error I'd say you need to set your source type to "ffmpeg" and not "remote".

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Aug 19, 2014 8:31 am
by pdharg
You didn't state your entire camera config, but based on the error I'd say you need to set your source type to "ffmpeg" and not "remote".
Thanks, now got a very broken up image, with ffmpeg, very occasional glimpses of a perfect image.

Any ideas how to fix, please. Thanks.

Re: Ubuntu 14.04.1 and zm 1.27.1 issues

Posted: Tue Aug 19, 2014 5:24 pm
by bbunge
Suggest you start over with this:
Add Repository

apt-get install python-software-properties
add-apt-repository ppa:iconnor/zoneminder-master
apt-get update

Install Zoneminder

apt-get install zoneminder

Note: a couple of package configurations will open up. These are to configure Nullmailer. You can just OK them and come back to configure them later.

Install "extra" VLC components

apt-get install libvlc-dev libvlccore-dev vlc

Add delay to allow MySQL to start before Zoneminder

nano /etc/init.d/zoneminder

Add sleep 15 as shown:

start() {
sleep 15
echo -n "Starting $prog: "

Ctrl+o Enter to save

CTRL+x to exit

Create a directory in apache2

mkdir /etc/apache2/conf.d

Create two symbolic links

ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf

ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf

CGI is not enabled in Ubuntu 14.04 by default. Enable it this way:

a2enmod cgi

Create a new user

adduser www-data video

Restart Apache

/etc/init.d/apache2 force-reload

or

service apache2 restart



Install Cambozola (needed if you use Internet Explorer)


cd /usr/src && wget http://www.andywilcock.com/code/cambozo ... est.tar.gz

tar -xzvf cambozola-latest.tar.gz

replace 935 with cambozola version downloaded

cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder

You should now be able to access the web server using https://servername