Losing events, zmaudit acting up

Forum for questions and support relating to the 1.24.x releases only.
Locked
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Losing events, zmaudit acting up

Post by coke »

So, coming back after a day off, I find my server has 100% of disc space occupied, and the number of events is neglible. (had 700 or so per camera a couple of days ago.)

Ubuntu 9.10, compiled locally, 1.24.2, also getting strange errors manually running zmaudit.pl, specifically

Code: Select all

sudo zmaudit.pl
[sudo] password for cmadmin: 
"my" variable $updateUnclosedEventsSql masks earlier declaration in same scope at /usr/local/bin/zmaudit.pl line 360.
Use of uninitialized value $event_path in multiplication (*) at /usr/local/bin/zmaudit.pl line 215.
Filesystem event '33/999252' does not exist in database, deleting
any ideas what's going on? zmaudit's actually deleting them, but why are they disappearing from the database in the first place?

Purgewhenfull's saved, set to background, disk percent greater than or equal to 95, limit to 30, sort by date/time asc, delete all matches.

Perl 5.10.10
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

Did a repair on all the tables, apparently it fixed a lot of problems in events, hopefully this'll do the trick, but I won't know until it starts eating events again.
Locked