i got a problem with my zoneminder installation, since i installed it. i didn't notice this problem beforce, because all other 5 cameras do work fine. this is what i got since the early beginnings
so yesterday i rised the shmall and shmmax values up to 128mb as described in the wiki:zmwatch.log
09/07/06 16:27:04.843616 zmwatch[2115].INF [Watchdog starting]
09/07/06 16:27:04.844965 zmwatch[2115].INF [Watchdog pausing for 30 seconds]
09/07/06 16:27:34.850872 zmwatch[2115].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
09/07/06 16:27:34.851727 zmwatch[2115].INF [Restarting capture daemon for Kamera1, shared memory not valid]
09/07/06 16:27:35.218101 zmwatch[2115].INF ['zmc -d /dev/video0' started at 06/09/07 16:27:35] at /usr/local/bin/zmwatch.pl line 118
09/07/06 16:27:35.252446 zmwatch[2115].ERR [Can't get shared memory id '7a6d2003', 3: No such file or directory]
09/07/06 16:27:35.253079 zmwatch[2115].INF [Restarting capture daemon for Kamera2, shared memory not valid]
09/07/06 16:27:35.619465 zmwatch[2115].INF ['zmc -d /dev/video1' starting at 06/09/07 16:27:35, pid = 2170] at /usr/local/bin/zmwatch.pl line 118
09/07/06 16:27:45.625845 zmwatch[2115].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
...
i also noticed some sql errors (i think) in zmdc.log, this one repeats ~every 15min01.12.2006 07:49:58.071763 zmwatch[29469].INF [Restarting capture daemon for Eingang_von_rechts, shared memory not valid]
01.12.2006 07:49:58.548389 zmwatch[29469].INF ['zmc -d /dev/video1' stopping at 06/12/01 07:49:58]
01.12.2006 07:50:08.556464 zmwatch[29469].INF [Restarting capture daemon for Eingang_von_rechts, shared memory not valid]
01.12.2006 07:50:09.116843 zmwatch[29469].INF ['zmc -d /dev/video1' started at 06/12/01 07:50:08] at /usr/local/bin/zmwatch.pl line 118
01.12.2006 07:51:29.165476 zmwatch[29469].INF [Restarting capture daemon for Eingang_von_rechts, shared memory not valid]
01.12.2006 07:51:29.632340 zmwatch[29469].INF ['zmc -d /dev/video1' stopping at 06/12/01 07:51:29]
01.12.2006 07:51:39.638230 zmwatch[29469].INF [Restarting capture daemon for Eingang_von_rechts, shared memory not valid]
01.12.2006 07:51:42.420843 zmwatch[29469].INF ['zmc -d /dev/video1' starting at 06/12/01 07:51:42, pid = 3470] at /usr/local/bin/zmwatch.pl line 118
01.12.2006 07:53:12.520135 zmwatch[29469].INF [Restarting capture daemon for Eingang_von_rechts, shared memory not valid]
01.12.2006 07:53:12.935496 zmwatch[29469].INF ['zmc -d /dev/video1' stopping at 06/12/01 07:53:12]
01.12.2006 07:53:22.947122 zmwatch[29469].INF [Restarting capture daemon for Eingang_von_rechts, shared memory not valid]
01.12.2006 07:53:23.504956 zmwatch[29469].INF ['zmc -d /dev/video1' starting at 06/12/01 07:53:23, pid = 3480] at /usr/local/bin/zmwatch.pl line 118
01.12.2006 07:54:43.557858 zmwatch[29469].INF [Restarting capture daemon for Eingang_von_rechts, shared memory not valid]
01.12.2006 07:54:43.960757 zmwatch[29469].INF ['zmc -d /dev/video1' stopping at 06/12/01 07:54:43]
...
are these known errors and already fixed in 1.22.3? or does this server have too few ram? ("319MB LOWMEM available.")01.12.2006 07:04:58.024664 zmdc[29396].INF [Starting pending process, zma -m 2]
01.12.2006 07:04:58.027691 zmdc[3150].INF ['zma -m 2' started at 06/12/01 07:04:58]
01.12.2006 07:04:58.032965 zmdc[29396].INF ['zma -m 2' starting at 06/12/01 07:04:58, pid = 3150]
01.12.2006 07:05:03.334043 zmdc[29396].ERR ['zma -m 2' exited abnormally, exit status 11]
01.12.2006 07:05:11.226993 zmdc[29396].INF ['zmc -d /dev/video1' stopping at 06/12/01 07:05:11]
01.12.2006 07:05:11.314935 zmdc[29396].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
01.12.2006 07:05:21.686657 zmdc[29396].INF ['zmc -d /dev/video1' starting at 06/12/01 07:05:21, pid = 3157]
01.12.2006 07:05:21.685646 zmdc[3157].INF ['zmc -d /dev/video1' started at 06/12/01 07:05:21]
prepare_cached(select distinct EventId from Frames left join Events on Frames.EventId = Events.Id where isnull(Events.Id) group by EventId) statement handle DBI::st=HASH(0x88c19d0) still Active at /usr/local/bin/zmaudit.pl line 279
prepare_cached(select distinct EventId from Stats left join Events on Stats.EventId = Events.Id where isnull(Events.Id) group by EventId) statement handle DBI::st=HASH(0x88c1a90) still Active at /usr/local/bin/zmaudit.pl line 291
prepare_cached(select E.Id, max(F.TimeStamp) as EndTime, unix_timestamp(max(F.TimeStamp)) - unix_timestamp(E.StartTime) as Length, count(F.Id) as Frames, count(if(F.Score>0,1,NULL)) as AlarmFrames, sum(F.Score) as TotScore, max(F.Score) as MaxScore, M.EventPrefix as Prefix from Events as E left join Monitors as M on E.MonitorId = M.Id inner join Frames as F on E.Id = F.EventId where isnull(E.Frames) group by E.Id having EndTime < (now() - interval 300 second)) statement handle DBI::st=HASH(0x88c1b68) still Active at /usr/local/bin/zmaudit.pl line 304
01.12.2006 07:06:33.077654 zmdc[29396].INF [Starting pending process, zma -m 2]
01.12.2006 07:06:33.080841 zmdc[3160].INF ['zma -m 2' started at 06/12/01 07:06:33]
01.12.2006 07:06:33.090819 zmdc[29396].INF ['zma -m 2' starting at 06/12/01 07:06:33, pid = 3160]
01.12.2006 07:06:40.351274 zmdc[29396].ERR ['zma -m 2' exited abnormally, exit status 11]
01.12.2006 07:06:42.469364 zmdc[29396].INF ['zmc -d /dev/video1' stopping at 06/12/01 07:06:42]
01.12.2006 07:06:42.557884 zmdc[29396].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
01.12.2006 07:06:52.962892 zmdc[3166].INF ['zmc -d /dev/video1' started at 06/12/01 07:06:52]
...