func Modect - still in alarm state

Support and queries relating to all previous versions of ZoneMinder
Locked
luke
Posts: 11
Joined: Wed Mar 09, 2005 2:57 pm
Location: Czech Republic
Contact:

func Modect - still in alarm state

Post by luke »

Hi,

my distro is FC3
ZM version 1.21.0

I use ZM for 2 months. I had no problems until last week. But now when I use function Modect, it starts capturing when defined zone in picture has changed - It's OK, but after that it never stop capturing although on the picture is no move. It creates an event with name "New event" and 0 pictures, 0 score etc...
A Week before last week was everthing OK, I have made no changes in settings or defining zones. Disk space is OK, logs are OK

for example... func Modect creates this...
Id Name Time(v) Secs Frames Score Mark
28935 New Event 05/04 13:00:56 0.00 / 0/0
28934 New Event 05/04 12:59:56 0.00 / 0/0
28933 New Event 05/04 12:56:14 0.00 / 0/0

...part of my log...
May 4 12:59:56 sasmbocam zma_m4[10587]: INF [airbagy: 132 - Gone into alarm state]
May 4 12:59:56 sasmbocam zma_m4[10587]: ERR [Can't insert event stats: Can't open file: 'Stats.MYD'. (errno: 145)]
May 4 12:59:56 sasmbocam zma_m4[10626]: INF [Debug Level = 0, Debug Log = <none>]
May 4 12:59:57 sasmbocam zma_m4[10626]: INF [Warming up]
May 4 13:00:56 sasmbocam zma_m4[10626]: INF [airbagy: 397 - Gone into alarm state]
May 4 13:00:56 sasmbocam zma_m4[10626]: ERR [Can't insert event stats: Can't open file: 'Stats.MYD'. (errno: 145)]
May 4 13:00:56 sasmbocam zma_m4[10671]: INF [Debug Level = 0, Debug Log = <none>]
May 4 13:00:56 sasmbocam zma_m4[10671]: INF [Warming up]
May 4 13:01:00 sasmbocam zma_m4[10671]: INF [airbagy: 027 - Gone into alarm state]
May 4 13:01:00 sasmbocam zma_m4[10671]: ERR [Can't insert event stats: Can't open file: 'Stats.MYD'. (errno: 145)]
May 4 13:01:05 sasmbocam zma_m4[10695]: INF [Debug Level = 0, Debug Log = <none>]
May 4 13:01:05 sasmbocam zma_m4[10695]: INF [Warming up]
May 4 13:01:49 sasmbocam zma_m4[10695]: INF [airbagy: 307 - Gone into alarm state]
May 4 13:01:50 sasmbocam zma_m4[10695]: ERR [Can't insert event stats: Can't open file: 'Stats.MYD'. (errno: 145)]
May 4 13:01:55 sasmbocam zmc_m4[10583]: WAR [Buffer overrun at index 7 ]
May 4 13:02:01 sasmbocam zma_m4[10832]: INF [Debug Level = 0, Debug Log = <none>]
May 4 13:02:01 sasmbocam zma_m4[10832]: INF [Warming up]
May 4 13:02:06 sasmbocam zmc_m4[10583]: INF [airbagy: 1000 - Capturing at 6.67 fps]
May 4 13:02:52 sasmbocam zma_m4[10832]: INF [airbagy: 350 - Gone into alarm state]
May 4 13:02:52 sasmbocam zma_m4[10832]: ERR [Can't insert event stats: Can't open file: 'Stats.MYD'. (errno: 145)]
May 4 13:02:58 sasmbocam zmc_m4[10583]: WAR [Buffer overrun at index 23 ]
May 4 13:03:04 sasmbocam zmc_m4[10583]: WAR [Buffer overrun at index 23 ]
May 4 13:03:10 sasmbocam zmc_m4[10583]: WAR [Buffer overrun at index 23 ]
May 4 13:03:12 sasmbocam zma_m4[11007]: INF [Debug Level = 0, Debug Log = <none>]


Could anybody help me solve this problem?

thanks
Lukas
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

It sounds like your database is corrupted. Trying shutting zm down and running mysqlcheck on your database.

Phil
luke
Posts: 11
Joined: Wed Mar 09, 2005 2:57 pm
Location: Czech Republic
Contact:

Post by luke »

I've repaired Stats table and now it seems to be OK. Thanks
Lukas
Locked