package slapd 2.4.21-0ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #570657 reported by David
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Expired
Low
Unassigned

Bug Description

dont know

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: slapd 2.4.21-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Tue Apr 27 13:26:31 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: openldap
Title: package slapd 2.4.21-0ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
David (david-nagtzaam) wrote :
Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

The DpkgTerminalLog.gz file includes the following lines related to the slapd package upgrade:

=======================
Log started: 2010-04-03 20:07:47
[...]
Preparing to replace ldap-utils 2.4.21-0ubuntu3 (using .../ldap-utils_2.4.21-0ub
untu4_i386.deb) ...
Unpacking replacement ldap-utils ...
Preparing to replace slapd 2.4.21-0ubuntu3 (using .../slapd_2.4.21-0ubuntu4_i386
.deb) ...
Stopping OpenLDAP: slapd.
Unpacking replacement slapd ...
Preparing to replace libldap-2.4-2 2.4.21-0ubuntu3 (using .../libldap-2.4-2_2.4.
21-0ubuntu4_i386.deb) ...
Unpacking replacement libldap-2.4-2 ...
[....]
Setting up libldap-2.4-2 (2.4.21-0ubuntu4) ...

Setting up slapd (2.4.21-0ubuntu4) ...
Installing new version of config file /etc/init.d/slapd ...
  Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.21-0ubuntu3... done.
Starting OpenLDAP: slapd.
[...]
Setting up ldap-utils (2.4.21-0ubuntu4) ...
[...]
Log ended: 2010-04-26 13:01:29

Log started: 2010-04-27 13:26:09
[...]
Preparing to replace ldap-utils 2.4.21-0ubuntu4 (using .../ldap-utils_2.4.21-0ub
untu5_i386.deb) ...
Unpacking replacement ldap-utils ...
Preparing to replace slapd 2.4.21-0ubuntu4 (using .../slapd_2.4.21-0ubuntu5_i386
.deb) ...
Stopping OpenLDAP: slapd.
Unpacking replacement slapd ...
Preparing to replace libldap-2.4-2 2.4.21-0ubuntu4 (using .../libldap-2.4-2_2.4.
21-0ubuntu5_i386.deb) ...
[....]
Setting up libldap-2.4-2 (2.4.21-0ubuntu5) ...

Setting up ldap-utils (2.4.21-0ubuntu5) ...
Setting up slapd (2.4.21-0ubuntu5) ...
  Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.21-0ubuntu4... done.
Starting OpenLDAP: slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).

Below, you can find the command line options used by this script to
run slapd. Do not forget to specify those options if you
want to look to debugging output:
  slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d/
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit status 1
[ file ends here ...]
=======================

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error is
---
Setting up slapd (2.4.21-0ubuntu5) ...

  Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.21-0ubuntu4... done.

Starting OpenLDAP: slapd - failed.

The operation failed but no output was produced. For hints on what went

wrong please refer to the system's logfiles (e.g. /var/log/syslog) or

try running the daemon in Debug mode like via "slapd -d 16383" (warning:

this will create copious output).

Below, you can find the command line options used by this script to

run slapd. Do not forget to specify those options if you

want to look to debugging output:

  slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d/

invoke-rc.d: initscript slapd, action "start" failed.

dpkg: error processing slapd (--configure):

 subprocess installed post-installation script returned error exit status 1

Could you please attach the file /var/log/syslog to this report ?

I noticed the following line in dmesg maybe that's related
[ 433.364486] type=1505 audit(1272367591.379:19): operation="profile_replace" pid=3714 name="/usr/sbin/slapd"

Changed in openldap (Ubuntu):
status: New → Incomplete
Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

If your syslog file includes a line that looks similar to
  slapd[7087]: config error processing olcDatabase={0}config,cn=config: ordered_value_sort failed on attr olcAccess#012

, then it would also be helpful to attach a copy of the
  /etc/ldap/slapd.d/cn=config/olcDatabase={0}config.ldif
file here.

Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

Or, if the syslog line instead mentions "olcDatabase={-1}frontend", the related file would be /etc/ldap/slapd.d/cn=config/olcDatabase={-1}frontend.ldif .

Mathias Gug (mathiaz)
Changed in openldap (Ubuntu):
importance: Undecided → Low
Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

(Assuming the /var/log/syslog does include a line saying:
  config error processing olcDatabase={-1}frontend,cn=config: ordered_value_sort failed on attr olcAccess#012
, then this bug is probably a duplicate of LP: #571057.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openldap (Ubuntu) because there has been no activity for 60 days.]

Changed in openldap (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.