Comment 5 for bug 611526

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 611526] Re: package slapd 2.4.21-0ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 143

Excerpts from Arjan's message of Fri Jul 30 04:15:11 UTC 2010:
>
> how the proces is running:
> ps aux|grep slap
> root 10073 0.0 0.0 4092 668 pts/3 S+ 06:11 0:00 /bin/sh /etc/init.d/slapd start
> openldap 10075 0.1 11.0 2815744 437664 pts/3 Sl+ 06:11 0:00 /usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap -u openldap -F /etc/ldap/slapd.d -d 256

It seems that slapd is running with the debugging option set (-d 256) in
which case slapd won't fork in the background.

From the slapd manpage:

 -d debug-level

 Turn on debugging as defined by debug-level. If this option is
 specified, even with a zero argument, slapd will not fork or
 disassociate from the invoking terminal.

Could you try to not start slapd with debugging set?

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com