All recorded events have no duration

Forum for questions and support relating to the 1.24.x releases only.
Locked
User avatar
kongobongo
Posts: 15
Joined: Fri Apr 09, 2010 5:09 pm

All recorded events have no duration

Post by kongobongo »

Hi all,

My zoneminder install was working great up until a few weeks ago, i've just noticed that all recorded events have a duration of 0.0

It triggers fine but doesn't seem to actually record anything, anyone any ideas why this is happening?
toranga
Posts: 1
Joined: Thu Aug 26, 2010 11:44 am

fixed problem

Post by toranga »

I ran into the same problem, here is how i fixed it i opened a log that said a table in the database was crashed so i ran these commands on the computer thats hosting the zomeminder and the mysql database

mysqlcheck --all-databases --auto-repair -ppassword -u user

and that fixed my problem

just remember that mysqlcheck --all-databases --auto-repair -p"yourpassword" -u "yourusername"
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Look at your system log, you will probably see mysql errors.
Anyways, your MySQL probably crashed and now has corrupt tables.
You need to repair those tables, if you have phpmyadmin, just go to the corrupt tables and do a repair operation.
You can read here how to prevent this from happening again:
http://www.zoneminder.com/forums/viewtopic.php?t=15473
Locked