Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-23-2008, 09:01 AM
Active Member
 
Posts: 41
Default Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it

[zimbra@mail ~]$ tail /opt/zimbra/log/logger_mysql_error.log
081023 7:01:33 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:01:33 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:01:33 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:01:33 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:10:06 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:10:06 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:10:06 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:10:06 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:10:06 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it
081023 7:10:06 [ERROR] /opt/zimbra/logger/mysql/libexec/mysqld: Incorrect key file for table './zimbra_logger/mta.MYI'; try to repair it

So - this install has been cursed for over a year. I've yet to get the logger working properly. I started at 4.5.6 and have now upgraded all teh way to 5.0.10. Repair table has been run numerous times on this table with no luck. I've followed the wiki and at least 10 other posts compaining about the logger.

Every check i've run across is now working OK - except for this error i receive. Does the error above indicate something specific? (perhaps i should delete from x on all tables? do i need to keep data in certain tables?)

Also - i need to repair the zimbra_logger tables such as raw_logs from time to time as they turn corrupt every week or so.

-----

If we can't do a specific fix is there a way to basically reinstall the entire logging piece? If not, perhaps one should be added due to teh number of difficulties users encounter.
Reply With Quote
  #2 (permalink)  
Old 10-23-2008, 10:17 AM
Active Member
 
Posts: 41
Default

Typical! As soon as i post it starts working....

I'm still seeing this error, however. Should i alltempt to clean out the tables to bring the key restraints back in line - or just leave it?
Reply With Quote
  #3 (permalink)  
Old 10-23-2008, 10:50 AM
Moderator
 
Posts: 7,911
Default

Code:
su - zimbra
logmysql
use zimbra_logger;
check table mta;
repair table mta;
check table mta;
if this is happening all the time you need to check all your logfiles for any error messages. Does dmesg or /var/log/messages show anything at all ?
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.