Comment 3 for bug 397733

Revision history for this message
wayward4now (wayward4now) wrote : Re: [Bug 397733] Re: package slapd 2.4.15-1ubuntu3 failed to install/upgrade:

On Wed, 2009-10-07 at 17:43 +0000, Chuck Short wrote:
> Relevant error:
>
> Setting up slapd (2.4.15-1ubuntu3) ...
>
> Installing new version of config file /etc/ldap/schema/README ...
>
> Installing new version of config file /etc/ldap/schema/cosine.ldif ...
>
> Installing new version of config file
> /etc/ldap/schema/inetorgperson.ldif ...
>
> Installing new version of config file /etc/ldap/schema/nis.ldif ...
>
> Installing new version of config file /etc/ldap/schema/openldap.ldif ...
>
> Installing new version of config file /etc/ldap/schema/duaconf.schema
> ...
>
> Installing new version of config file /etc/ldap/schema/dyngroup.schema
> ...
>
> Installing new version of config file
> /etc/ldap/schema/inetorgperson.schema ...
>
> Installing new version of config file /etc/ldap/schema/misc.schema ...
>
> Installing new version of config file /etc/ldap/schema/nadf.schema ...
>
> Installing new version of config file /etc/ldap/schema/nis.schema ...
>
> Installing new version of config file /etc/ldap/schema/openldap.schema
> ...
>
> Installing new version of config file /etc/apparmor.d/usr.sbin.slapd ...
>
> Installing new version of config file /etc/default/slapd ...
>
> Installing new version of config file /etc/init.d/slapd ...
>
> Backing up /etc/ldap/slapd.conf in
> /var/backups/slapd-2.4.9-0ubuntu0.8.04.2... done.
>
> failed.
>
>
> Migrating slapd.conf file (/tmp/upgrade_slapd.conf.gKYwvOxBab) to
> slapd.d failed with the following error while running slaptest:
>
> bdb(dc=wayward4now,dc=net): Program version 4.7 doesn't match
> environment version 0.44
>
> hdb_db_open: database "dc=wayward4now,dc=net" cannot be opened, err
> -30971. Restore from backup!
>
> backend_startup_one: bi_db_open failed! (-30971)
>
> slap_startup failed (test would succeed using the -u switch)
>
> dpkg: error processing slapd (--configure):
>
> subprocess post-installation script returned error exit status 1
>
>
> Are you still having problems?
>
> Regards
> chuck

LDAP scares the willies out of me, and I haven't looked back into it
yet, but I will since you've worked on the problem. I thought
sendmail.cf was bad. <grins> Ric