Comment 9 for bug 366691

Revision history for this message
Mathias Gug (mathiaz) wrote :

Relevant error message:

Preparing to replace slapd 2.4.11-0ubuntu6.1 (using .../slapd_2.4.15-1ubuntu3_i386.deb) ...
Stopping OpenLDAP: slapd.
  Dumping to /var/backups/slapd-2.4.11-0ubuntu6.1:
  - directory dc=kowboy,dc=com... /etc/ldap/slapd.conf: line 126: <suffix> Only one suffix is allowed on this hdb backend
slapcat: bad configuration file!
failed.
dpkg: error processing /var/cache/apt/archives/slapd_2.4.15-1ubuntu3_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.15-1ubuntu3... done.
chown: cannot access `/var/lib/ldap\n/var/lib/ldap': No such file or directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1

Was slapd configured properly and running before the upgrade?