*** This bug is a duplicate of bug 1003854 ***
    https://bugs.launchpad.net/bugs/1003854

Thanks for the report. This is most likely bug 1003854, triggered in
this case by having /var/lib/ldap/accesslog nested inside /var/lib/ldap.

** Summary changed:

- Automatic openldap db migration fails on release upgrade when using accesslog 
overlay
+ Automatic openldap db migration fails on release upgrade when using nested 
database directories

** This bug has been marked a duplicate of bug 1003854
   Database upgrade/migration fails with nested db directories (lucid to 
precise)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1579566

Title:
  Automatic openldap db migration fails on release upgrade when using
  nested database directories

Status in openldap package in Ubuntu:
  New

Bug description:
  While attempting to perform an upgrade of my home server from Ubuntu
  12.04 to Ubuntu 14.04, I received the following error:

  
===================================================================================
  Error in function: 

  
  A fatal error occurred 

  Please report this as a bug and include the files 
  /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in 
  your report. The upgrade has aborted. 
  Your original sources.list was saved in 
  /etc/apt/sources.list.distUpgrade. 

  SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)


  Could not install the upgrades

  The upgrade has aborted. Your system could be in an unusable state. A 
  recovery will run now (dpkg --configure -a). 

  Setting up slapd (2.4.31-1+nmu2ubuntu8.2) ...
    Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.28-1.1ubuntu4.6... 
done.
    Moving old database directories to /var/backups:
    Loading from /var/backups/slapd-2.4.28-1.1ubuntu4.6: 
    - directory dc=waveform,dc=org,dc=uk... failed.

  Loading the database from the LDIF dump failed with the following
  error while running slapadd:
      572f946e olcDbDirectory: value #0: invalid path: No such file or directory
      572f946e config error processing olcDatabase={2}hdb,cn=config: 
olcDbDirectory: value #0: invalid path: No such file or directory
      slapadd: bad configuration directory!
  dpkg: error processing package slapd (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   slapd

  Upgrade complete

  The upgrade has completed but there were errors during the upgrade 
  process. 
  
===================================================================================

  Admittedly, it's rather strange for a home server to use LDAP for
  authentication but I don't have a terribly complex setup: openldap
  with a fairly normal LDAP layout and SSSD for handling the PAM
  interface (no kerberos - I did try it in the past but quickly gave it
  up as too complex to maintain). Hence, I was rather expecting the
  upgrade to be relatively smooth (as much as server upgrades ever are
  :).

  As requested in the message I'm attaching /var/log/dist-
  upgrade/main.log and /var/log/dist-upgrade/apt.log

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1579566/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to