[Bug 810977] [NEW] slapd remove/reinstall fails

Manfred Steiner 810977 at bugs.launchpad.net
Fri Jul 15 10:14:28 UTC 2011


Public bug reported:

Description:	Ubuntu 11.04
Release:	11.04
package slapd version 2.4.23-6ubuntu6

Problem sounds like Bug #798946 but recommended solution doesn't word.
So I publish my problem as new bug.

First install of slapd works fine. Then I try to remove the openLDAP completly (to remove also basic databank settings). 
I ececute "apt-get remove slapd ldap-utils" ... works fine.
Now I execute "apt-get install slapd ldap-utils"  ... fails
...
Entpacken von ldap-utils (aus .../ldap-utils_2.4.23-6ubuntu6_amd64.deb) ...
Trigger für ufw werden verarbeitet ...
Trigger für ureadahead werden verarbeitet ...
Trigger für man-db werden verarbeitet ...
slapd (2.4.23-6ubuntu6) wird eingerichtet ...
  Omitting slapd configuration as requested.
 * No configuration file was found for slapd at /etc/ldap/slapd.conf.
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: Fehler beim Bearbeiten von slapd (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
ldap-utils (2.4.23-6ubuntu6) wird eingerichtet ...
Fehler traten auf beim Bearbeiten von:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

In 10.04LTS (Lucis) Server version I see the same problem, but there I can solve it by myself by:
1) rm -r /var/lib/ldap
2) rm -r /etc/ldap/slapd.d

But under 11.04 (Natty) this special procedure doesn't work.

Therefore something is wrong in the installations script of slapd.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: slapd 2.4.23-6ubuntu6
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CNConfig: Error: command ['gksu', '-D', 'Apport', '--', '/usr/bin/ldapsearch', '-Q', '-LLL', '-Y EXTERNAL', '-H ldapi:///', '-b cn=config'] failed with exit code 255:
Date: Fri Jul 15 11:58:06 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=de_AT:en
 PATH=(custom, user)
 LANG=de_AT.UTF-8
 SHELL=/bin/bash
SourcePackage: openldap
SysLog:
 Jul 15 11:42:31 sx-ubuntu64 kernel: [18821.406747] type=1400 audit(1310722951.922:21): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/slapd" pid=8611 comm="apparmor_parser"
 Jul 15 11:44:40 sx-ubuntu64 kernel: [18950.341039] type=1400 audit(1310723080.863:22): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/slapd" pid=8877 comm="apparmor_parser"
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+subscriptions



More information about the Ubuntu-server-bugs mailing list