[Bug 227267] [NEW] package slapd failed to install

Sven Zeisberg sven.zeisberg at zego.org
Tue May 6 12:40:59 BST 2008


Public bug reported:

I have a problem installing slapd-2.4.7-6ubuntu3 on hardy heron 8.04 LTS
Server (amd64):

aptitude reinstall slapd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Reading extended state information
Initializing package states... Fertig
Building tag database... Fertig
The following packages will be REINSTALLED:
  slapd
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Fertig
Richte slapd ein (2.4.7-6ubuntu3) ...
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.7-6ubuntu3... done.
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/core.schema: No such file
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/cosine.schema: No such file
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/nis.schema: No such file
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/inetorgperson.schema: No such file
Reloading AppArmor profiles : done.
Starting OpenLDAP: slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).

Below, you can find the command line options used by this script to
run slapd. Do not forget to specify those options if you
want to look to debugging output:
  slapd -g openldap -u openldap -f /etc/ldap/slapd.conf
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: Fehler beim Bearbeiten von slapd (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Richte slapd ein (2.4.7-6ubuntu3) ...
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.7-6ubuntu3... done.
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/core.schema: No such file
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/cosine.schema: No such file
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/nis.schema: No such file
/var/lib/dpkg/info/slapd.postinst: 1234: cannot open /etc/ldap/schema/inetorgperson.schema: No such file
Reloading AppArmor profiles : done.
Starting OpenLDAP: slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).

Below, you can find the command line options used by this script to
run slapd. Do not forget to specify those options if you
want to look to debugging output:
  slapd -g openldap -u openldap -f /etc/ldap/slapd.conf
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: Fehler beim Bearbeiten von slapd (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 slapd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Reading extended state information
Initializing package states... Fertig
Building tag database... Fertig


the directory /etc/ldap/schema is actually empty ... is the package corrupted??

Rgds,
Sven

** Affects: openldap2.3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
package slapd failed to install
https://bugs.launchpad.net/bugs/227267
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list