zmaudit.pl problem
zmaudit.pl problem
Hello!
I just updated a zm box everything looked fine, but my load just went to the sky. After looking at it I have this problem on my logs.
['zmaudit.pl -c' exited abnormally, exit status 9]
If I run zmaudit.pl directly I got this error
[root@camaras]# /usr/lib/zm/bin/zmaudit.pl
Found open event '136685', closing
Can't locate object method "execute" via package "update Events set Name = ?, EndTime = ?, Length = ?, Frames = ?, AlarmFrames = ?, TotScore = ?, AvgScore = ?, MaxScore = ?, Notes = concat_ws( ' ', Notes, ? ) where Id = ?" (perhaps you forgot to load "update Events set Name = ?, EndTime = ?, Length = ?, Frames = ?, AlarmFrames = ?, TotScore = ?, AvgScore = ?, MaxScore = ?, Notes = concat_ws( ' ', Notes, ? ) where Id = ?"?) at /usr/lib/zm/bin/zmaudit.pl line 367.
Looking at my *tops, the processor is fine, its my HDD that its being hammered by "find /var/lib/zm/www/events -amin -65 -name .[0-9]*
Killing the find process relax my box for a while.
Any help please?
Thanks.
I just updated a zm box everything looked fine, but my load just went to the sky. After looking at it I have this problem on my logs.
['zmaudit.pl -c' exited abnormally, exit status 9]
If I run zmaudit.pl directly I got this error
[root@camaras]# /usr/lib/zm/bin/zmaudit.pl
Found open event '136685', closing
Can't locate object method "execute" via package "update Events set Name = ?, EndTime = ?, Length = ?, Frames = ?, AlarmFrames = ?, TotScore = ?, AvgScore = ?, MaxScore = ?, Notes = concat_ws( ' ', Notes, ? ) where Id = ?" (perhaps you forgot to load "update Events set Name = ?, EndTime = ?, Length = ?, Frames = ?, AlarmFrames = ?, TotScore = ?, AvgScore = ?, MaxScore = ?, Notes = concat_ws( ' ', Notes, ? ) where Id = ?"?) at /usr/lib/zm/bin/zmaudit.pl line 367.
Looking at my *tops, the processor is fine, its my HDD that its being hammered by "find /var/lib/zm/www/events -amin -65 -name .[0-9]*
Killing the find process relax my box for a while.
Any help please?
Thanks.
Strange my zmaudit.pl is executing that query at line 352.
Is this zm 1.24.x?
Did you modified the perl file?
Also post back the output of
Is this zm 1.24.x?
Did you modified the perl file?
Also post back the output of
Code: Select all
rpm -qa | grep dbi
-
- Posts: 184
- Joined: Tue Oct 14, 2008 5:59 pm
yes I have the solution, just go to the DB and delete the event " 136685 " then try again to run zmaudit and if you get another error do it again the same process remove the event from the DB run zmaudit and so on...
it is possible that do you have some opened event without folder or images.
I hope it helps.
J.
it is possible that do you have some opened event without folder or images.
I hope it helps.
J.
-
- Posts: 184
- Joined: Tue Oct 14, 2008 5:59 pm
Hey guys, I'm still having this problem. I just made a script to kill the "find" process every hour but thats not a solution.
Yesterday I updated this zm box to zoneminder-svn but I'm still having the same problem.
If anyone have any clue or some advice I'l be thankfull, also any more info needed please post a reply.
Thanks!
Yesterday I updated this zm box to zoneminder-svn but I'm still having the same problem.
If anyone have any clue or some advice I'l be thankfull, also any more info needed please post a reply.
Thanks!