Activity log for bug #658227

Date Who What changed Old value New value Message
2010-10-11 10:15:50 Andrew Schulman bug added bug
2010-10-11 10:15:50 Andrew Schulman attachment added Dependencies.txt https://bugs.launchpad.net/bugs/658227/+attachment/1684127/+files/Dependencies.txt
2010-10-11 10:24:20 Andrew Schulman bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595672
2010-10-11 15:23:15 James Page openldap (Ubuntu): status New Confirmed
2010-10-11 15:33:24 James Page description 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@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 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly.
2010-10-11 15:50:54 Andrew Schulman attachment added apt upgrade log https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/658227/+attachment/1685170/+files/term.log
2010-10-11 15:57:13 James Page bug added subscriber James Page
2010-10-11 16:32:42 James Page openldap (Ubuntu): importance Undecided Low
2010-10-12 07:35:19 James Page openldap (Ubuntu): status Confirmed Triaged
2010-10-12 08:30:33 James Page description 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly. 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly. TEST CASE: Steps to re-produce on a new Lucid install sudo apt-get install slapd ldap-utils Follow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration. Perform a Lucid->Maverick update: sudo do-release-upgrade -d slapd fails to start with the following error message Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7
2010-10-12 08:46:10 James Page summary won't start after Maverick upgrade; bdb "Program version 4.8 doesn't match environment version 4.7" upgrade process fails to upgrade underlying BDB format from 4.7 to 4.8
2010-10-12 09:05:04 James Page summary upgrade process fails to upgrade underlying BDB format from 4.7 to 4.8 upgrade process does not upgrade underlying BDB format from 4.7 to 4.8
2010-10-12 11:11:30 Nathan Stratton Treadway summary upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)
2010-10-12 11:11:30 Nathan Stratton Treadway description 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly. TEST CASE: Steps to re-produce on a new Lucid install sudo apt-get install slapd ldap-utils Follow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration. Perform a Lucid->Maverick update: sudo do-release-upgrade -d slapd fails to start with the following error message Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly. TEST CASE: Steps to re-produce on a new Lucid install sudo apt-get install slapd ldap-utils Follow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration. Perform a Lucid->Maverick update: sudo do-release-upgrade -d slapd fails to start with the following error message Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7
2010-10-12 11:59:55 Thierry Carrez openldap (Ubuntu): importance Low High
2010-10-13 11:36:22 James Page openldap (Ubuntu): status Triaged In Progress
2010-10-13 11:36:22 James Page openldap (Ubuntu): assignee James Page (james-page)
2010-10-13 19:06:29 Launchpad Janitor branch linked lp:~james-page/ubuntu/maverick/openldap/openldap-fix-658227
2010-10-14 09:05:16 James Page description 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly. TEST CASE: Steps to re-produce on a new Lucid install sudo apt-get install slapd ldap-utils Follow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration. Perform a Lucid->Maverick update: sudo do-release-upgrade -d slapd fails to start with the following error message Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7 IMPACT: Currently all configured openldap installations being upgraded from Lucid -> Maverick will fail due to underlying database version incompatibility. FIX: slapd install/upgrade scripts already have functionality to dump existing ldap databases and re-load post upgrade. These have been amended to trigger when upgrading to 2.4.23+ as this is the point where the BDB upgrade was introduced. The fix has been tested using a PPA + modifying a lucid install to point at maverick repositories (do-release-upgrade disables PPA's so unable to test this way). Data loaded into ldap was verified pre and post upgrade. TEST CASE: Steps to re-produce on a new Lucid install sudo apt-get install slapd ldap-utils Follow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration and frontend data. Perform a Lucid->Maverick update: sudo do-release-upgrade -d slapd fails to start with the following error message: Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7 REGRESSION POTENTIAL: Limited; impacts upgrades to latest version of slapd and changes are in installation scripts only. ORIGINAL BUG REPORT: 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly.
2010-10-14 09:06:37 James Page description IMPACT: Currently all configured openldap installations being upgraded from Lucid -> Maverick will fail due to underlying database version incompatibility. FIX: slapd install/upgrade scripts already have functionality to dump existing ldap databases and re-load post upgrade. These have been amended to trigger when upgrading to 2.4.23+ as this is the point where the BDB upgrade was introduced. The fix has been tested using a PPA + modifying a lucid install to point at maverick repositories (do-release-upgrade disables PPA's so unable to test this way). Data loaded into ldap was verified pre and post upgrade. TEST CASE: Steps to re-produce on a new Lucid install sudo apt-get install slapd ldap-utils Follow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration and frontend data. Perform a Lucid->Maverick update: sudo do-release-upgrade -d slapd fails to start with the following error message: Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7 REGRESSION POTENTIAL: Limited; impacts upgrades to latest version of slapd and changes are in installation scripts only. ORIGINAL BUG REPORT: 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly. IMPACT:Currently all configured openldap installations being upgraded from Lucid -> Maverick will fail due to underlying database version incompatibility. FIX:slapd install/upgrade scripts already have functionality to dump existing ldap databases and re-load post upgrade. These have been amended to trigger when upgrading to 2.4.23+ as this is the point where the BDB upgrade was introduced. The fix has been tested using a PPA + modifying a lucid install to point at maverick repositories (do-release-upgrade disables PPA's so unable to test this way). Data loaded into ldap was verified pre and post upgrade. PATCH: See proposed linked branch TEST CASE:Steps to re-produce on a new Lucid install  sudo apt-get install slapd ldap-utilsFollow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration and frontend data.Perform a Lucid->Maverick update:  sudo do-release-upgrade -d slapd fails to start with the following error message: Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7 REGRESSION POTENTIAL: Limited; impacts upgrades to latest version of slapd and changes are in installation scripts only. ORIGINAL BUG REPORT: 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly.
2010-10-14 09:07:24 James Page description IMPACT:Currently all configured openldap installations being upgraded from Lucid -> Maverick will fail due to underlying database version incompatibility. FIX:slapd install/upgrade scripts already have functionality to dump existing ldap databases and re-load post upgrade. These have been amended to trigger when upgrading to 2.4.23+ as this is the point where the BDB upgrade was introduced. The fix has been tested using a PPA + modifying a lucid install to point at maverick repositories (do-release-upgrade disables PPA's so unable to test this way). Data loaded into ldap was verified pre and post upgrade. PATCH: See proposed linked branch TEST CASE:Steps to re-produce on a new Lucid install  sudo apt-get install slapd ldap-utilsFollow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration and frontend data.Perform a Lucid->Maverick update:  sudo do-release-upgrade -d slapd fails to start with the following error message: Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7 REGRESSION POTENTIAL: Limited; impacts upgrades to latest version of slapd and changes are in installation scripts only. ORIGINAL BUG REPORT: 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly. IMPACT:Currently all configured openldap installations being upgraded from Lucid -> Maverick will fail due to underlying database version incompatibility. FIX:slapd install/upgrade scripts already have functionality to dump existing ldap databases and re-load post upgrade. These have been amended to trigger when upgrading to 2.4.23+ as this is the point where the BDB upgrade was introduced. The fix has been tested using a PPA + modifying a lucid install to point at maverick repositories (do-release-upgrade disables PPA's so unable to test this way). Data loaded into ldap was verified pre and post upgrade. PATCH: See proposed linked branch TEST CASE:Steps to re-produce on a new Lucid install  sudo apt-get install slapd ldap-utilsFollow the Lucid Server guide through the section entitled populating LDAP to the point where data is loaded into ldap for the backend configuration and frontend data.Perform a Lucid->Maverick update:  sudo do-release-upgrade -d slapd fails to start with the following error message: Oct 11 16:19:33 lucid-clone-01 slapd[773]: bdb(dc=example,dc=com): Program version 4.8 doesn't match environment version 4.7 REGRESSION POTENTIAL: Limited; impacts upgrades to latest version of slapd during lucid->maverick upgradeand changes are in installation scripts only. ORIGINAL BUG REPORT: 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@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: BugDistroRelease: 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 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bashSourcePackage: openldap WORKAROUND: Install db4.7-util and recover slapd databases: apt-get install db4.7-util cd /var/lib cp -a ldap ldap.bak cd ldap db4.7_checkpoint -1 db4.7_recover slapd will then start correctly.
2010-10-14 09:08:09 James Page nominated for series Ubuntu Maverick
2010-10-14 09:16:39 James Page bug added subscriber Ubuntu Stable Release Updates Team
2010-10-14 16:31:49 Steve Langasek nominated for series Ubuntu Lucid
2010-10-14 16:31:49 Steve Langasek bug task added openldap (Ubuntu Lucid)
2010-10-14 16:31:49 Steve Langasek nominated for series Ubuntu Natty
2010-10-14 16:31:49 Steve Langasek bug task added openldap (Ubuntu Natty)
2010-10-14 16:33:06 Steve Langasek openldap (Ubuntu Lucid): status New In Progress
2010-10-14 16:33:13 Steve Langasek openldap (Ubuntu Lucid): importance Undecided High
2010-10-14 16:33:44 Steve Langasek openldap (Ubuntu Lucid): assignee James Page (james-page)
2010-10-14 16:33:58 Steve Langasek openldap (Ubuntu Natty): status In Progress Triaged
2010-10-14 16:34:00 Steve Langasek openldap (Ubuntu Natty): assignee James Page (james-page)
2010-10-14 18:58:40 Mathias Gug bug task added openldap (Ubuntu Maverick)
2010-10-14 18:59:08 Mathias Gug openldap (Ubuntu Maverick): assignee James Page (james-page)
2010-10-14 18:59:15 Mathias Gug openldap (Ubuntu Lucid): status In Progress Invalid
2010-10-14 18:59:52 Mathias Gug openldap (Ubuntu Maverick): importance Undecided High
2010-10-14 18:59:57 Mathias Gug openldap (Ubuntu Maverick): status New In Progress
2010-10-15 14:01:11 Martin Pitt openldap (Ubuntu Maverick): status In Progress Fix Committed
2010-10-15 14:01:14 Martin Pitt bug added subscriber SRU Verification
2010-10-15 14:01:16 Martin Pitt tags amd64 apport-bug maverick amd64 apport-bug maverick verification-needed
2010-10-18 07:55:10 Martin Pitt tags amd64 apport-bug maverick verification-needed amd64 apport-bug maverick verification-done
2010-10-20 16:11:20 Martin Pitt openldap (Ubuntu Natty): status Triaged Fix Released
2010-10-20 16:11:21 Launchpad Janitor openldap (Ubuntu Maverick): status Fix Committed Fix Released
2011-09-19 21:34:24 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug maverick verification-done amd64 apport-bug maverick testcase verification-done
2022-06-13 18:23:01 Launchpad Janitor merge proposal linked https://code.launchpad.net/~sergiodj/ubuntu/+source/openldap/+git/openldap/+merge/424341
2022-06-13 19:08:48 Launchpad Janitor merge proposal unlinked https://code.launchpad.net/~sergiodj/ubuntu/+source/openldap/+git/openldap/+merge/424341