Yep, in your case, the problem is the existence of the
"olcDatabase={1}hdb.ldif~" backup file.

(The postinst script currently assumes that only one file will contain
the string "olcSuffix: dc=nasgul,dc=local", but here both the .ldif and
.ldif~ file contain it.)

If you don't care much about keeping that backup file, you could delete
it (or at least move it out of the slapd.d/cn=config directory), then
run "dpkg --configure slapd" to try running the slapd configuration step
again.

If you do want to keep the backup file, a workaround would be to rename
it with a name that doesn't start with "olcDatabase" (e.g.
"saved_olcDatabase={1}hdb.ldif~" or whatever).

-- 
error during slapd configuration: chown: cannot access 
`olcDbDirectory\nolcDbDirectory'
https://bugs.launchpad.net/bugs/450645
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to