package slapd 2.4.31-1+nmu2ubuntu8.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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-
Backing up /etc/ldap/
* 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/
If I change it to:
/usr/sbin/slapd -h ldap:/// -g openldap -u openldap -f /etc/ldap/
All works fine.
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: slapd 2.4.31-
ProcVersionSign
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:
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)
RelatedPackageV
dpkg 1.17.5ubuntu5.4
apt 1.0.1ubuntu2.10
SourcePackage: openldap
Title: package slapd 2.4.31-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
tags: | removed: need-duplicate-check |
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.