You have been subscribed to a public bug:

The Upgrade process fails when trying to update slapd:

Setting up slapd (2.4.9-0ubuntu0.8.04.1) ...
Installing new version of config file /etc/ldap/schema/README ...
Installing new version of config file /etc/ldap/schema/corba.schema ...
Installing new version of config file /etc/ldap/schema/core.schema ...
Installing new version of config file /etc/ldap/schema/cosine.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/java.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 ...
  Creating new user openldap... adduser: Warning: The home directory 
`/var/lib/ldap' does not belong to the user you are currently creating.
done.
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.2.26-5ubuntu2.8... 
done.
  Upgrading BDB 'checkpoint' options... .
  Moving old database directories to /var/backups:
  There are leftover files in /var/lib/ldap. This will probably break
  creating the initial directory. If that's the case please move away
  stuff in there and retry the configuration.
  Loading from /var/backups/slapd-2.2.26-5ubuntu2.8:
  Directory /var/lib/ldap for dc=umic-mesh,dc=net not empty, aborting.
dpkg: error processing slapd (--configure):
 subprocess post-installation script returned error exit status 1

Indeed this directory is not empty: but the files there seem to belong
there

insgesamt 4236
-rw------- 1 root root   12288 2008-08-08 15:16 cn.bdb
-rw-r----- 1 root root    8192 2008-08-08 15:16 __db.001
-rw-r----- 1 root root  270336 2008-08-08 15:16 __db.002
-rw-r----- 1 root root   98304 2008-08-08 15:16 __db.003
-rw-r----- 1 root root  565248 2008-08-08 15:16 __db.004
-rw-r----- 1 root root   16384 2008-08-08 15:16 __db.005
-rw------- 1 root root   49152 2008-08-08 15:16 dn2id.bdb
-rw------- 1 root root  180224 2008-08-08 15:16 id2entry.bdb
-rw------- 1 root root 3354814 2008-08-08 15:16 log.0000000001
-rw------- 1 root root   20480 2008-08-08 15:16 objectClass.bdb
-rw------- 1 root root    8192 2008-08-08 15:14 sn.bdb
-rw------- 1 root root    8192 2008-08-08 15:16 uid.bdb

Log files attached.

** Affects: update-manager
     Importance: Undecided
         Status: Invalid

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
dapper to hardy: Directory /var/lib/ldap not empty, aborting.
https://bugs.launchpad.net/bugs/256062
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to openldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to