Zoneminder fills hard drive and dont start

Forum for questions and support relating to the 1.25.x releases only.
Locked
trava80
Posts: 1
Joined: Mon Sep 24, 2012 6:38 pm

Zoneminder fills hard drive and dont start

Post by trava80 »

Hello,

First of all apologize for my English.

I have Ubuntu 12.04 and ZoneMinder 1.25 installed with this tutorial http://www.zoneminder.com/wiki/index.ph ... e_easy_way

The filters seem to not work properly. besides the filter purge when full, I have set the filter to events over 15 days are removed, but it has never worked well, because zoneminder was removing events, to be without one.

Now when I enter the ZoneMinder site puts this,
Can't write log entry 'insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( 1349189359.800799, 'web_php', 7779, -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
Can I recover or repair zm or i have to reinstall?

If I have to reinstall, I can recover the cam settings?

regards.
usersenior
Posts: 24
Joined: Tue Jul 10, 2012 8:34 pm

Re: Zoneminder fills hard drive and dont start

Post by usersenior »

stop mysql and make it
cd /var/lib/mysql/zm/

myisamchk -r *.MYI

after make this start mysql
Locked