Page 1 of 1

Can't write log entry 'insert into Logs | /zm/Logs' crashed

Posted: Fri Aug 08, 2014 2:16 am
by sincityharley
My disk became full the other day and I was issues logging to ZM. So I deleted some events to bring me back to 40% disk usage. Now I can log into ZM but I am met with this error. Can anyone tell me what I need to do to resolve it?

Can't write log entry 'insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( 1407463834.591162, 'web_php', 1503, -3, 'FAT', 'SQL-ERR \'Table \'./zm/Logs\' is marked as crashed and last (automatic?) repair failed\', statement was \'select Level, count(Level) as LevelCount from Logs where Level < 0 and from_unixtime(TimeKey) + interval 900 second > now() group by Level order by Level asc\'', '/usr/share/zoneminder/includes/database.php', 78 )': Table './zm/Logs' is marked as crashed and last (automatic?) repair failed