On Sat, Aug 28, 2010 at 17:34:37 +0200, Stefan Fritsch wrote: > Package: slapd > Version: 2.4.23-4 > Severity: grave > > When upgrading from 2.4.23-2 to 2.4.23-4, I get a debconf message that > tells me that slapcat failed during upgrade. dpkg then aborts with a > failure. > > Also, contrary to the debconf message, the database files are not moved > into /var/backup. > > I am guessing that the problem could have to do with slapd not being > started on boot on my system. > > #593550 has some info about how to resolve the problem, but I think this > information should be in slapd's README.Debian. > > Here is the log from the attempted upgrade: > > Preconfiguring packages ... > (Reading database ... 261556 files and directories currently installed.) > Preparing to replace slapd 2.4.23-2 (using .../slapd_2.4.23-4_i386.deb) ... > Stopping OpenLDAP: slapd. > Dumping to /var/backups/slapd-2.4.23-2: > - directory dc=loglevel,dc=info... bdb(dc=loglevel,dc=info): Program > version 4.8 doesn't match environment version 4.7 > hdb_db_open: database "dc=loglevel,dc=info" cannot be opened, err -30971. > Restore from backup! > backend_startup_one (type=hdb, suffix="dc=loglevel,dc=info"): bi_db_open > failed! (-30971) > slap_startup failed
Could that be due to trying to do the dump with a version of slapcat (2.4.23-2) which already used db4.8, whereas the db was from 4.7? In that case this was a transitional issue only affecting sid, I think? Cheers, Julien
signature.asc
Description: Digital signature