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-20-2007, 02:03 PM
Junior Member
 
Posts: 8
Default Clock reset - emails missing...

Our Zimbra server had some clock issues (most likely vmware skew issues) causing it to move forward over a month. Now that I reset the clock back the emails are missing! They don't show up in any users GUI. If I "reindex" a mailbox the numbers appear correct but the emails still don't show up. The calendar is missing recent items as well.

Any thoughts on what I need to do?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 02-20-2007, 04:32 PM
Junior Member
 
Posts: 8
Default

Another data point...

The /opt/zimbra/data directory only contains no messages between Dec 28 and Feb 20 (today). Does that mean that Zimbra deleted those files when the clock was set back? Sounds like I might need to recover from backup. Has this happened to anyone before?
Reply With Quote
  #3 (permalink)  
Old 02-20-2007, 05:46 PM
Active Member
 
Posts: 33
Post VMware Snapshot

Quote:
Originally Posted by madcat View Post
Another data point...

The /opt/zimbra/data directory only contains no messages between Dec 28 and Feb 20 (today). Does that mean that Zimbra deleted those files when the clock was set back? Sounds like I might need to recover from backup. Has this happened to anyone before?
Where you are utilizing VMware, I almost wonder if somehow the machine was reverted to an old snapshot. But I guess that doesn't make a whole lot of sense if you clock was a month ahead rather than a month behind.

I have not experienced this issue though, sorry.

Edit: I just checked on one of my VMware guest operating systems and its clock had skewed in the forward direction, rather than behind. So I guess it's possible for that to happen.

Last edited by MidSpeck; 02-23-2007 at 12:47 PM.. Reason: Updated information
Reply With Quote
  #4 (permalink)  
Old 02-20-2007, 05:49 PM
Zimbra Employee
 
Posts: 1,434
Default /opt/zimbra/store?

Quote:
Originally Posted by madcat View Post
The /opt/zimbra/data directory only contains no messages between Dec 28 and Feb 20 (today). Does that mean that Zimbra deleted those files when the clock was set back? Sounds like I might need to recover from backup. Has this happened to anyone before?
Do you mean the /opt/zimbra/store directory? And wouldn't it make sense that there were no files in that date range -- no messages were deposited while the clock was set to those times, right?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 02-20-2007, 06:29 PM
Junior Member
 
Posts: 8
Default

Yes, /opt/zimbra/store (not data), sorry about that.

I pulled a backup image of the machine from the day before and it was in the same state (only files from Dec 28 and earlier in store/). I'm going to grab another image from the last known running state.

But I believe I have found out what happened. We had some issues a few months ago when the there was a power outage and the dbm files were corrupt (LDAP). I removed the lock/tmp files and things sprang back to life. It looks like a system admin did the same thing this weekend to try and recover from this weekends power outage.

Looks like I'll need to pull the new emails over from one image into the other to keep things running. Can I just copy over the store files and re-index?
Reply With Quote
  #6 (permalink)  
Old 02-20-2007, 09:03 PM
Zimbra Employee
 
Posts: 1,434
Default Confused...

Quote:
Originally Posted by madcat View Post
But I believe I have found out what happened. We had some issues a few months ago when the there was a power outage and the dbm files were corrupt (LDAP). I removed the lock/tmp files and things sprang back to life. It looks like a system admin did the same thing this weekend to try and recover from this weekends power outage.
I'm a bit confused. How would removing the lockfiles cause months of messages to disappear?

Quote:
Originally Posted by madcat View Post
Looks like I'll need to pull the new emails over from one image into the other to keep things running. Can I just copy over the store files and re-index?
No, as there's also the database to consider. You can use zmlmtpinject or zmmailbox addMessage to do this, though.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.