Hi Jari, 

On Sun, Apr 17, 2005 at 02:07:33PM +0300, Jari Aalto wrote:
 
> Right now I'm in the chicken and egg situation where I cannot install
> new slapd cleanly, because it always dies with this error. Could you
> add this further checks to this function in order to ignore the file
> if it does not exist. Possibly suggestion to user that
> dpkg-reconfigure may be needed to recreate files.

It will fail in a different place then. The whole problem is that the
maintainer scripts always try to load the database contents in 2.3.23-2
wether the database was dumped or not. 

Work around in your case:

- back up the configuration
- purge the slapd package
- reinstall the package and omit the configuration
- copy the database files and configuration back in place
  (db files from /var/backups/<basedn>-2.3.23-1.ldapdb to /var/lib/ldap)

Sorry for the breakage!

        Torsten

Attachment: signature.asc
Description: Digital signature

Reply via email to