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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

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.
Comment by Andrzej Wąsowski (wazow) - Sunday, 24 January 2010, 19:13 GMT
confirming same problem, on arch stable, updated today
Comment by Andrzej Wąsowski (wazow) - Sunday, 24 January 2010, 19:17 GMT
Workaround:

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.
Comment by Topo Lino (opotonil) - Monday, 25 January 2010, 19:23 GMT
confirming same problem, on arch stable. In time for db downgrade.
Comment by Antoine Pietri (seirl) - Sunday, 03 November 2013, 14:16 GMT
  • Field changed: Percent Complete (100% → 0%)
It's broken again, should be rebuilt with the last db version...

Loading...