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 02-11-2009, 04:20 AM
Active Member
 
Posts: 25
Default [SOLVED] URGENT!! zmmailboxdctl is not running

Hi.

This morning i restart zimbra server and then i have stoped the service zmmailboxdctl. I can't start this service.

My mailbox.log:

2009-02-11 13:02:23,621 INFO [PostStartupCrashRecovery] [] cache - initializing folder and tag caches for mailbox 41
2009-02-11 13:02:24,234 FATAL [PostStartupCrashRecovery] [] system - Unable to commit database transaction. Forcing server to abort.
com.zimbra.common.service.ServiceException: system failure: committing database transaction
ExceptionId:PostStartupCrashRecovery:1234353744233 :18bdfe7e9da3b1f5
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.db.DbPool$Connection.commit(DbPool.j ava:146)
at com.zimbra.cs.mailbox.Mailbox.endTransaction(Mailb ox.java:6885)
at com.zimbra.cs.mailbox.Mailbox.getConfig(Mailbox.ja va:1256)
at com.zimbra.cs.mailbox.Mailbox.finishInitialization (Mailbox.java:530)
at com.zimbra.cs.mailbox.MailboxManager.getMailboxByI d(MailboxManager.java:430)
at com.zimbra.cs.mailbox.MailboxManager.getMailboxByI d(MailboxManager.java:328)
at com.zimbra.cs.redolog.op.IndexItem.redo(IndexItem. java:93)
at com.zimbra.cs.redolog.RedoLogManager$PostStartupCr ashRecoveryThread.run(RedoLogManager.java:306)
Caused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnect ionException: Communications link failure during commit(). Transaction resolution unknown.
at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:888)
at com.mysql.jdbc.Connection.commit(Connection.java:2 246)
at org.apache.commons.dbcp.DelegatingConnection.commi t(DelegatingConnection.java:248)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuar dConnectionWrapper.commit(PoolingDataSource.java:2 44)
at com.zimbra.cs.db.DbPool$Connection.commit(DbPool.j ava:144)
... 7 more


I need help. I don't know what can i do.

Thanks and sorry with my english. I'm spanish administrator.
Reply With Quote
  #2 (permalink)  
Old 02-11-2009, 04:32 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Please post the output from
Code:
su - zimbra
zmcontrol -v
__________________
Reply With Quote
  #3 (permalink)  
Old 02-11-2009, 04:40 AM
Active Member
 
Posts: 25
Default

Release 5.0.10_GA_2638.UBUNTU8 UBUNTU8 FOSS edition
Reply With Quote
  #4 (permalink)  
Old 02-11-2009, 04:47 AM
Moderator
 
Posts: 7,928
Default

Okay, it sounds like one of your mailboxes is corrupt. So to find the one that is affected you can run
Code:
su - zimbra
zmprov gaa | xargs -i zmprov getMailboxInfo {}
Once you have found the account using that mailbox, disable IMAP to that account and restart the mailbox service using
Code:
zmmailboxdctl restart
When that is running again try to re-index the account using
Code:
zmprov rim {user@domain} start
when that has finished re-enable IMAP access and see if that has cured the problem.
__________________
Reply With Quote
  #5 (permalink)  
Old 02-11-2009, 04:53 AM
Active Member
 
Posts: 25
Default

Thanks a lot.

I have this message with zmprov:

ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Reply With Quote
  #6 (permalink)  
Old 02-11-2009, 04:57 AM
Moderator
 
Posts: 7,928
Default

Code:
zmmailboxdctl restart
to get it started first.
__________________
Reply With Quote
  #7 (permalink)  
Old 02-11-2009, 05:05 AM
Active Member
 
Posts: 25
Default

I can't start zmmailboxdctl.

I do restart and next zmprov. Continue the same message

ERROR: zclient.IO_ERROR (invoke Connection reset, server: localhost) (cause: java.net.SocketException Connection reset)


In /var/log/zimbra.log i have this:

Feb 11 14:06:28 correu zmmailboxdmgr[5679]: stale pid 5212 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Feb 11 14:06:28 correu zmmailboxdmgr[5679]: assuming no other instance is running
Feb 11 14:06:28 correu zmmailboxdmgr[5679]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Feb 11 14:06:28 correu zmmailboxdmgr[5679]: assuming no other instance is running
Feb 11 14:06:28 correu zmmailboxdmgr[5679]: no manager process is running
Reply With Quote
  #8 (permalink)  
Old 02-11-2009, 05:09 AM
Moderator
 
Posts: 7,928
Default

Any new messages in /opt/zimbra/log/mailboxd.log ?
__________________
Reply With Quote
  #9 (permalink)  
Old 02-11-2009, 05:14 AM
Active Member
 
Posts: 25
Default

No. Is the same.

I know the mailbox user corrupt. Yesterday one user can't open his mailbox. When this morning i restart service the zmmailboxdctl fails.

Only have his name. I can't find his mailbox for delete it.

More help?
Reply With Quote
  #10 (permalink)  
Old 02-11-2009, 05:28 AM
Moderator
 
Posts: 7,928
Default

Looks like you are going to have to go through Mysql Crash Recovery - Zimbra :: Wiki. Please ensure you have a recent backup before performing this operation.
__________________

Last edited by uxbod; 02-11-2009 at 05:30 AM..
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.