[Bug 658227] [NEW] won't start after Maverick upgrade; bdb "Program version 4.8 doesn't match environment version 4.7"

Andrew Schulman launchpad-andrex at sneakemail.com
Mon Oct 11 11:15:50 BST 2010


Public bug reported:

I just upgraded from Lucid to Maverick, and now slapd won't start.  From
syslog:

Oct 11 06:10:31 helium slapd[12130]: @(#) $OpenLDAP: slapd 2.4.23 (Aug  7 2010 01:39:36) $#012#011buildd at yellow:/build/buildd/openldap-2.4.23/debian/build/servers/slapd
Oct 11 06:10:32 helium slapd[12131]: bdb(dc=5200-glenwood,dc=net): Program version 4.8 doesn't match environment version 4.7
Oct 11 06:10:32 helium slapd[12131]: hdb_db_open: database "dc=5200-glenwood,dc=net" cannot be opened, err -30971. Restore from backup!
Oct 11 06:10:32 helium slapd[12131]: bdb(dc=5200-glenwood,dc=net): txn_checkpoint interface requires an environment configured for the transaction subsystem
Oct 11 06:10:32 helium slapd[12131]: bdb_db_close: database "dc=5200-glenwood,dc=net": txn_checkpoint failed: Invalid argument (22).
Oct 11 06:10:32 helium slapd[12131]: backend_startup_one (type=hdb, suffix="dc=5200-glenwood,dc=net"): bi_db_open failed! (-30971)
Oct 11 06:10:32 helium slapd[12131]: bdb_db_close: database "dc=5200-glenwood,dc=net": alock_close failed
Oct 11 06:10:32 helium slapd[12131]: slapd stopped.

Information on the web says that I need to run some kind of manual
database upgrade to BDB 4.8, but I have no familiarity with the BDB
tools, and the recipes that are suggested are varied and uncertain.

Please suggest a workaround or manual upgrade, as some of my network
services are at a dead stop due to this problem.

Thanks,
Andrew.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: slapd 2.4.23-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Oct 11 06:07:49 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: openldap

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
won't start after Maverick upgrade; bdb "Program version 4.8 doesn't match environment version 4.7"
https://bugs.launchpad.net/bugs/658227
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list