[Pkg-openldap-devel] Bug#380687: slapd: Fails to start after upgrade to from 2.3.24-1 (pid file)

Franklin PIAT fpiat at bigfoot.com
Mon Jul 31 21:10:28 UTC 2006


Package: slapd
Version: 2.3.24-2
Severity: important


Hello,

After upgrading from  2.3.24-1 -> 2.3.24-2, slapd refuses to start
(silently).
  Stopping OpenLDAP: slapd.
  Starting OpenLDAP: slapd.
but no slapd is running

Raising debug level in /etc/default/slapd (SLAPD_OPTIONS="-d 1") prints:
  [[removed lines]]
  unable to open pid file "/var/run/slapd.pid": 13 (Permission denied)
  slapd destroy: freeing system resources.
  slapd stopped.
  connections_destroy: nothing to destroy.

I manually changed my /etc/ldap/slapd.conf file to move the location of
my pidfile from /var/run/slapd.pid to /var/run/slapd/slapd.pid and 
everything is running fine now.
(note that /var/run/slapd.args was already ok)

P.S. thanks for making slapd running as non-root, it's nicer this way.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages slapd depends on:
ii  adduser                 3.95             Add and remove users and groups
ii  coreutils               5.96-5           The GNU core utilities
ii  debconf [debconf-2.0]   1.5.2            Debian configuration management sy
ii  libc6                   2.3.6-15         GNU C Library: Shared libraries
ii  libdb4.2                4.2.52-23.1      Berkeley v4.2 Database Libraries [
ii  libiodbc2               3.52.4-3         iODBC Driver Manager
ii  libldap-2.3-0           2.3.24-2         OpenLDAP libraries
ii  libltdl3                1.5.22-4         A system independent dlopen wrappe
ii  libperl5.8              5.8.8-4          Shared Perl library
ii  libsasl2                2.1.19.dfsg1-0.2 Authentication abstraction library
ii  libslp1                 1.2.1-5          OpenSLP libraries
ii  libssl0.9.8             0.9.8b-2         SSL shared libraries
ii  libwrap0                7.6.dbs-9        Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-pe 5.8.8-4          Larry Wall's Practical Extraction 
ii  psmisc                  22.2-1           Utilities that use the proc filesy

Versions of packages slapd recommends:
ii  db4.2-util              4.2.52-23.1      Berkeley v4.2 Database Utilities
ii  libsasl2-modules        2.1.19.dfsg1-0.2 Pluggable Authentication Modules f

-- debconf information:
  slapd/ldif_noexist:
  slapd/fix_directory: true
* shared/organization: tribe
  slapd/unknown_class:
  slapd/conf_exists:
  slapd/upgrade_slapcat_failure:
  shared/locale/countrycode:
  slapd/backend: BDB
* slapd/allow_ldap_v2: false
* slapd/fill_method: ldif
* slapd/no_configuration: false
  slapd/move_old_database: true
  slapd/no_password:
  slapd/suffix_change: false
  slapd/invalid_suffix: false
  slapd/slurpd/port: 389
  slapd/slurpd/binddn:
  slapd/suffix_type: domain or host
* slapd/ldif_file: /RESTORE/ldif
  slapd/slave_databases_require_updateref:
* slapd/dump_database_destdir: /var/backups/slapd-VERSION
* slapd/autoconf_modules: true
* slapd/domain: tribe.no-ip.com
  slapd/password_mismatch:
  slapd/invalid_config: true
* slapd/replicate: false
  slapd/upgrade_slapadd_failure:
  slapd/custom_suffix:
* slapd/dump_database: when needed
* slapd/internal/dn: dc=XXXXX,dc=com
  slapd/slurpd/host:
  slapd/migrate_ldbm_to_bdb: false
* slapd/internal/admin: cn=admin,dc=XXXXX,dc=com
* slapd/purge_database: false
  slapd/admin:




More information about the Pkg-openldap-devel mailing list