package slapd 2.4.21-0ubuntu5 failed to install/upgrade: podproces zainstalowany skrypt post-installation zwrócił kod błędu 1

Bug #570533 reported by msutkowski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Expired
Low
Unassigned

Bug Description

upgrade lucid lynx

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: slapd 2.4.21-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Tue Apr 27 03:29:14 2010
ErrorMessage: podproces zainstalowany skrypt post-installation zwrócił kod błędu 1
SourcePackage: openldap
Title: package slapd 2.4.21-0ubuntu5 failed to install/upgrade: podproces zainstalowany skrypt post-installation zwrócił kod błędu 1

Revision history for this message
msutkowski (michal-sutkowski) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error is
---
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 -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d/

invoke-rc.d: initscript slapd, action "start" failed.

dpkg: błąd przetwarzania slapd (--configure):

 podproces zainstalowany skrypt post-installation zwrócił kod błędu 1

Could you please check /var/log/syslog to see what went wrong. The may be due to a misconfiguration of your ldap server.

Changed in openldap (Ubuntu):
status: New → Incomplete
Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

Looking through the DpkgTerminalLog lines, it seems that slapd was upgraded to slapd 2.4.21-0ubuntu4 on 4/19, but the restart of the OpenLDAP daemon isn't shown in the log due to an unrelated failure:

=======================
Log started: 2010-04-19 03:40:24
[ *** lines skipped *** ]
Przygotowanie do zastąpienia slapd 2.4.21-0ubuntu3 (wykorzystując .../slapd_2.4.
21-0ubuntu4_amd64.deb) ...
Stopping OpenLDAP: slapd.
Rozpakowanie pakietu zastępującego slapd ...
Przygotowanie do zastąpienia libldap-2.4-2 2.4.21-0ubuntu3 (wykorzystując .../li
bldap-2.4-2_2.4.21-0ubuntu4_amd64.deb) ...
[ *** no further slapd/ldap lines found *** ]
Przygotowanie do zastąpienia openoffice.org-dev 1:3.2.0-4ubuntu3 (wykorzystując
.../openoffice.org-dev_1%3a3.2.0-7ubuntu1_amd64.deb) ...
Rozpakowanie pakietu zastępującego openoffice.org-dev ...
dpkg: błąd przetwarzania /var/cache/apt/archives/openoffice.org-dev_1%3a3.2.0-7u
buntu1_amd64.deb (--unpack):
 próba nadpisania "/usr/share/doc/openoffice.org-dev", który istnieje także w pa
kiecie openoffice.org-dev-doc 1:3.2.0-4ubuntu3
[ *** lines skipped ***]
Wystąpiły błędy podczas przetwarzania:
 /var/cache/apt/archives/openoffice.org-dev_1%3a3.2.0-7ubuntu1_amd64.deb
Log ended: 2010-04-19 03:52:24
=======================

So it's not completely clear if the OpenLDAP daemon was running before the second stage of the upgrade:
=======================
Log started: 2010-04-27 03:14:57
[ *** lines skipped ***]
Przygotowanie do zastąpienia slapd 2.4.21-0ubuntu4 (wykorzystując .../slapd_2.4.
21-0ubuntu5_amd64.deb) ...
Stopping OpenLDAP: slapd.
Rozpakowanie pakietu zastępującego slapd ...
Przygotowanie do zastąpienia libldap-2.4-2 2.4.21-0ubuntu4 (wykorzystując .../li
bldap-2.4-2_2.4.21-0ubuntu5_amd64.deb) ...
Rozpakowanie pakietu zastępującego libldap-2.4-2 ...
[ *** lines skipped *** ]
Konfigurowanie libldap-2.4-2 (2.4.21-0ubuntu5) ...

Konfigurowanie slapd (2.4.21-0ubuntu5) ...
  Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.21-0ubuntu4... 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 -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d/
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: błąd przetwarzania slapd (--configure):
 podproces zainstalowany skrypt post-installation zwrócił kod błędu 1
Konfigurowanie wine1.2-gecko (1.0.0-0ubuntu4) ...
[ *** file ends here, with no "Log ended:" line *** ]
=======================

Still, it seems very likely that this is the same issue as Bug 570657 (which shows a successful restart of the slapd server the day before the attempt to upgrade toslapd_2.4.21-0ubuntu5 failed when attempting to do the post-upgrade restart)....

Mathias Gug (mathiaz)
Changed in openldap (Ubuntu):
importance: Undecided → Low
Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

(Assuming the /var/log/syslog includes a line saying:
  config error processing olcDatabase={-1}frontend,cn=config: ordered_value_sort failed on attr olcAccess#012
, then this bug is probably a duplicate of LP: #571057.)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openldap (Ubuntu) because there has been no activity for 60 days.]

Changed in openldap (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.