Bug 22750 - Preinst von slapd schlägt fehl (bi_db_open failed! (-30971))
Preinst von slapd schlägt fehl (bi_db_open failed! (-30971))
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0 - MS1
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on:
Blocks: 22468 23054
  Show dependency treegraph
 
Reported: 2011-06-16 14:38 CEST by Janek Walkenhorst
Modified: 2011-12-13 15:49 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
actualise.log (200.96 KB, text/plain)
2011-06-16 14:38 CEST, Janek Walkenhorst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Walkenhorst univentionstaff 2011-06-16 14:38:12 CEST
Created attachment 3325 [details]
actualise.log

Frisch installiertes UCS 2.4-0 i386 auf UCS 2.4-2 aktualisiert, neu gestartet
und dann von omar univention-actualise --dist-upgrade auf UCS 3.0 probiert:

Preparing to replace slapd 2.4.23-1.47.201102221221 (using
.../slapd_2.4.25-1.52.201105181311_i386.deb) ...
 * Stopping ldap server(s): slapd
   ...done.
  Dumping to /var/backups/slapd-2.4.23-1.47.201102221221: 
  - directory dc=drei,dc=null... OVER: Loading Translog Overlay
OVER: db_init
OVER: Configuring Translog Overlay
OVER: Configured Translog Overlay to use file
"/var/lib/univention-ldap/listener/listener"
bdb(dc=drei,dc=null): Build signature doesn't match environment
bdb_db_open: database "dc=drei,dc=null" cannot be opened, err -30971. Restore
from backup!
backend_startup_one (type=bdb, suffix="dc=drei,dc=null"): bi_db_open failed!
(-30971)
slap_startup failed
failed.
dpkg: error processing
/var/cache/apt/archives/slapd_2.4.25-1.52.201105181311_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Comment 1 Arvid Requate univentionstaff 2011-07-21 16:48:37 CEST
"bi_db_open failed!" ist eine sehr allgemeine Fehlermeldung. Der charakteristische Teil der Fehlermeldung ist:

 bdb(dc=drei,dc=null): Build signature doesn't match environment

Vermutlich ist die Ursache ein Fehler in db4.8:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625484

"We believe that the bug you reported is fixed in" dem aktuellen ucs_3.0-0 Build von db4.8 (Version 4.8.30-2.6.201107211546).

Kein Changelog Eintrag für Zwischenversion.
Comment 2 Stefan Gohmann univentionstaff 2011-08-16 06:31:03 CEST
OK, Update funktioniert.
Comment 3 Moritz Muehlenhoff univentionstaff 2011-09-01 14:24:24 CEST
(In reply to comment #1)
> "bi_db_open failed!" ist eine sehr allgemeine Fehlermeldung. Der
> charakteristische Teil der Fehlermeldung ist:
> 
>  bdb(dc=drei,dc=null): Build signature doesn't match environment
> 
> Vermutlich ist die Ursache ein Fehler in db4.8:
> 
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625484
> 
> "We believe that the bug you reported is fixed in" dem aktuellen ucs_3.0-0
> Build von db4.8 (Version 4.8.30-2.6.201107211546).
> 
> Kein Changelog Eintrag für Zwischenversion.

--enable-test war in der Squeeze-Version schon aktiviert, siehe der untere Teil des Patch-Hunks. Ich habe den Patch erstmal wieder entfernt.

diff -Nuar db4.8-4.8.30.orig/debian/rules db4.8-4.8.30/debian/rules
--- db4.8-4.8.30.orig/debian/rules      2011-07-21 15:31:17.426551910 +0200
+++ db4.8-4.8.30/debian/rules   2011-07-21 15:32:07.990447904 +0200
@@ -37,6 +37,7 @@
                        --enable-cxx \
                        --enable-compat185 \
                        --enable-tcl \
+                       --enable-test \
                        --with-tcl=/usr/lib/tcl8.5 \
                        --enable-test
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:49:31 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"