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-20-2011, 03:20 PM
Active Member
 
Posts: 29
Default Recovery Account without backup

Hello,
I have an issue with only one email account, this account is causing that all the server goes down when the user search email or when we have tried to use zimbra desktop or any mail client in order to download the emails, until when we have tried to configure the email in a BlackBerry.
I tried to download the emails using Import/Export option but when I tried to import to new account it didn't work just upload a few emails.
I tried to restored in a new account using backup but it didn't work too, because the backups display an error.

So how can i fix this account? Or any idea to how recover the account?

The error that the backup sent is this:

account@server.com system failure: getting map of message id to blob digest
com.zimbra.common.service.ServiceException: system failure: getting map of message id to blob digest
ExceptionId:FullBackupThread:1319094331751:61eeed7 a98dde78e
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248)
at com.zimbra.cs.db.DbBackup.getBlobDigestMap(DbBacku p.java:220)
at com.zimbra.cs.backup.BackupAccountSession$BlobDige sts.preload(BackupAccountSession.java:504)
at com.zimbra.cs.backup.BackupAccountSession.loadBlob DigestMap(BackupAccountSession.java:467)
at com.zimbra.cs.backup.FileBackupTarget$BackupAcctSe ssion.storeBlobsBeforeMaintenanceMode(FileBackupTa rget.java:1411)
at com.zimbra.cs.backup.BackupAccountSession.startFul lBackup(BackupAccountSession.java:130)
at com.zimbra.cs.backup.BackupSet.startFullBackup(Bac kupSet.java:389)
at com.zimbra.cs.backup.FileBackupTarget$FileBackupSe t.startFullBackup(FileBackupTarget.java:967)
at com.zimbra.cs.backup.BackupManager.doBackupFull(Ba ckupManager.java:817)
at com.zimbra.cs.backup.BackupManager$FullBackupThrea d.run(BackupManager.java:223)
Caused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnect ionException: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.io.EOFException
MESSAGE: Can not read response from server. Expected to read 43 bytes, read 23 bytes before connection was unexpectedly lost.

STACKTRACE:

java.io.EOFException: Can not read response from server. Expected to read 43 bytes, read 23 bytes before connection was unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997 )
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO. java:2464)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:2916)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:885)
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360)
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.ja va:2369)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:4 51)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate (MysqlIO.java:2076)
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java :1451)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java :1787)
at com.mysql.jdbc.Connection.execSQL(Connection.java: 3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(P reparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeQuery(Prep aredStatement.java:1467)
at com.zimbra.cs.db.DebugPreparedStatement.executeQue ry(DebugPreparedStatement.java:160)
at org.apache.commons.dbcp.DelegatingPreparedStatemen t.executeQuery(DelegatingPreparedStatement.java:93 )
at com.zimbra.cs.db.DbBackup.getBlobDigestMap(DbBacku p.java:207)
at com.zimbra.cs.backup.BackupAccountSession$BlobDige sts.preload(BackupAccountSession.java:504)
at com.zimbra.cs.backup.BackupAccountSession.loadBlob DigestMap(BackupAccountSession.java:467)
at com.zimbra.cs.backup.FileBackupTarget$BackupAcctSe ssion.storeBlobsBeforeMaintenanceMode(FileBackupTa rget.java:1411)
at com.zimbra.cs.backup.BackupAccountSession.startFul lBackup(BackupAccountSession.java:130)
at com.zimbra.cs.backup.BackupSet.startFullBackup(Bac kupSet.java:389)
at com.zimbra.cs.backup.FileBackupTarget$FileBackupSe t.startFullBackup(FileBackupTarget.java:967)
at com.zimbra.cs.backup.BackupManager.doBackupFull(Ba ckupManager.java:817)
at com.zimbra.cs.backup.BackupManager$FullBackupThrea d.run(BackupManager.java:223)


** END NESTED EXCEPTION **



Last packet sent to the server was 15199 ms ago.

Query being executed when exception was thrown:

SELECT id, mod_content, blob_digest FROM mboxgroup49.mail_item WHERE mailbox_id = 149
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO. java:2622)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:2916)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:885)
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360)
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.ja va:2369)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:4 51)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate (MysqlIO.java:2076)
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java :1451)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java :1787)
at com.mysql.jdbc.Connection.execSQL(Connection.java: 3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(P reparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeQuery(Prep aredStatement.java:1467)
at com.zimbra.cs.db.DebugPreparedStatement.executeQue ry(DebugPreparedStatement.java:160)
at org.apache.commons.dbcp.DelegatingPreparedStatemen t.executeQuery(DelegatingPreparedStatement.java:93 )
at com.zimbra.cs.db.DbBackup.getBlobDigestMap(DbBacku p.java:207)
... 8 more
Reply With Quote
  #2 (permalink)  
Old 10-21-2011, 01:19 AM
Trained Alumni
 
Posts: 160
Default

Hi,

Are the services all running?

Code:
zmcontrol status
Regards
Reply With Quote
  #3 (permalink)  
Old 10-21-2011, 07:12 AM
Active Member
 
Posts: 29
Default

Yes,
All the service are running. Zimbra is working normal, the backups run normal too but only with this email account display the error. I tried restored other account from the backups and I could without problem, the issue is only with this account
Reply With Quote
  #4 (permalink)  
Old 10-21-2011, 07:20 AM
Trained Alumni
 
Posts: 160
Default

Have you try reindexing the account?
Reply With Quote
  #5 (permalink)  
Old 10-21-2011, 07:27 AM
Active Member
 
Posts: 29
Default

Not yet, because, I don't sure how much it will take and I don't sure if this will down all the server too and as I know I can't stop the reindex process until it finish, right?
Reply With Quote
  #6 (permalink)  
Old 10-21-2011, 07:40 AM
Trained Alumni
 
Posts: 160
Default

Yes, this is the message to warning about this operation:

Quote:
Re-Indexing a user's mailbox can take a long time and CANNOT be undone.
If re-indexing is not allowed to finish, then the index will be incomplete and searches may not return all results.
Regards
Reply With Quote
  #7 (permalink)  
Old 10-21-2011, 07:49 AM
Active Member
 
Posts: 29
Default

Is possible copy all mailbox to a new account and try reindex this new account? Or what do you recommend me?
Reply With Quote
  #8 (permalink)  
Old 10-21-2011, 08:14 AM
Trained Alumni
 
Posts: 160
Default

Quote:
Originally Posted by isacap18 View Post
Is possible copy all mailbox to a new account and try reindex this new account? Or what do you recommend me?
You can create a new account, copy all items from the older to the newer account. Then, after that you make sure that the new account has no problems (make a backup and try a restore), you can delete the older and rename the newer with the old name.

Tell me if this resolve the issue.

Regards
Reply With Quote
  #9 (permalink)  
Old 10-21-2011, 08:19 AM
Active Member
 
Posts: 29
Default

How Can I do that? Is there a command to do this? or which steps can I follow to do it as the best way?
Reply With Quote
  #10 (permalink)  
Old 10-21-2011, 08:37 AM
Trained Alumni
 
Posts: 160
Default

Quote:
Originally Posted by isacap18 View Post
How Can I do that? Is there a command to do this? or which steps can I follow to do it as the best way?
Do you mean how can I transfer all items across mailboxes?
To do that you can use the imapsync tools:

Guide to imapsync - Zimbra :: Wiki

Regards
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.