[Pkg-openldap-devel] Bug#591750: Bug#591750: slapd: Upgrading to unstable I get Invalid syntax

Matthijs Möhlmann matthijs at cacholong.nl
Thu Aug 5 09:40:45 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/05/2010 10:19 AM, Brent Clark wrote:
> Package: slapd
> Version: 2.4.23-2
> Severity: normal
> Tags: d-i
> 
> 
> To whom it may concern
> 
> I upgraded to Unstable, and I got the following message
> 
> ----------------------------------------------------------------------------------------------
> Errors were encountered while processing:
>  slapd
>  E: Sub-process /usr/bin/dpkg returned an error code (1)
>  A package failed to install.  Trying to recover:
>  Setting up slapd (2.4.23-2) ...
>    Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.17-2.1... done.
>    Moving old database directories to /var/backups:
>    Loading from /var/backups/slapd-2.4.17-2.1: 
>    - restoring DB_CONFIG for directory dc=hidden,dc=africa,dc=...   - loading DB for directory dc=hidden,dc=africa,dc=... failed.
> 
>  Loading the database from the LDIF dump failed with the following
>    error while running slapadd:
>    /etc/ldap/slapd.conf: line 56: <suffix> invalid DN 21 (Invalid syntax)
>    slapadd: bad configuration file!
>    dpkg: error processing slapd (--configure):
>    subprocess installed post-installation script returned error exit status 1
>  Errors were encountered while processing:
>   slapd
> ----------------------------------------------------------------------------------------------
> 
> I would like to say, that debconf setup slap.conf for my
> 
> Kind Regards
> Brent Clark
> 

Thanks for trying to upgrade to the new OpenLDAP version. Can you please
sent the /etc/ldap/slapd.conf so we can check what's wrong in the
configuration ? Please remove any confidential information from the
slapd.conf like passwords etc.

Regards,

Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxahx0ACgkQ2n1ROIkXqbA9EACglH9XAfOOUCNmwYHcQjQzBCe6
i7sAnjEHzXmgG58eAXGWyLsNwronuhUL
=c5Zl
-----END PGP SIGNATURE-----





More information about the Pkg-openldap-devel mailing list