[Bug 428813] [NEW] package slapd 2.4.15-1ubuntu3 failed to install : subprocess post-installation script returned error exit status 1
Harry Sufehmi
harry at sufehmi.com
Sun Sep 13 12:28:11 BST 2009
Public bug reported:
I got slapd installed with suffix "dc=example, dc=com", which was not
what we needed.
I tried to rectify this by "dpkg-reconfigure slapd", and entered the correct suffix now on the
DNS doman name" prompt.
However, the suffix remained the same, as if I didn't change anything, much to my confusion
So I erased /var/lib/slapd/* and /etc/ldap/* and
/var/cache/apt/archives/*, then typed : /sudo apt-get install slapd
Much to my surprise, it failed with the following error message :
Unpacking slapd (from .../slapd_2.4.15-1ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Setting up slapd (2.4.15-1ubuntu3) ...
Creating initial slapd configuration... done.
Creating initial LDAP directory... failed.
Loading the initial directory structure from the ldif file (/tmp/slapd_init_dir.ldif.WHvJGmsMau) failed with the following
error while running slapadd:
slapadd: slap_init invalid suffix ("dc=myldapserver,dc=web,dc=id")
dpkg: error processing slapd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: vmmon
Package: slapd 2.4.15-1ubuntu3
SourcePackage: openldap
Title: package slapd 2.4.15-1ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686
** Affects: openldap (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-package i386
--
package slapd 2.4.15-1ubuntu3 failed to install : subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/428813
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
More information about the Ubuntu-server-bugs
mailing list