[Pkg-openldap-devel] Bug#593566: post-installation script failed on upgrade from 2.4.23-2 to -3

Pavel Zubkou p.zubkou at gmail.com
Fri Aug 20 09:39:43 UTC 2010


post-installation script failed on upgrade from 2.4.23-2 to -3 with the
following error message:

Setting up slapd (2.4.23-3) ...
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.23-2... done.
  Migrating slapd.conf to slapd.d configuration style... failed.

Migrating slapd.conf file (/etc/ldap/slapd.conf) to slapd.d failed with
the following
error while running slaptest:
    bdb(dc=localhost): Program version 4.8 doesn't match environment
version 4.7
    hdb_db_open: database "dc=localhost" cannot be opened, err -30971.
Restore from backup!
    backend_startup_one (type=hdb, suffix="dc=localhost"): bi_db_open
failed! (-30971)
    slap_startup failed (test would succeed using the -u switch)
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)





More information about the Pkg-openldap-devel mailing list