[Pkg-openldap-devel] Bug#452749: slapd: Cannot install due to postinst error

Micah Anderson micah at debian.org
Sat Nov 24 22:40:25 UTC 2007


Package: slapd
Version: 2.3.39-1
Severity: normal


When trying to install slapd for the first time, I encounter this error:

Setting up slapd (2.3.39-1) ...
  Creating new user openldap... done.
  Creating initial slapd configuration...
/var/lib/dpkg/info/slapd.postinst: line 682: /usr/share/slapd/slapd.conf: No such file or directory
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)

There is a /usr/share/slapd/slapd.conf.gz so perhaps zcat'ing that file
will do the trick.

Micah


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-vserver-686 (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/bash

Versions of packages slapd depends on:
ii  adduser                  3.105           add and remove users and groups
ii  coreutils                5.97-5.4        The GNU core utilities
ii  debconf [debconf-2.0]    1.5.17          Debian configuration management sy
ii  libc6                    2.6.1-6         GNU C Library: Shared libraries
ii  libdb4.2                 4.2.52+dfsg-4   Berkeley v4.2 Database Libraries [
ii  libiodbc2                3.52.6-1        iODBC Driver Manager
ii  libldap-2.3-0            2.3.39-1        OpenLDAP libraries
ii  libltdl3                 1.5.24-1        A system independent dlopen wrappe
ii  libperl5.8               5.8.8-12        Shared Perl library
ii  libsasl2-2               2.1.22.dfsg1-16 Cyrus SASL - authentication abstra
ii  libslp1                  1.2.1-7         OpenSLP libraries
ii  libssl0.9.8              0.9.8g-3        SSL shared libraries
ii  libwrap0                 7.6.dbs-14      Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-per 5.8.8-12        Larry Wall's Practical Extraction 
ii  psmisc                   22.6-1          Utilities that use the proc filesy

Versions of packages slapd recommends:
ii  libsasl2-modules         2.1.22.dfsg1-16 Cyrus SASL - pluggable authenticat

-- debconf information:
  shared/organization: riseup.net
  slapd/upgrade_slapcat_failure:
  slapd/backend: BDB
  slapd/allow_ldap_v2: false
  slapd/no_configuration: false
  slapd/move_old_database: true
  slapd/suffix_change: false
  slapd/dump_database_destdir: /var/backups/slapd-VERSION
  slapd/domain: riseup.net
  slapd/password_mismatch:
  slapd/invalid_config: true
  slapd/upgrade_slapadd_failure:
  slapd/dump_database: when needed
  slapd/migrate_ldbm_to_bdb: true
  slapd/purge_database: false





More information about the Pkg-openldap-devel mailing list