[Pkg-openldap-devel] Bug#665199: Path failure in slapd backup restore install script
Chris Hiestand
chiestand at salk.edu
Thu Jul 26 23:32:11 UTC 2012
I can reproduce this; I get a failed slapd upgrade from Squeeze to Wheezy.
For some reason slapcat is never run and the .ldif file is never created.
Then load_databases() is run and tries to access a file that doesn't
exist.
> chiestand at sagan:/tmp/openldap-2.4.31/debian$ sudo dpkg --configure -a
> Setting up slapd (2.4.31-1) ...
> Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.23-7.3... done.
> Moving old database directories to /var/backups:
> - directory dc=aa,dc=bb,dc=cc... done.
> Loading from /var/backups/slapd-2.4.23-7.3:
> - directory dc=aa,dc=bb,dc=cc... failed.
>
> Loading the database from the LDIF dump failed with the following
> error while running slapadd:
> /var/backups/slapd-2.4.23-7.3/dc=aa,dc=bb,dc=cc.ldif: No such file or directory
> dpkg: error processing slapd (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> slapd
More information about the Pkg-openldap-devel
mailing list