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 07-07-2011, 07:24 PM
Special Member
 
Posts: 108
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
Reply With Quote
  #2 (permalink)  
Old 07-07-2011, 08:33 PM
Special Member
 
Posts: 108
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.
Reply With Quote
  #3 (permalink)  
Old 07-08-2011, 11:17 AM
Special Member
 
Posts: 108
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
Reply With Quote
  #4 (permalink)  
Old 07-10-2011, 08:01 PM
Special Member
 
Posts: 108
Unhappy sigh

OK, gave up and restored emails with zmlmtpinject.
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.