[Pkg-openldap-devel] Bug#742862: Bug#742862: upgrade to 2.4.39-1 breaks slapd

Erwan David erwan at rail.eu.org
Tue Apr 1 06:18:52 UTC 2014


> 
> That BDB error is the cause of your upgrade failing; after this it's
> certainly in an inconsistent state. The old (BDB 5.1) databases were
> supposed to be moved away in the previous step and the slapadd should
> create a new (BDB 5.3) database in an empty /var/lib/ldap, but in your
> log, no directories are listed in the "Moving old database
> directories" step so the old database files are still there.

I checked : both libdb5.1 and libdb5.3 are installed.

> 
> So I'd still like to know whether you can reproduce the upgrade
> failure, and I'd also like to know the result of this command at the
> time of the upgrade (maybe after restoring your backup, but before
> upgrading): grep olcSuffix
> /etc/ldap/slapd.d/cn\=config/olcDatabase*.ldif

I get /etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif:olcSuffix: dc=rail,dc=eu,dc=org

Then upgrading gives same error

> Might also be relevant: did you ever edit the files under
> /etc/ldap/slapd.d by hand, ie. with a text editor or script?
> 

I don't remember ever editing it, by hand. However, it was on another
server, And I just reinstalled /etc/ldap and /var/lib/ldap from this
other server at migration time.

Note also that /etc/ldap and /var/lib/ldap both are symbolic links to
respectively /secure/etc/ldap and /secure/var/lib/ldap,/secure being
an encrypted disk used to store confidential infos.



More information about the Pkg-openldap-devel mailing list