Results 1 to 6 of 6

Thread: restore fails (OS 4.5.6)

  1. #1
    rickvv is offline Special Member
    Join Date
    Nov 2006
    Location
    Minneapolis, MN
    Posts
    101
    Rep Power
    8

    Default restore fails (OS 4.5.6)

    Having done a backup, following the OS instructions (script version in the wiki), the restore fails with broken permissions all over the place.
    zmfixperms doesn't seem to work properly.

    Since then, we have done a clean install, and have not copied the /opt/zimbra directory back into the new, working install.

    What would be the best way to import the mailboxes into the new running install from the un-gzipped directory, so as to lose the least amount of down time?
    We have been fighting this for 36 hours, and client is very anxious to get mail back. There are only 5 mission-critical mail users, but one is company owner.

    (OS FC-5, 4.5.6 zimbra)

    Help, please.

    used this method:
    Open Source Edition Backup Procedure - Zimbra :: Wiki

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    I have used that restore method myself and it worked okay. Did you just run the zmfixperms? have you also tried the other method :-

    Code:
    chown -R zimbra:zimbra /opt/zimbra
    /opt/zimbra/libexec/zmfixperms
    What issues were you getting after the zmfixperms? What directories/files were owned incorrectly?

    If you have a good backup of /opt/zimbra then it would be better to sort this issue out, than try and re-inject the messages.

  3. #3
    rickvv is offline Special Member
    Join Date
    Nov 2006
    Location
    Minneapolis, MN
    Posts
    101
    Rep Power
    8

    Default

    THe whole issue started during a relatively routine zmcontrol stop & start (logger was showing up with red 'x' in admin panel. )
    After that stop/start, most services refused to start again.
    So i stopped the rest of svcs, and copied the /opt/zimbra folder out of the way. The restores got things uglier.

    We ran into the 4.5.6 fixperms bug (as root, perdition folder couldn't be found, or something). Tried the posted bug-fix method, but perdition was still screwy.

    We then ran "chown -R zimbra:zimbra /opt/zimbra"
    and did the zmfixperms as zimbra user.
    Got plenty of "permission denied", using that method.
    But -- we got the installation limping (no stats, no queues, no inbound mail), so I can at least get to user's folders and I'll be using IMAP to salvage the messages/mailboxes by using outlook or similar.

    We're going to rebuild complete zimbra from ground up on ubuntu and probably 5.0 Network edition.

    thanks, we love zimbra, but this was a trying 48 hours.
    appreciate your help.
    rick

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    zmfixperms should be executed as *root* otherwise if you have a file/directory owned by zimbra and it should be postfix/postdrop it won't be able to change it.

  5. #5
    rickvv is offline Special Member
    Join Date
    Nov 2006
    Location
    Minneapolis, MN
    Posts
    101
    Rep Power
    8

    Default

    I know everyone's past this version (4.5.6), but when I run fixperms as *root*, the perdition bug doesn't seem to get taken care of. And there are several forum or wiki posts that say run the perm fix as zimbra <sigh>

    Task today will be salvage mailboxes, and getting these users mail running on an offsite hosted location for a short term.

    (I just left on a one-week holiday, so I have no hands-on at the location).

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    When you are back just shout and we can try and help with the recovery. Try and enjoy your week off

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disaster Recovery Restore of Zimbra on Apple OS X
    By k.beeby@albion.co.uk in forum Administrators
    Replies: 2
    Last Post: 03-11-2008, 08:40 AM
  2. Replies: 5
    Last Post: 01-06-2008, 11:33 PM
  3. Replies: 5
    Last Post: 12-04-2007, 05:40 PM
  4. Backup and Restore Zimbra OS Version
    By ejms07 in forum Migration
    Replies: 5
    Last Post: 04-10-2007, 08:56 PM
  5. OS X Zimbra fails to run
    By FastEddy760 in forum Installation
    Replies: 9
    Last Post: 03-25-2006, 01:33 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
  •