Results 1 to 6 of 6

Thread: Clock reset - emails missing...

  1. #1
    madcat is offline Junior Member
    Join Date
    Mar 2006
    Posts
    8
    Rep Power
    9

    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!

  2. #2
    madcat is offline Junior Member
    Join Date
    Mar 2006
    Posts
    8
    Rep Power
    9

    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?

  3. #3
    MidSpeck is offline Active Member
    Join Date
    Feb 2007
    Posts
    33
    Rep Power
    8

    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

  4. #4
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    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!

  5. #5
    madcat is offline Junior Member
    Join Date
    Mar 2006
    Posts
    8
    Rep Power
    9

    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?

  6. #6
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 AM
  2. Missing Prerequisites on Debian
    By WD_40 in forum Installation
    Replies: 2
    Last Post: 01-16-2007, 09:38 AM
  3. Missing emails
    By dusty_nz in forum Administrators
    Replies: 1
    Last Post: 10-24-2006, 10:34 PM
  4. Not receiving emails
    By koby in forum Installation
    Replies: 2
    Last Post: 08-28-2006, 03:29 AM
  5. imapsync problem missing emails
    By zimsteve in forum Administrators
    Replies: 3
    Last Post: 07-26-2006, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •