Comment 4 for bug 999153

Revision history for this message
Omar BOURAS (omar-bouras) wrote :

Thank You for the answers.
I have followed the steps that You mentionned. However I got this message when executing sudo apt-get -f install
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.25-1.1ubuntu4.1... done.
  Moving old database directories to /var/backups:
  - directory dc=nodomain... done.
  Loading from /var/backups/slapd-2.4.25-1.1ubuntu4.1:
  - directory dc=nodomain... failed.

Loading the database from the LDIF dump failed with the following
error while running slapadd:
    slapadd: line 29: database #1 (dc=nodomain) not configured to hold "dc=example,dc=com"; did you mean to use database #2 (dc=example,dc=com)?
dpkg : erreur de traitement de slapd (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
It is to notice that I already have a slapd configured
B.R