Red Hat Bugzilla – Bug 212997
upgrade FC5 to FC6 openldap-server failed
Last modified: 2007-11-30 17:11:47 EST
Description of problem:
upgrading FC5 to FC6 with the DVD failed to upgrade/update the openldap-server
Version-Release number of selected component (if applicable):
How reproducible: Well, just once. Don't want to upgrade every time to test.
Steps to Reproduce:
1. Run FC5
2. Boot FC6 dvd
3. read /root/upgrade.log
Upgrading openldap-servers - 2.3.27-4.i386
=> bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already
=> bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists
slapadd: could not add entry dn="listName=momillett.org" (line=12): txn_aborted!
DB_KEYEXIST: Key/data pair already exists (-30996)
To have worked
Some additional notes. I do not, nor ever used nss_ldap. It was loaded. I
removed it and ran this from the postinstall script:
/sbin/runuser -m -s /usr/sbin/slapadd -- "ldap" -l /var/lib/ldap/upgrade.ldif
And it loaded and the address book is back.
Don't know why it wanted to load/install a nss_ldap module that was not
installed in the first place.
I do not know why nss_ldap was installed, but I am pretty sure it did not cause
your problems. The rpm update scripts in recend openldap releases were quite
buggy and it could happen that the upgrade.ldif was not correctly applied.
Recent rawhide version should be much better.