Shared memory

Support and queries relating to all previous versions of ZoneMinder
Post Reply
liviab
Posts: 87
Joined: Wed Oct 15, 2008 11:54 am
Location: Brazil [MG]

Shared memory

Post by liviab » Tue Feb 10, 2009 12:44 pm

Hii

I know that there are many topics about this problem, but I searched a lot but I didn't find a answer to my problem.
I using Fedora 10 and I'd installed the ZoneMinder from a RPM file (zoneminder-1.23.3-2.fc10.i386.rpm - http://www.zoneminder.com/wiki/index.php/Fedora).
After some troubles to do ZM "works", I'm getting a error with shared memory - again, because I had problems with this in other situations. No image is showed.
Following is the log file /var/log/messages...

Feb 10 07:04:24 localhost zmdc[2660]: INF [Starting pending process, zmc -d /dev/video0]
Feb 10 07:04:24 localhost zmdc[2774]: INF ['zmc -d /dev/video0' started at 09/02/10 07:04:24]
Feb 10 07:04:24 localhost zmdc[2660]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:04:24, pid = 2774]
Feb 10 07:04:24 localhost zmc_dvideo0[2774]: INF [Debug Level = 0, Debug Log = <none>]
Feb 10 07:04:24 localhost zmc_dvideo0[2774]: INF [Starting Capture]
Feb 10 07:04:25 localhost zmc_dvideo0[2774]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Feb 10 07:04:25 localhost zmc_dvideo0[2774]: ERR [Failed to post-capture monitor 0]
Feb 10 07:04:25 localhost zmdc[2660]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 10 07:04:30 localhost zms[2796]: INF [Debug Level = 0, Debug Log = <none>]
Feb 10 07:04:30 localhost zms[2796]: WAR [Shared memory not initialised by capture daemon, some query functions may not be available or produce invalid results]
Feb 10 07:04:30 localhost zms[2796]: ERR [Got signal (Floating point exception), crashing]
Feb 10 07:04:30 localhost zms[2796]: ERR [Signal address is (nil), from 0x806b718#012]
Feb 10 07:04:30 localhost zms[2796]: ERR [Backtrace: /usr/libexec/zoneminder/cgi-bin/nph-zms [0x806b718]]
Feb 10 07:04:30 localhost zms[2796]: ERR [Backtrace: /usr/libexec/zoneminder/cgi-bin/nph-zms [0x806b718]]
Feb 10 07:04:30 localhost zms[2796]: ERR [Backtrace: /usr/libexec/zoneminder/cgi-bin/nph-zms [0x804afca]]
Feb 10 07:04:30 localhost zms[2796]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xe5) [0x5936e5]]
Feb 10 07:04:30 localhost zms[2796]: ERR [Backtrace: /usr/libexec/zoneminder/cgi-bin/nph-zms [0x804a4f1]]
Feb 10 07:04:30 localhost zms[2796]: INF [Backtrace complete]

