Results 1 to 5 of 5

Thread: [SOLVED] Restore on disaster recovery fails

  1. #1
    deltatango is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    8

    Default [SOLVED] Restore on disaster recovery fails

    Hi folks, I still struggle with a planned server move (Mac OS 10.4, Zimbra Network Edition 6.0.1), particularly with filling the server with data from a backup.

    I follow Backup and Restore and after "zmrestoreldap -lb " I run into problems. Once I restored the LDAP data an "zmcontrol status" gives:

    "Unable to determine enabled services from ldap. Enabled services read from cache. Service list may be inaccurate."

    Which I consider an error. And when I then try to do a zmrestoreoffline, mailbox.log shows this:
    "2009-10-19 10:35:27,849 FATAL [main] [] system - Config initialization failed
    com.zimbra.common.service.ServiceException: system failure: unable to lookup server by name: mail.proximic.com message: [LDAP: error code 49 - Invalid Credentials]"

    Which for me looks like the LDAP password did change during the previous commands.

    So how do I change the LDAP credentials to something that works?

    And why does the problem occur at all?

    And the documentation tells I should have the same passwords on the new server as they are on the old one. If that's the culprit, how do I get the old server's LDAP credentials?

    Can I use zmldappasswd to change it?

  2. #2
    deltatango is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    8

    Default

    Now I changed the ldap passwd via "zmldappasswd" (all kinds of passwords, from -a to -r) to no avail. When issuing "zmcontrol start", I still geht the error message:
    "Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist."

    So what is "zmldappasswd" really for?

  3. #3
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    hosts file and DNS set correctly?

  4. #4
    deltatango is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    8

    Default

    Quote Originally Posted by iway View Post
    hosts file and DNS set correctly?
    Yes, while I was already sure it was the same on the old (still in production) server and the new one, but I just checked again - just in case.

  5. #5
    deltatango is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    8

    Default

    Now the data import works (appears to work). You have indeed to sync half a dozen passwords by hand before you are able to successfully restore you data.
    Not to mention manually resetting the database with the peculiarity under Mac OS X with more than 5GB RAM (you have to issue "/opt/local/libexex/zmmyinit --mysql_memory_percent 10" or something).

    Still the documentation could be somewhat more precise here, as normally whan you need a desaster recovery you need it ASAP. I will see whether I can contribute something in this regard in the Wiki.

    While the Admin manual coming with the Zimbra download only lacks some minor bit of explanation regarding the LDAP password sync, the online docs: Backup and Restore are missing the part of password sync entirely.
    Last edited by deltatango; 10-19-2009 at 09:10 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disaster recovery test.
    By Dirk in forum Administrators
    Replies: 4
    Last Post: 10-07-2008, 11:18 AM
  2. Question about redo logs and disaster recovery
    By dlochart in forum Administrators
    Replies: 10
    Last Post: 08-12-2008, 03:40 AM
  3. 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
  4. Zimbra NE: Disaster Recovery blues
    By generic31 in forum Administrators
    Replies: 7
    Last Post: 07-25-2007, 12:33 AM
  5. Disaster Recovery Steps for v3.1.4 Network Edition
    By ThorGoLucky in forum Administrators
    Replies: 0
    Last Post: 09-08-2006, 11:08 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
  •