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

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 11-03-2008, 04:00 AM
Urs Urs is offline
Member
 
Posts: 14
Question MySQL DB corrupt

Help needed,

my DB got corrupted after a system crash. I tried several DB checks but nothing worked till now and if I try to upgrade from 5.0.8_GA to 5.0.10_GA I am getting the following error:

Do you want to verify message store database integrity? [Y]
Verifying integrity of message store databases. This may take a while.
mysqld is alive
/opt/zimbra/mysql/bin/mysqlcheck: Got error: 2013: Lost connection to MySQL server during query when executing 'CHECK TABLE ... CHANGED'
Generating report
Database errors found.
/opt/zimbra/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.cnf -S /opt/zimbra/db/mysql.sock -A -C -s -u root --password=Xg8RyCgUi2TE2ilc1bCmK1s8UAt7e --auto-repair
mboxgroup10.mail_item
error : Corrupt
command failed

any help?


Last edited by Urs; 11-03-2008 at 04:03 AM..
Reply With Quote
  #2 (permalink)  
Old 11-03-2008, 04:04 AM
Moderator
 
Posts: 7,928
Default

Have a read of this thread :- [SOLVED] Zimbra SQL is Dead - Cannot Start ./mysql.server
__________________
Reply With Quote
  #3 (permalink)  
Old 11-03-2008, 04:25 AM
Urs Urs is offline
Member
 
Posts: 14
Default

thanks uxbod for your replay.

I read trou the thread, but it's to confusing to me.

If I check the Status everything sems OK but still it does not work and the only errors I can see is the above mentoned errors

zimbra@zimbra2:~$ zmcontrol status
Host zimbra2.allved.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
zimbra@zimbra2:~$

is there a way I can repair the MySQL DB?
Reply With Quote
  #4 (permalink)  
Old 11-03-2008, 04:43 AM
Moderator
 
Posts: 7,928
Default

It would appear you need to follow this Wiki :- Mysql Crash Recovery - Zimbra :: Wiki. Though make sure you backup your system first !!!
__________________
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.