Results 1 to 4 of 4

Thread: LDAP won't start

  1. #1
    Join Date
    Nov 2005
    Posts
    108
    Rep Power
    10

    Default LDAP won't start

    Hope someone can help!

    I've got a problem with ldap. Server was running fine until I tried to add an alias and got errors. Figured they were ldap errors. Stopped the server, ran zmfixperms --extended to see if that would help.

    Tried to restart the server and get the following error:
    Code:
    Failed to start slapd.  Attempting debug start to determine error.
    hdb_db_open: database "": db_open(/opt/zimbra/data/ldap/hdb/db/id2entry.bdb) failed: Invalid argument (22).
    backend_startup_one: bi_db_open failed! (22)
    bdb_db_close: database "": alock_close failed
    I've searched the forums and found some similar issues with older versions...
    I'm running:
    Code:
    zmcontrol -v
    
    Release 6.0.1_GA_1816.RHEL5_64_20090911174852 CentOS5_64 FOSS edition
    My backups appear to be corrupted so I'm stuck.

    I've read the following post: [SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution)

    but can't seem to figure out what steps to take for 6.x version of ldap.

    Anyone?

    Thank you so much!

    jimbo

  2. #2
    Join Date
    Nov 2005
    Posts
    108
    Rep Power
    10

    Default

    Anybody know what data is contained in the id2entry.bdb database?
    Is there any possibility of recreating the data?

    This is for a small Zimbra server - only 5 users.

  3. #3
    Join Date
    Nov 2005
    Posts
    108
    Rep Power
    10

    Default ldap.bak tweaks?

    I've gone ahead and created a new Zimbra instance running the same version as the one that won't start. I created the users, spam accounts etc in the same order they were created in the original. So the directories in the store/0 directory match up with the users mail stores in the original. All passwords and user accounts match.

    My question is...

    Is there a way to modify and use the ldap.bak file I can successfully create in the new instance of Zimbra to replace the corrupted ldap in the old instance of Zimbra?

    I see a lot of UUIDs in there. Wondering if these will cause a problem if they don't match to old Zimbra?

    ANY help or suggestions will be greatly appreciated. Just tell me where to ship a case of your favorite beer!

    jimbo

  4. #4
    Join Date
    Nov 2005
    Posts
    108
    Rep Power
    10

    Unhappy sigh

    OK, gave up and restored emails with zmlmtpinject.

Similar Threads

  1. The installer was interrupted...
    By spiderbo in forum Zimbra Connector for Outlook
    Replies: 9
    Last Post: 05-23-2013, 07:33 AM
  2. Replies: 8
    Last Post: 12-23-2010, 11:17 AM
  3. Replies: 5
    Last Post: 11-09-2007, 01:59 PM
  4. LDAP won't start after reboot
    By cdyer in forum Administrators
    Replies: 0
    Last Post: 06-13-2006, 01:52 AM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

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