Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Forum for questions and support relating to the 1.28.x releases only.
Locked
TimmyDavie
Posts: 2
Joined: Sat Apr 04, 2015 3:49 pm

Can't get Zoneminder 1.28.1 to work Ubuntu Server 14.04

Post 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
cornbread
Posts: 14
Joined: Wed May 08, 2013 12:44 am

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

Post by cornbread »

NICE! glad to know I'm not the only one. First monitor works fine but second fails with socket error.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post 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?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

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

Post 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
cornbread
Posts: 14
Joined: Wed May 08, 2013 12:44 am

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

Post 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.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

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

Post 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
TimmyDavie
Posts: 2
Joined: Sat Apr 04, 2015 3:49 pm

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

Post 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
Locked