package slapd 2.4.31-1+nmu2ubuntu8.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1496713 reported by Dennis Leeuw
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The only thing that seems to fail is the start:

Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up slapd (2.4.31-1+nmu2ubuntu8.2) ...
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.31-1+nmu2ubuntu8.1... done.
 * Starting OpenLDAP slapd [fail]
invoke-rc.d: initscript slapd, action "start" failed.

This seems to be the problem:
/usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap -u openldap -f /etc/ldap/slapd.conf

If I change it to:
/usr/sbin/slapd -h ldap:/// -g openldap -u openldap -f /etc/ldap/slapd.conf

All works fine.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: slapd 2.4.31-1+nmu2ubuntu8.2
ProcVersionSignature: Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25
Uname: Linux 3.13.0-63-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.13
Architecture: amd64
Date: Thu Sep 17 09:12:10 2015
DuplicateSignature: package:slapd:2.4.31-1+nmu2ubuntu8.2:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-10-28 (323 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.4
 apt 1.0.1ubuntu2.10
SourcePackage: openldap
Title: package slapd 2.4.31-1+nmu2ubuntu8.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apparmor.d.usr.sbin.slapd: [modified]
modified.conffile..etc.ldap.schema.README: [deleted]
modified.conffile..etc.ldap.schema.collective.ldif: [deleted]
modified.conffile..etc.ldap.schema.collective.schema: [deleted]
modified.conffile..etc.ldap.schema.corba.ldif: [deleted]
modified.conffile..etc.ldap.schema.corba.schema: [modified]
modified.conffile..etc.ldap.schema.core.ldif: [deleted]
modified.conffile..etc.ldap.schema.core.schema: [modified]
modified.conffile..etc.ldap.schema.cosine.ldif: [deleted]
modified.conffile..etc.ldap.schema.cosine.schema: [modified]
modified.conffile..etc.ldap.schema.duaconf.ldif: [deleted]
modified.conffile..etc.ldap.schema.duaconf.schema: [deleted]
modified.conffile..etc.ldap.schema.dyngroup.ldif: [deleted]
modified.conffile..etc.ldap.schema.dyngroup.schema: [modified]
modified.conffile..etc.ldap.schema.inetorgperson.ldif: [deleted]
modified.conffile..etc.ldap.schema.inetorgperson.schema: [modified]
modified.conffile..etc.ldap.schema.java.ldif: [deleted]
modified.conffile..etc.ldap.schema.java.schema: [modified]
modified.conffile..etc.ldap.schema.ldapns.schema: [deleted]
modified.conffile..etc.ldap.schema.misc.ldif: [deleted]
modified.conffile..etc.ldap.schema.misc.schema: [modified]
modified.conffile..etc.ldap.schema.nis.ldif: [deleted]
modified.conffile..etc.ldap.schema.nis.schema: [modified]
modified.conffile..etc.ldap.schema.openldap.ldif: [deleted]
modified.conffile..etc.ldap.schema.openldap.schema: [modified]
modified.conffile..etc.ldap.schema.pmi.ldif: [deleted]
modified.conffile..etc.ldap.schema.pmi.schema: [deleted]
modified.conffile..etc.ldap.schema.ppolicy.ldif: [deleted]
modified.conffile..etc.ldap.schema.ppolicy.schema: [modified]
mtime.conffile..etc.apparmor.d.usr.sbin.slapd: 2015-07-01T13:37:11.436564
mtime.conffile..etc.ldap.schema.corba.schema: 2015-07-01T13:12:33.356559
mtime.conffile..etc.ldap.schema.core.schema: 2015-07-01T13:12:33.360559
mtime.conffile..etc.ldap.schema.cosine.schema: 2015-07-01T13:12:33.360559
mtime.conffile..etc.ldap.schema.dyngroup.schema: 2015-07-01T13:12:33.364559
mtime.conffile..etc.ldap.schema.inetorgperson.schema: 2015-07-01T13:12:33.364559
mtime.conffile..etc.ldap.schema.java.schema: 2015-07-01T13:12:33.368559
mtime.conffile..etc.ldap.schema.misc.schema: 2015-07-01T13:12:33.412559
mtime.conffile..etc.ldap.schema.nis.schema: 2015-07-01T13:12:33.412559
mtime.conffile..etc.ldap.schema.openldap.schema: 2015-07-01T13:12:33.416559
mtime.conffile..etc.ldap.schema.ppolicy.schema: 2015-07-01T13:12:33.420559

Revision history for this message
Dennis Leeuw (dleeuw) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete. I've tested slapd from trusty-updates and it does appear to install correctly. It looks like you have modified your slapd configuration, so perhaps slapd now needs to be started differently in order to match your changes?

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in openldap (Ubuntu):
status: New → Incomplete
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.