Page 1 of 1

Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Posted: Sat Apr 04, 2015 4:14 pm
by TimmyDavie
Hello,
I had Zoneminder running on a Desktop version of Ubuntu 12.04, and decided it was time to upgrade. I installed Ubuntu Server 14.04 64bit (as I didn't intend using the computer for anything aside from CCTV), and followed the instructions here to get the system up and running.
The issue I'm having, is that it's not working correctly. Zoneminder can see the camera's from the CCTV Board; but the image isn't right.
I followed the troubleshooting procedure, but I'm not quite sure what's wrong. I've attached the log outputs, can someone please advise me on what to do next?


(Sorry, board wouldn't let me attach files to the post, nor post url's)

Screenshot of Monitor View
i.imgur(dot)com/MpDM5rU.png

Contents of /var/log/zm
pastebin(dot)com/j8XYiBx0

Contents of /var/log/apache2
pastebin(dot)com/aeD6D6C6

zmu -d
pastebin(dot)com/uq5yjQUy

dmesg | grep bttv
pastebin(dot)com/yiKkyh1F

lspci
pastebin(dot)com/Z8RsirBX

sysctl.conf (The first thing I did was increase the shared memory, to try and solve one of the errors)
pastebin(dot)com/G3bksmwm

Re: Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Posted: Sun Apr 05, 2015 5:02 am
by cornbread
NICE! glad to know I'm not the only one. First monitor works fine but second fails with socket error.

Re: Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Posted: Wed Apr 08, 2015 4:04 pm
by iconnor
Interesting.

It would be useful to know WHICH capture card you are using.

My capture cards work fine in 14.04.

What options are you using for modprobing bttv?

Re: Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Posted: Mon Apr 13, 2015 1:42 am
by bbunge
How much RAM are you running? Have you tried to use a low camera resolution to get all of your cameras running?

Bill

Re: Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Posted: Thu Apr 16, 2015 3:49 am
by cornbread
Those socket errors happen all over the place at the moment. it's a zoneminder issue. There are a few posts here about the socket errors. It seems like the first monitor works fine and any additional throw an error like this:

socket_sendto( /var/run/zm/zms-663764s.sock ) failed: No such file or directory

I've complained a few times around here and no one seems to think it's an issue.

I'm doing remotes with axis 207 and no capture card.

Re: Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Posted: Sat Apr 18, 2015 1:25 am
by bbunge
Looks like there have been some issues reported with this camera:

See: http://www.zoneminder.com/forums/viewtopic.php?t=5022

and: http://www.zoneminder.com/wiki/index.php/Axis

Check the firmware on the cameras and upgrade as necessary. You should be able to use ffmpeg or remote to get these cameras to work. My preference would be to use remote with the mjpeg stream.

bb

Re: Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Posted: Wed May 20, 2015 2:06 am
by TimmyDavie
Awwh shoot, I never got a notification that people replied. I feel kinda bad now.

I resolved the issues (I think, so far); I used v4l-info, and copied the information over into zoneminder. I had this brainspark that seeing as I had a black line every other line there was an interlacing issue - so I set it to only capture the bottom line in deinterlacing; That seems to have fixed the bad quality images. (Along with setting palette to BGR24 (Which is reported in v4l-info as BGR3).

I'm running with 3gb ram, on a headless server, with a non-branded 4channel cctv card from eBay. Reports as a BT878 Rev 11.

Thank you for all your help, I'll leave the settings here that got it to work. I just wish I'd checked this sooner haha


Capture Palette: BGR24
Multi Buffering: Use Config Value
Captures Per Frame: 1
Target Colorspace: 24bit colour
Capture Width (pixels) 320
Capture Height (pixels) 240
Preserve Aspect Ratio No
Orientation Normal
Deinterlacing V4L2 Capture Bottom Field Only