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 03-22-2007, 07:06 PM
Senior Member
 
Posts: 58
Default How do I drop a corrupt mail db?

Folks,

I've been trying to upgrade from 4.0.3.GA to 4.5.x since they came out. The dev guys have been supportive and told me to do some tasks to find out if any of my DB's were corrupt. Turns out that they are (somehow they got munged up). They've asked me to drop the corrupt DB's and then test the upgrade process. The problem is that I'm not a mysql admin type and everything that I've tried doesn't work.

I've tried issuing a "drop database;" and "use database; drop table xxxx;" and even going to the /opt/zimbra/db/data directories and deleting the mailboxes that were found to be corrupt. None of these worked. I'm attaching a log of a complete upgrade process where I try these things.

Can someone point me to how to drop these tables so that I can upgrade my system?

Thanks,

Juan

ps I've also stood up a separate 4.5.3 system and tried to use imapsync to copy users stuff over, but it seems to get stuck on some mailboxes and I get a "broken pipe" error from imapsync. Anyone ever get this one? I've looked around but can't seem to find any workaround for this either. Thanks!
Attached Files
File Type: txt cleanupgradelog.txt (25.3 KB, 149 views)
Reply With Quote
  #2 (permalink)  
Old 03-24-2007, 01:15 PM
Former Zimbran
 
Posts: 5,606
Default

Juan,
Brian has done a little tweaking to the install script that will do it for you.
I'd wait for that.

Thanks for your help on this BTW

-john
Reply With Quote
  #3 (permalink)  
Old 03-24-2007, 06:47 PM
Senior Member
 
Posts: 58
Default no - thank you!

I'll sit tight.
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.