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

Re: slapcat doesn't return correct error status for bdb fatal error



Assuming you're still seeing this in 2.4.12/HEAD, I'd suggest an ITS for discussion/tracking...

On Fri, 17 Oct 2008, Guillaume Rousse wrote:

[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)
[root@etoile ~]# echo $?
0


It makes a bit difficult to know if slapcat-based backup were successful.
--
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62