package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le sous-processus pre-installation script a retourne une erreur de sortie d'Etat 1

Bug #223077 reported by Van De Velde patrice
54
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Upgrade Ubuntu 7.10 to version 8.04 LTS

Then :

sudo apt-get update && sudo apt-get dist-upgrade

Information error in this process :

Preparation of replacing slapd 2.3.35-1ubuntu0.2 (using .../slapd_2.4.7-6ubuntu3_i386.deb) ...
Stopping OpenLDAP: slapd.
   Dumping to / var/backups/slapd-2.3.35-1ubuntu0.2:
   -- Directory dc = example, dc = com ... bdb_db_open: only one allowed suffix
backend_startup_one: bi_db_open failed! (-1)
slap_startup failed
failed.
dpkg: error processing / var/cache/apt/archives/slapd_2.4.7-6ubuntu3_i386.deb (- unpack):
  the sub-processes pre-installation script has returned an error Release 1 state
   Backing up / etc / ldap / slapd.conf in / var/backups/slapd-2.4.7-6ubuntu3 ... done.
Starting OpenLDAP: slapd.
Mistakes have been encountered during the execution:
  / var/cache/apt/archives/slapd_2.4.7-6ubuntu3_i386.deb
E: Sub-process / usr / bin / dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
Date: Sun Apr 27 15:23:36 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: le sous-processus pre-installation script a retourné une erreur de sortie d'état 1
Package: slapd 2.3.35-1ubuntu0.2
PackageArchitecture: i386
SourcePackage: openldap2.3
Title: package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le sous-processus pre-installation script a retourné une erreur de sortie d'état 1
Uname: Linux 2.6.22-14-386 i686

Revision history for this message
Van De Velde patrice (vandpatr) wrote :
Revision history for this message
Mathias Gug (mathiaz) wrote :

Thanks for you bug report.

Could you post your /etc/ldap/slapd.conf file ?

Remove any occurrence of rootpw and other confidential information.

Changed in openldap2.3:
status: New → Incomplete
Revision history for this message
mauro (pale84) wrote : Re: [Bug 223077] Re: package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le sous-processus pre-installation script a retourne une erreur de sortie d'Etat 1

Hi,
i can post my slapd.conf file, but is new file because i don't edit. I post
this bug because crash before i start editing config file.

Best reguards

Mauro

2008/7/3 Mathias Gug <email address hidden>:

> Thanks for you bug report.
>
> Could you post your /etc/ldap/slapd.conf file ?
>
> Remove any occurrence of rootpw and other confidential information.
>
> ** Changed in: openldap2.3 (Ubuntu)
> Status: New => Incomplete
>
> --
> package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le
> sous-processus pre-installation script a retourne une erreur de sortie
> d'Etat 1
> https://bugs.launchpad.net/bugs/223077
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Mathias Gug (mathiaz) wrote :

Could you post your /etc/ldap/slapd.conf ?

Was slapd functionnal before the upgrade ?

Revision history for this message
MikeMc (mikecmcleod) wrote :

Me too: my /etc/ldap/slapd.conf file has not been edited. I assume '#' are comment lines, hence the file contains nothing .

Revision history for this message
Mathias Gug (mathiaz) wrote :

The default file shouldn't have comment lines only. Could you post your slapd.conf file ?

Revision history for this message
MikeMc (mikecmcleod) wrote :
Revision history for this message
Mathias Gug (mathiaz) wrote :

This is /etc/ldap/ldap.conf. Could you post /etc/ldap/slapd.conf with the rootpw removed ?

Revision history for this message
MikeMc (mikecmcleod) wrote :

oops. I assume you mean 'sudo passwd -l root'. Anyway here it is.

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

Here is the MikeMc's slapd.conf file with sensitive information removed.

Changed in openldap:
importance: Undecided → Low
status: Incomplete → Triaged
Revision history for this message
beaudet (abderabib) wrote :

 desolé mais je ne comprend pas l'anglais . - ma machine s'est subitement figée ; souris et clavier bloqués . merci de votre aide

