[Pkg-openldap-devel] Bug#598361: slapd: slapcat gives "unclean shutdown detected; attempting recovery" after squeeze upgrade
Bryan K. Walton
bryan-walton at uiowa.edu
Tue Sep 28 13:47:03 UTC 2010
Package: slapd
Version: 2.4.23-6
Severity: normal
I've recently upgraded slapd from Lenny to Squeeze. Nightly, I run
a slapcat to dump to directory to an LDIF file for backup. Since
the upgrade, I now get the following error:
bdb_db_open: database "dc=i-clic,dc=uihc,dc=uiowa,dc=edu": unclean
shutdown detected; attempting recovery.
bdb_db_open: database "dc=i-clic,dc=uihc,dc=uiowa,dc=edu": recovery
skipped in read-only mode. Run manual recovery if errors are
encountered.
I get this error every time. I also get this error when I run slaptest.
After doing some research online, I have installed db4.8-util and have
run:
db4.8-recover
db4.8-checkpoint -1
These commands seem to run fine. I have verified that my slapd instance
is using 4.8 (4.8.30). However, I can immediately run the slapcat or
slaptest after running the above commands and the same error repeats
itself.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32.22 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages slapd depends on:
ii adduser 3.112 add and remove users and groups
ii coreutils 8.5-1 GNU core utilities
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libdb4.8 4.8.30-2 Berkeley v4.8 Database Libraries [
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libldap-2.4-2 2.4.23-6 OpenLDAP libraries
ii libltdl7 2.2.6b-2 A system independent dlopen wrappe
ii libperl5.10 5.10.1-14 shared Perl library
ii libsasl2-2 2.1.23.dfsg1-6 Cyrus SASL - authentication abstra
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii perl [libmime-base64-perl 5.10.1-14 Larry Wall's Practical Extraction
ii psmisc 22.11-1 utilities that use the proc file s
ii unixodbc 2.2.14p2-1 ODBC tools libraries
Versions of packages slapd recommends:
ii libsasl2-modules 2.1.23.dfsg1-6 Cyrus SASL - pluggable authenticat
Versions of packages slapd suggests:
ii ldap-utils 2.4.23-6 OpenLDAP utilities
-- Configuration Files:
/etc/default/slapd changed:
SLAPD_CONF="/etc/ldap/slapd.conf"
SLAPD_USER="openldap"
SLAPD_GROUP="openldap"
SLAPD_PIDFILE=
SLAPD_SERVICES="ldap:/// ldaps:/// ldapi:///"
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
SLAPD_OPTIONS=""
-- debconf information:
slapd/tlsciphersuite:
slapd/password_mismatch:
slapd/invalid_config: true
shared/organization: i-clic.uihc.uiowa.edu
slapd/upgrade_slapcat_failure:
slapd/slurpd_obsolete:
slapd/backend: HDB
slapd/dump_database: when needed
slapd/allow_ldap_v2: false
slapd/no_configuration: false
slapd/move_old_database: true
slapd/suffix_change: false
slapd/dump_database_destdir: /var/backups/slapd-VERSION
slapd/purge_database: false
slapd/domain: i-clic.uihc.uiowa.edu
More information about the Pkg-openldap-devel
mailing list