FS#17983 - [openldap] slapd dbd backend version mismatch
Attached to Project:
Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Sunday, 24 January 2010, 11:46 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 03 November 2013, 16:46 GMT
Opened by Andreas Baumann (andreas_baumann) - Sunday, 24 January 2010, 11:46 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 03 November 2013, 16:46 GMT
|
Details
Description:
Starting slapd with DBD backend results in: Jan 24 12:49:44 europa4 slapd[1735]: @(#) $OpenLDAP: slapd 2.4.21 (Dec 21 2009 11:25:01) $ Jan 24 12:49:44 europa4 slapd[1735]: bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.8.24: (August 14, 2009), got Berkeley DB 4.8.26: (December 18, 2009) Jan 24 12:49:44 europa4 slapd[1735]: backend_init: initialized for type "bdb" Jan 24 12:49:44 europa4 slapd[1735]: slapd stopped. Jan 24 12:49:44 europa4 slapd[1735]: connections_destroy: nothing to destroy. Reinitializing the DB doesn't help, so I guess openldap should be built again against the newest version of 'db'. Additional info: * package version(s): db 4.8.26-1 openldap 2.4.21-1 * config and/or log files etc. Steps to reproduce: Start /etc/rc.d/slap after an upgrade of db.. |
This task depends upon
Closed by Eric Belanger (Snowman)
Sunday, 03 November 2013, 16:46 GMT
Reason for closing: Fixed
Additional comments about closing: openldap 2.4.37-1
Next time, open a new bug instead of requesting a reopening of a 3 years old bug.
Sunday, 03 November 2013, 16:46 GMT
Reason for closing: Fixed
Additional comments about closing: openldap 2.4.37-1
Next time, open a new bug instead of requesting a reopening of a 3 years old bug.
1. if you have upgraded your database using db_upgrade (as per the bug reporter), as I did. Then you cannot downgrade safely - as far as I can see.
A temporary fix is indeed to rebuild openldap. A rebuild against my current install helped. I used
bauerbill --abs --build-as your-build-user-name --build-dir your-build-directory -S openldap
after that you can start slapd.
2. if you have not yet upgraded your database, find the previous openldap package in your /var/cache/pacman/pkg and downgrade. This should be enough for now.