Modect works, but no image on monitor feed

Forum for questions and support relating to the 1.25.x releases only.
Locked
ChrisDennis
Posts: 2
Joined: Mon Mar 10, 2014 2:47 pm

Modect works, but no image on monitor feed

Post by ChrisDennis »

Hello folks

I've got Zoneminder working on a small Acer Revo R3600 computer running Linux Mint 16 64-bit; the camera is a cheap camer-in-a-nesting-box thing, attached to an even cheaper USB capture dongle. It all works well with VLC, mplayer, and xawtv.

Mplayer reports the video feed as composite, PAL-M, YUYV, 720x480, so I've used those details to define the monitor.

Motion detection works, and I can look at individual captured frames and stills.

But the monitor feed screen has nothing where the video picture should be, just text something like this:

Code: Select all

Birdbox       Scale: Actual    Settings    Close
                             Birdbox
                         State:  -  fps
Mode: Rate: x Delay: s Buffer: % Zoom: x
Id 	Name 	Time 	Secs 	Frames 	Score 	 
65	Event-65	2014-03-10 14:29:31	3.37	66/15	2/2	X
64	Event-64	2014-03-10 14:29:27	0.97	21/1	2/2	X
etc.
The log has entries like this every few seconds:

Code: Select all

2014-03-10 14:59:41.416792	web_php	1488	ERR	socket_sendto( /tmp/zm/zms-000775s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2323
/tmp/zm just contains this:

Code: Select all

srwxr-xr-x 1 www-data www-data 0 Mar 10 14:12 zmdc.sock
Is that error message relevant? I can't find anything useful about it.

Or is the PC just not powerful enough to stream the video? It's got a dual-core 1.6GHz Atom processor and 1GB of RAM.

cheers

Chris
ChrisDennis
Posts: 2
Joined: Mon Mar 10, 2014 2:47 pm

Re: Modect works, but no image on monitor feed [SOLVED]

Post by ChrisDennis »

OK, I should have read the FAQ and other documentation more thoroughly: this is a common problem.

On the other hand, the solution in my case was not described in the FAQ or anywhere else that I could find.

All I had to do to get the live video from the monitor to work was to run

Code: Select all

sudo a2enmod cgi
In other words, the zms (or nph-zms) server wasn't running because Apache wasn't allowing it to. As soon as I enabled mod-cgi, it started working.

It seems that mod-cgi is not enabled by default when you install Apache on Linux Mint. This is obviously such a simple issue that no-one had documented it. But now I have.

cheers

Chris
Locked