[Bug 334639] New: openldap2 update renders DB unusable
https://bugzilla.novell.com/show_bug.cgi?id=334639 Summary: openldap2 update renders DB unusable Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de Found By: Beta-Customer When upgrading from 10.2's openldap to 10.3's openldap, it did not convert the database (which makes BDB/HDB quite unsuitable, to begin). Ideas on how to correct this now? Plans to add a proper conversion? (It is already done for mysql tables for example, AFAICT.) # slapcat bdb(o=ICHI): Program version 4.5 doesn't match environment version 4.4 hdb_db_open: Database cannot be opened, err -30972. Restore from backup! bdb(o=ICHI): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem backend_startup_one: bi_db_open failed! (-30972) slap_startup failed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334639
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=334639
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=334639#c1
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=334639#c2
--- Comment #2 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=334639#c3
Ralf Haferkamp
That seems very risky. Not really. You can always savely remove the "__db.*" files, when slapd is not running. You will not loose any data, by that. You should however not delete any of the *.db files ;-)
What I did in the meantime was slapcat; upgrade; slapadd. Ok, that works as well.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334639#c5
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=334639#c6
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=334639#c7
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=334639#c8
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=334639
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=334639#c9
--- Comment #9 from Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=334639#c10
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=334639#c13
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=334639
User ast@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=334639#c14
--- Comment #14 from Anja Stock
https://bugzilla.novell.com/show_bug.cgi?id=334639
User jengelh@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=334639#c15
--- Comment #15 from Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com