Comment 3 for bug 658227

Revision history for this message
Andrew Schulman (andrex) wrote : Re: won't start after Maverick upgrade; bdb "Program version 4.8 doesn't match environment version 4.7"

OK, per https://bbs.archlinux.org/viewtopic.php?id=84077 and then http://dbaspot.com/forums/berkeley-db/265933-how-upgrade-4-2-4-3-a.html, I installed db4.7-utils and ran

cd /var/lib
cp -a ldap ldap.bak
cd ldap
db4.7_checkpoint -1
db4.7_recover

After that, slapd started normally.