Doesnt display video - 'cant get shared memory' error

Support and queries relating to all previous versions of ZoneMinder
Locked
macrae_dj
Posts: 4
Joined: Tue Apr 13, 2010 10:13 pm

Doesnt display video - 'cant get shared memory' error

Post by macrae_dj »

Hi, I have installed Zoneminder on Ubuntu 9.10 but I cant get it to work.

I used this guide to install zoneminder (apt-get method)...
http://sidrit.wordpress.com/2008/08/04/ ... oneminder/

In addition I typed in...
sudo adduser www-data video

I have attached two USB webcams to my PC and used 'cheese' to verify that they work (display video and capture JPGs) and to check out what various width/height etc they support.

I have set up the cameras in zoneminder using the browser (http://localhost/zm) but I am not very sure of all the settings (should I use V4L or V4L-2, and which of the PAL/NTSC options should I select?) I dont get any video when I try to watch the cameras through zoneminder.

After digging about on forums I have found tips on diagnosing and found these suggestions.
Typing this in a shell ....
tail -f /tmp/*.log &
I get various errors including...
==> /tmp/zmwatch.log <==
04/13/10 23:25:37.443535 zmwatch[1846].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Typing this in a shell...
/usr/bin/zmdc.pl start zmc -m 7
I get...
Unable to connect to server
My shmmax & shmall are set to
134217728

I cant figure out how to fix these errors (though I'm not even sure if they're relevant as I dont really know what I'm doing). So I'd appreciate it if anyone can suggest how I can get zoneminder to behave.
macrae_dj
Posts: 4
Joined: Tue Apr 13, 2010 10:13 pm

Post by macrae_dj »

I've just found my zm.conf file and it says I'm using version 24.1, not version 23. Not sure how to move this post to the proper forum area.
macrae_dj
Posts: 4
Joined: Tue Apr 13, 2010 10:13 pm

Post by macrae_dj »

Ok. Started from scratch, uninstalled everything and reinstalled using this guide...
http://www.zoneminder.com/wiki/index.ph ... 10_Desktop
Didnt get so many error messages but still no video.
Change ZM monitor settings to V4L-2, 320x240, YUYV, PAL-B and got one of the USB webcams to work. Seems to be a bit tempremental though - tried to increase the resolution but it eventually crashes even if reduce the fps.
Locked