Revision history for this message
Michael Zoet (michazoet-deactivatedaccount) wrote :

Does this bug exist yet? If not this bug should be closed. By the way the provided slapd.conf file seems to look ok on the first glance.

Revision history for this message
ripper (ripperfr00) wrote :

it seems ok now
thanks

Revision history for this message
Van De Velde patrice (vandpatr) wrote : Re: [Bug 223077] Re: package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le sous-processus pre-installation script a retourne une erreur de sortie d'Etat 1

Hello,
I think this "bug" is resolved.
Do I have to give myself that in the title?
If not that so?
Pat.

2009/2/21 Michael Zoet <email address hidden>

> Does this bug exist yet? If not this bug should be closed. By the way
> the provided slapd.conf file seems to look ok on the first glance.
>
> --
> package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le
> sous-processus pre-installation script a retourne une erreur de sortie
> d'Etat 1
> https://bugs.launchpad.net/bugs/223077
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "openldap" source package in Ubuntu: Triaged
>
> Bug description:
> Upgrade Ubuntu 7.10 to version 8.04 LTS
>
> Then :
>
> sudo apt-get update && sudo apt-get dist-upgrade
>
> Information error in this process :
>
> Preparation of replacing slapd 2.3.35-1ubuntu0.2 (using
> .../slapd_2.4.7-6ubuntu3_i386.deb) ...
> Stopping OpenLDAP: slapd.
> Dumping to / var/backups/slapd-2.3.35-1ubuntu0.2:
> -- Directory dc = example, dc = com ... bdb_db_open: only one allowed
> suffix
> backend_startup_one: bi_db_open failed! (-1)
> slap_startup failed
> failed.
> dpkg: error processing /
> var/cache/apt/archives/slapd_2.4.7-6ubuntu3_i386.deb (- unpack):
> the sub-processes pre-installation script has returned an error Release 1
> state
> Backing up / etc / ldap / slapd.conf in /
> var/backups/slapd-2.4.7-6ubuntu3 ... done.
> Starting OpenLDAP: slapd.
> Mistakes have been encountered during the execution:
> / var/cache/apt/archives/slapd_2.4.7-6ubuntu3_i386.deb
> E: Sub-process / usr / bin / dpkg returned an error code (1)
>
> ProblemType: Package
> Architecture: i386
> Date: Sun Apr 27 15:23:36 2008
> DistroRelease: Ubuntu 8.04
> ErrorMessage: le sous-processus pre-installation script a retourné une
> erreur de sortie d'état 1
> Package: slapd 2.3.35-1ubuntu0.2
> PackageArchitecture: i386
> SourcePackage: openldap2.3
> Title: package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le
> sous-processus pre-installation script a retourné une erreur de sortie
> d'état 1
> Uname: Linux 2.6.22-14-386 i686
>

--
Patrice Van De Velde
Vieux chemin de Louvain, 29
B-1320 Hamme-Mille
T. 00 32 (0) 10 84 24 67
G. 00 32 (0) 478 25 14 19
E. patrice[dot]vdvelde[At]gmail[dot]com
Remarque : Si vous voulez m'envoyer un message, remplacez [At] par un @ et
[Dot] par un point; Merci.

Changed in openldap:
status: Triaged → Fix Released
Revision history for this message
shorty (stephane-tachoires) wrote :

Ok for me.
No more bug.
Thanx.

2009/2/21 Michael Zoet <email address hidden>:
> ** Changed in: openldap (Ubuntu)
> Status: Triaged => Fix Released
>
> --
> package slapd 2.3.35-1ubuntu0.2 failed to install/upgrade: le sous-processus pre-installation script a retourne une erreur de sortie d'Etat 1
> https://bugs.launchpad.net/bugs/223077
> You received this bug notification because you are a direct subscriber
> of the bug.
>

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.