enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #05380
[Bug 1579566] [NEW] fatal error while migrating openldap during 12.04 to 14.04 upgrade
Public bug reported:
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
** Affects: openldap (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "main log from server upgrade"
https://bugs.launchpad.net/bugs/1579566/+attachment/4658825/+files/main.log
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to openldap in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1579566
Title:
fatal error while migrating openldap during 12.04 to 14.04 upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1579566/+subscriptions
Follow ups