[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: bdb 4.6 issue with 2.4.12



Quanah Gibson-Mount a écrit :
--On Friday, October 17, 2008 4:22 PM +0200 Guillaume Rousse <Guillaume.Rousse@inria.fr> wrote:

Since I upgraded one of my server from 2.4.11 to 2.4.12, I'm facing heavy
database issues:
[root@etoile ~]# slapcat -b dc=msr-inria,dc=inria,dc=fr
...
bdb(dc=msr-inria,dc=inria,dc=fr): pthread lock failed: Invalid argument
bdb(dc=msr-inria,dc=inria,dc=fr): PANIC: Invalid argument
bdb(dc=msr-inria,dc=inria,dc=fr): PANIC: DB_RUNRECOVERY: Fatal error, run
database recovery
bdb(dc=msr-inria,dc=inria,dc=fr): PANIC: fatal region error detected; run
recovery
bdb_db_close: database "dc=msr-inria,dc=inria,dc=fr": close failed:
DB_RUNRECOVERY: Fatal error, run database recovery (-30975)

Even importing a backup ldiff file on a fresh installation triggers the
same problems.

I tested this problem on two different environment (mandriva 2008.1,
mandriva cooker), and one user reported it against mandriva 2009.0
(https://qa.mandriva.com/show_bug.cgi?id=45034). This seems to either
imply an openldap or a packaging issue. Should I report an ITS for this,
or rather provide more informations ?

What options was BDB 4.6 compiled with? Does it have all the patches from Oracle?
According to the spec file, there is one oracle and two fedora patches applied:

http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/db46/current/SPECS/db46.spec?revision=293611&view=markup

The exact option list used is a bit more difficult to tell, given the usage of conditional build options, but it seems to be:
--enable-shared --enable-static --enable-rpc
--enable-cxx
--disable-posixmutexes --with-mutex=x86/gcc-assembly (or --with-mutex=x86_64/gcc-assembly for x86_64).


At least for cooker case. For 2009.0 and 2008.1, it should be quite similar.
--
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62