[SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1667
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

[SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution)

Postby quanah » Thu Apr 21, 2011 9:49 pm

You could set up a cronjob to use the /opt/zimbra/libexec/zmslapcat script to trivially create backups of the LDAP server for you.


--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1667
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

[SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution)

Postby quanah » Thu Apr 21, 2011 9:51 pm

I will also note that the steps you quoted have one unnecessary step. There is no need to run slapindex after doing a slapadd. slapadd automatically creates the indices for you. The steps quoted also do not apply directly to ZCS 6.0 and later, as they do not use slapd.conf but instead use the cn=config backend.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
putt1ck
Posts: 25
Joined: Fri Sep 12, 2014 10:39 pm

[SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution)

Postby putt1ck » Tue Jun 26, 2012 6:00 am

For anyone encountering this issue and finding the db_recover command missing, it appears to be now:
/opt/zimbra/bdb/bin/db_recover -v
HTH
Chris
jerryboi
Advanced member
Advanced member
Posts: 122
Joined: Fri Sep 12, 2014 10:09 pm

[SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution)

Postby jerryboi » Thu Jan 24, 2013 4:44 pm

folder names on version 7:

cd /opt/zimbra/data/ldap/hdb/db

/opt/zimbra/bdb/bin/db_recover

Return to “Administrators”

Who is online

Users browsing this forum: MSN [Bot] and 9 guests