Comment 18 for bug 6942

Revision history for this message
In , Martin Zobel-Helas (zobel) wrote : Re: [debian-openldap] Bug#257513: slapd: Fails to install on mips

Martin Helas wrote:
> Roland Bauerschmidt wrote:
> > Martin Helas wrote:
> > > /var/lib/dpkg/info/slapd.config: line 275: !echo: command not found
> >
> > That bug is fixed already in our SVN repository. We should probably
> > upload again.
>
> Sorry for reopening the bug, but to me it seems that the bug is not yet
> fixed. I still get:
>
> Creating initial LDAP directory... slapadd: could not add entry dn="dc=mhelas,dc=home" (line=7): txn_begin failed: Invalid argument (22)
> dpkg: error processing slapd (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> slapd
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Hi,

i did some extended research on that bug and discovered that changing the
backend from bdb to ldbm resolves the problem. So there seems to be some problem
with bdb.

I did an strace when running slapadd. It's attached.

Greetings
Martin

--
  Martin Helas <email address hidden> or <email address hidden>
  http://www.helas.net or http://mhelas.blogspot.com
  GPGKey-Fingerprint: 14744CACEF5CECFAE29E2CB17929AB90F7AC3AF0