Feb 10 07:04:32 localhost zmwatch[2692]: INF [Restarting capture daemon for Cam, shared memory not valid]
Feb 10 07:04:32 localhost zmdc[2804]: INF ['zmc -d /dev/video0' started at 09/02/10 07:04:32]
Feb 10 07:04:32 localhost zmdc[2660]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:04:32, pid = 2804]
Feb 10 07:04:32 localhost zmwatch[2692]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:04:32, pid = 2804]
Feb 10 07:04:32 localhost zmc_dvideo0[2804]: INF [Debug Level = 0, Debug Log = <none>]
Feb 10 07:04:33 localhost zmc_dvideo0[2804]: INF [Starting Capture]
Feb 10 07:04:34 localhost zmc_dvideo0[2804]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Feb 10 07:04:34 localhost zmc_dvideo0[2804]: ERR [Failed to post-capture monitor 0]
Feb 10 07:04:34 localhost zmdc[2660]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 10 07:04:42 localhost zmwatch[2692]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Feb 10 07:04:42 localhost zmwatch[2692]: INF [Restarting capture daemon for Cam, shared memory not valid]
Feb 10 07:04:43 localhost zmdc[2826]: INF ['zmc -d /dev/video0' started at 09/02/10 07:04:43]
Feb 10 07:04:43 localhost zmdc[2660]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:04:43, pid = 2826]
Feb 10 07:04:43 localhost zmwatch[2692]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:04:43, pid = 2826]
Feb 10 07:04:43 localhost zmc_dvideo0[2826]: INF [Debug Level = 0, Debug Log = <none>]
Feb 10 07:04:43 localhost zmc_dvideo0[2826]: INF [Starting Capture]
Feb 10 07:04:44 localhost zmc_dvideo0[2826]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Feb 10 07:04:44 localhost zmc_dvideo0[2826]: ERR [Failed to post-capture monitor 0]
Feb 10 07:04:44 localhost zmdc[2660]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 10 07:04:53 localhost zmwatch[2692]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Feb 10 07:04:53 localhost zmwatch[2692]: INF [Restarting capture daemon for Cam, shared memory not valid]
...
Feb 10 07:06:07 localhost zmwatch[2692]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Feb 10 07:06:07 localhost zmwatch[2692]: INF [Restarting capture daemon for Cam, shared memory not valid]
Feb 10 07:06:07 localhost zmdc[3005]: INF ['zmc -d /dev/video0' started at 09/02/10 07:06:07]
Feb 10 07:06:07 localhost zmdc[2660]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:06:07, pid = 3005]
Feb 10 07:06:07 localhost zmwatch[2692]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:06:07, pid = 3005]
Feb 10 07:06:07 localhost zmc_dvideo0[3005]: INF [Debug Level = 0, Debug Log = <none>]
Feb 10 07:06:08 localhost zmc_dvideo0[3005]: INF [Starting Capture]
Feb 10 07:06:09 localhost zmc_dvideo0[3005]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Feb 10 07:06:09 localhost zmc_dvideo0[3005]: ERR [Failed to post-capture monitor 0]
Feb 10 07:06:09 localhost zmdc[2660]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
...
Feb 10 07:06:41 localhost zmc_dvideo0[3119]: INF [Starting Capture]
Feb 10 07:06:41 localhost zmdc[2660]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:06:41, pid = 3128]
Feb 10 07:06:41 localhost zmwatch[2692]: INF ['zmc -d /dev/video0' starting at 09/02/10 07:06:41, pid = 3128]
Feb 10 07:06:41 localhost zmdc[3128]: INF ['zmc -d /dev/video0' started at 09/02/10 07:06:41]
Feb 10 07:06:41 localhost zmc_dvideo0[3128]: INF [Debug Level = 0, Debug Log = <none>]
Feb 10 07:06:42 localhost zmc_dvideo0[3119]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Feb 10 07:06:42 localhost zmc_dvideo0[3119]: ERR [Failed to post-capture monitor 0]

Feb 10 07:06:42 localhost zmc_dvideo0[3128]: ERR [Can't shmget, probably not enough shared memory space free: Permission denied]
Feb 10 07:06:42 localhost zmdc[2660]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 10 07:06:47 localhost zmu[3136]: ERR [Can't shmget, probably not enough shared memory space free: Permission denied]
Feb 10 07:06:51 localhost zmwatch[2692]: ERR [Can't read 'shared_data:valid' from shared memory '7a6d0001/1179663': Permission denied]
Feb 10 07:06:51 localhost zmwatch[2692]: INF [Restarting capture daemon for Cam, shared memory not valid]


And what is the error with zmc_video (in blue)?

Help me, pleasee!!
:cry:

liviab
Posts: 87
Joined: Wed Oct 15, 2008 11:54 am
Location: Brazil [MG]

Post by liviab » Fri Feb 13, 2009 6:40 pm

Someone there?
:roll:

Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

Shared memory

Post by Rainer » Fri Feb 19, 2010 9:06 pm

I have the same problem with
SuSe 11.1 64-Bit and ZM 1.2.4.2 with ffmpeg

I have a Philipps saa7134 with 8 cameras.
out of 8 cameras 2 have a flickering pciture, 2 are black and 4 no reaction at all.
I can't find really an error message but when I change the configuration of a monitor then I get the following message

Can't shmget, probably not enough shared memory space free

Any help is appreciated.

insippo
Posts: 39
Joined: Mon Dec 27, 2010 11:45 am
Location: estonia

Post by insippo » Sat Jan 29, 2011 1:47 pm

Rainer : how to you fix this problem ?

insippo
Posts: 39
Joined: Mon Dec 27, 2010 11:45 am
Location: estonia

Post by insippo » Sun Feb 13, 2011 3:00 pm

nothing.
users is dead
My mother tongue is not english.Sorry if I do not speak correctly.

bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Post by bb99 » Sun Feb 13, 2011 6:41 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests