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.
Martin Helas wrote: dpkg/info/ slapd.config: line 275: !echo: command not found mhelas, dc=home" (line=7): txn_begin failed: Invalid argument (22)
> Roland Bauerschmidt wrote:
> > Martin Helas wrote:
> > > /var/lib/
> >
> > 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=
> 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
-- www.helas. net or http:// mhelas. blogspot. com Fingerprint: 14744CACEF5CECF AE29E2CB17929AB 90F7AC3AF0
Martin Helas <email address hidden> or <email address hidden>
http://
GPGKey-