Page 1 of 1

Shared memory not initialised by capture daemon

Posted: Wed Jan 11, 2006 12:33 am
by MartinB
zm-1.21.4
Linux Mandrake 10.1

I can't see any reference to this particular error anywhere.

ipcs shows:
key shmid owner perms bytes nattch status
0x7a6d2001 19300355 apache 700 3041828 0

cat /proc/sys/kernel/shmmax
33554432

so it doesn't look like it's unable to allocate the shared memory.

Any suggestions?

Posted: Wed Jan 11, 2006 12:34 am
by jameswilson
whats your shmall?

Posted: Wed Jan 11, 2006 12:39 am
by MartinB
root@seagoon zm-1.21.4]# cat /proc/sys/kernel/shmall
2097152


?

Posted: Wed Jan 11, 2006 12:44 am
by jameswilson
is every thing else ok. I have seen this before when there is a streaming issue (i have seen it when i have asked for non existant cams on stream or a cam with an error)

James

Posted: Wed Jan 11, 2006 12:48 am
by MartinB
Hard to say. I've just installed and configured the system. Everything looked OK until I went in to view the monitor. I haven't tested the cam itself with xawtv or anything.

Posted: Wed Jan 11, 2006 12:52 am
by jameswilson
so you havnt got an image?

Posted: Wed Jan 11, 2006 12:55 am
by MartinB
Image doesn't download to the viewer window.

Posted: Wed Jan 11, 2006 1:00 am
by jameswilson
ok then the reason you have this shared mem error is because the mem is not being used as it contains no image. When zms (the streaming part that pulls your image out of shared me to display in the browser) tries to get this image, the shared mem segment does not exist and thus you get that error.

That answers the post. lol

Now you need to find out why your camera isnt working with zm.
what is it, how is it connected, what are your settings. You say you havnt tested it with tvtime etc so we might have a bit of work to do here!

James

Posted: Wed Jan 11, 2006 1:49 am
by MartinB
Many thanks. I'll have a good look at that.

Posted: Thu Jan 12, 2006 2:05 am
by MartinB
Just to resolve the issue - there were permission problems on the log files which was crashing some child process and ... somehow resulting in the shared memory errors as well.

Fixed the permissions - all works fine now. EXCELLENT PIECE OF SOFWTARE!