>
> Setting up libldap-2.4-2 (2.4.7-3) ...
>
> Installing new version of config file /etc/ldap/ldap.conf ...
>
>
> Setting up slapd (2.4.7-3) ...
>
> Installing new version of config file /etc/ldap/schema/README ...
>
> Installing new version of config file /etc/ldap/schema/openldap.ldif ...
>
> 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/nis.schema ...
>
> Installing new version of config file /etc/ldap/schema/openldap.schema
> ...
>
> 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.3.39-1...
> done.
>
> Upgrading BDB 'checkpoint' options... .
>
> Moving old database directories to /var/backups:
>
> - directory dc=local... done.
>
> Loading from /var/backups/slapd-2.3.39-1:
>
> - directory dc=local... done.
>
> - chowning database directory (openldap:openldap)... done
>
> Starting OpenLDAP: slapd - failed:
>
> /etc/ldap/slapd.conf: line 54: "checkpoint" must occur after "suffix".
>
> invoke-rc.d: initscript slapd, action "start" failed.
>
It seems that there is an error in your slapd.conf configuration file.
Could you attach your /etc/ldap/slapd.conf file to the bug (removing any
sensitive information such as passwords) ?
> Setting up slapd (2.4.7-3) ...
>
> Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.3.39-1...
> done.
>
> Upgrading BDB 'checkpoint' options... .
>
> Moving old database directories to /var/backups:
>
>
> Backup path /var/backups/dc=local-2.3.39-1.ldapdb exists. Giving up...
>
During a package upgrade, a dump of the database is stored in
/var/backups. If the dump is already there, the upgrade aborts. Since
the first upgrade failed because of an incorrect configuration file,
subsequent upgrades fails because the dump of the first upgrade hasn't
been removed.
On Wed, Jan 23, 2008 at 10:25:09PM -0000, pdlethbridge wrote:
> Preparing to replace slapd 2.3.39-1 (using .../slapd_ 2.4.7-3_ i386.deb) slapd-2. 3.39-1:
> ...
>
> Stopping OpenLDAP: slapd.
>
> Dumping to /var/backups/
>
> - directory dc=local... done.
>
> Unpacking replacement slapd ...
>
[...]
> schema/ README ... schema/ openldap. ldif ... schema/ dyngroup. schema schema/ inetorgperson. schema ... schema/ misc.schema ... schema/ nis.schema ... schema/ openldap. schema slapd.conf in /var/backups/ slapd-2. 3.39-1. .. slapd-2. 3.39-1: openldap) ... done slapd.conf: line 54: "checkpoint" must occur after "suffix".
> Setting up libldap-2.4-2 (2.4.7-3) ...
>
> Installing new version of config file /etc/ldap/ldap.conf ...
>
>
> Setting up slapd (2.4.7-3) ...
>
> Installing new version of config file /etc/ldap/
>
> Installing new version of config file /etc/ldap/
>
> Installing new version of config file /etc/ldap/
> ...
>
> Installing new version of config file
> /etc/ldap/
>
> Installing new version of config file /etc/ldap/
>
> Installing new version of config file /etc/ldap/
>
> Installing new version of config file /etc/ldap/
> ...
>
> Installing new version of config file /etc/default/slapd ...
>
> Installing new version of config file /etc/init.d/slapd ...
>
> Backing up /etc/ldap/
> done.
>
> Upgrading BDB 'checkpoint' options... .
>
> Moving old database directories to /var/backups:
>
> - directory dc=local... done.
>
> Loading from /var/backups/
>
> - directory dc=local... done.
>
> - chowning database directory (openldap:
>
> Starting OpenLDAP: slapd - failed:
>
> /etc/ldap/
>
> invoke-rc.d: initscript slapd, action "start" failed.
>
It seems that there is an error in your slapd.conf configuration file. slapd.conf file to the bug (removing any
Could you attach your /etc/ldap/
sensitive information such as passwords) ?
> Setting up slapd (2.4.7-3) ... slapd.conf in /var/backups/ slapd-2. 3.39-1. .. dc=local- 2.3.39- 1.ldapdb exists. Giving up...
>
> Backing up /etc/ldap/
> done.
>
> Upgrading BDB 'checkpoint' options... .
>
> Moving old database directories to /var/backups:
>
>
> Backup path /var/backups/
>
During a package upgrade, a dump of the database is stored in
/var/backups. If the dump is already there, the upgrade aborts. Since
the first upgrade failed because of an incorrect configuration file,
subsequent upgrades fails because the dump of the first upgrade hasn't
been removed.
--
Mathias