ldap database error

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
armitage318
Advanced member
Advanced member
Posts: 98
Joined: Sat Sep 13, 2014 2:01 am

ldap database error

Post by armitage318 »

Hi,
I am using a very old Zimbra version:

Code: Select all

Release 6.0.16_GA_2998.DEBIAN4.0 DEBIAN4.0 FOSS edition.
Since I ran out of disk space on / partition, I:

- added a second virtual disk
- stopped services (zmcontrol stop)
- copied /opt/zimbra to new disks
- rename /opt/zimbra to /opt/_zimbra
- mkdir /opt/zimbra and mount new disk on it
- restart services

and I got error about LDAP:

Code: Select all

Failed to start slapd. Attemping debug start to determine error.
60d2596b hdb_db_open: database "": db_open(/opt/zimbra/data/ldap/hdb/db/id2entry.bdb) failed: invalid argument (22)
60d2596b  backend_startup_one (type=hdb, suffix=""): bi_db_open: failed! (22)
60d2596b  bdb_db_clone: database "": alock_close failed

I tried with

Code: Select all

/opt/zimbra/bdb-4.7.25.4/bin/db_recover -v
apparently such task went fine, but I am still unable to start processes (slapd fails agan).
Any suggestion?

Thank you!!
Post Reply