Comment 9 for bug 658227

Revision history for this message
Nathan Stratton Treadway (nathanst) wrote : Re: won't start after Maverick upgrade; bdb "Program version 4.8 doesn't match environment version 4.7"

Andrew,
As we expected, this shows that the slapd scripts made no attempt to do an export/import cycle on your database. (When that happened during my Hardy->Lucid upgrade, I had a "Dumping..." line, like this:

  Preparing to replace slapd 2.4.9-0ubuntu0.8.04.3 (using .../slapd_2.4.21-0ubuntu3_amd64.deb) ...
  Stopping OpenLDAP: slapd.
    Dumping to /var/backups/slapd-2.4.9-0ubuntu0.8.04.3:
    - directory dc=example,dc=com... done.
  Unpacking replacement slapd ...

And the postinst script should generate the corresponding "Loading from ...." lines, as well.)

However, from the log you posted, it looks like slapd was restarted successfully during the upgrade process. Is that true? In other words, did the upgrade process complete successfully, and the slapd daemon only begin failing when you tried to restart it sometime later? (When I ran into this problem for the Hardy->Lucid upgrade, the error caused the "Starting OpenLDAP" command to fail, which in turned caused dpkg to abort with a "subprocess installed post-installation script returned error exit status 1" error message.)