Also encountered this when upgrading a server from 12.04 to 14.04 (for reference, wound up filing duplicate bug #1579566). Managed to get slapd restored happily by creating the accesslog directory (then slapadd to restore).
Unfortunately as I restored the database, rather than apt handling it, the slapd package is now in "iF" state (according to dpkg -l). Attempting to fix this with "apt-get -f install" leads to the original situation: the package attempts to backup and restore the database unsuccessfully presumably because the slapd package it's attempting to update to is 2.4.31 (the current version in trusty) while the fixed version is the later 2.4.40. Any hints on how to resolve the situation (e.g. by simply marking the package "installed"? slapd does appear to be working happily with the manually restored database) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1003854 Title: Database upgrade/migration fails with nested db directories (lucid to precise) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1003854/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
