[Pkg-openldap-devel] Bug#631462: slapd: Post-installation configure fails
Cheer Xiao
xiaqqaix at gmail.com
Fri Jun 24 04:00:41 UTC 2011
Package: slapd
Version: 2.4.25-1+b1
Severity: normal
Trying to install slapd results in a post-installation configure
failure. Apparently the post-installation script is using wrong options
when calling slappasswd. Log:
% sudo aptitude install slapd
The following partially installed packages will be configured:
slapd
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up slapd (2.4.25-1+b1) ...
Usage: slappasswd [options]
-c format crypt(3) salt format
-g generate random password
-h hash password scheme
-n omit trailing newline
-s secret new password
-u generate RFC2307 values (default)
-v increase verbosity
-T file read file for new password
Creating initial configuration... mkdir: cannot create directory `/etc/ldap/slapd.d': File exists
dpkg: error processing slapd (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
%
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages slapd depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii coreuti 8.5-1 GNU core utilities
ii debconf 1.5.39 Debian configuration management sy
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libdb4. 4.8.30-8 Berkeley v4.8 Database Libraries [
ii libgcry 1.4.6-5 LGPL Crypto library - runtime libr
ii libgnut 2.10.5-1+b1 the GNU TLS library - runtime libr
ii libldap 2.4.25-1+b1 OpenLDAP libraries
ii libltdl 2.4-2 A system independent dlopen wrappe
ii libperl 5.12.3-7+b1 shared Perl library
ii libsasl 2.1.24~rc1.dfsg1+cvs2011-05-23-4 Cyrus SASL - authentication abstra
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libwrap 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-bas 3.2-27 Linux Standard Base 3.2 init scrip
ii perl [l 5.12.3-7+b1 Larry Wall's Practical Extraction
ii psmisc 22.13-1 utilities that use the proc file s
ii unixodb 2.2.14p2-2 ODBC tools libraries
Versions of packages slapd recommends:
ii libsasl 2.1.24~rc1.dfsg1+cvs2011-05-23-4 Cyrus SASL - pluggable authenticat
Versions of packages slapd suggests:
pn ldap-utils <none> (no description available)
-- debconf information:
slapd/allow_ldap_v2: false
slapd/password_mismatch:
slapd/invalid_config: true
shared/organization: tuna.tsinghua.edu.cn.
slapd/upgrade_slapcat_failure:
slapd/no_configuration: false
slapd/move_old_database: true
slapd/dump_database_destdir: /var/backups/slapd-VERSION
slapd/purge_database: false
slapd/domain: tuna.tsinghua.edu.cn.
slapd/backend: HDB
slapd/dump_database: when needed
More information about the Pkg-openldap-devel
mailing list