Video source exiting abnormally and can't get shared memory.

Forum for questions and support relating to the 1.24.x releases only.
Locked
lspiehler
Posts: 21
Joined: Tue May 19, 2009 1:54 pm

Video source exiting abnormally and can't get shared memory.

Post by lspiehler »

I've got mostly everything working with zoneminder except every now and then my video source will go red, but if it ever does give me issues, I'm able to just click the source in the console and click save and it will temporarily fix it. I'm running Suse 11.1, with zoneminder 1.24.1.

zmwatch.log repeatedly says -
[Can't get shared memory id '7a6d000f', 15: No such file or directory]

and zmdc.log repeatedly says -
[Starting pending process, zmc -d /dev/video0]
['zmc -d /dev/video0' starting at 09/05/20 13:51:09, pid = 12433]
['zmc -d /dev/video0' exited abnormally, exit status 255]
[Starting pending process, zmc -d /dev/video0]
['zmc -d /dev/video0' starting at 09/05/20 14:00:13, pid = 12458]
['zmc -d /dev/video0' exited abnormally, exit status 255]
[Starting pending process, zmc -d /dev/video0]
['zmc -d /dev/video0' starting at 09/05/20 14:11:33, pid = 12462]
['zmc -d /dev/video0' exited abnormally, exit status 255]

I've tried changing the shared memory size, changing buffer size, changing shared memory root key (which is now back to default), updating the kernel. I am an IT professional who deals mostly with windows, but have an alright knowledge of linux and I love zoneminder, but I've been through so much with trial and error with this. So far I've been able to fix and tweak all the little issues, but I'm really stuck here. Any help would be greatly appreciated.
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

I'm getting pretty much the same results with a PV-149 and Ubuntu 9.0.4, ZM 1.24.1 from peter's .deb.

Mine'll work for a minute or so, then go poof. Lower res, higher shared memory, less cameras, still flakes out.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

[Can't get shared memory id '7a6d000f', 15: No such file or directory]
Only means that the capture (zmc) has failed, thus nothing is put in shared memory and the resulting errors from the rest of the processes will complain that there is nothing in shared memory. Stop looking at the shared memory and find why your capture is failing.
lspiehler
Posts: 21
Joined: Tue May 19, 2009 1:54 pm

Post by lspiehler »

I ended up just doing a LiveCD install with version 1.23.3, which I was extremely impressed by, but I'm still getting "exited abnormally" errors and an extremely minimal amount of the shared memory errors. I figured it was something software related that I had misconfigured or maybe something with permissions, but now I'm using a completely different distribution and a completely different install. I figure it must be hardware, but I don't want to go investing into new hardware unless I know for sure what might be the problem. What would be the best way to go about diagnosing this?
Locked