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

Re: bdb backend - reliable or not?



Tomasz Chmielewski <mangoo@wpkg.org> writes:

> Previously I was using OpenLDAP 2.1.x and 2.2.x with ldbm backend.
>
> I never had problems with it.
>
> As I've read on the list that ldbm support will be dropped in the next
> major version of OpenLDAP, and bdb is the recommended backend, I
> decided to deploy a couple of new OpenLDAP servers with bdb backend.
>
>
> Unfortunately, the choice was a disaster - a couple of tests showed
> that after powering off the server, OpenLDAP is not able to start
> anymore -
> all I see in logs is a single message (loglevel 256):
>
> bdb_db_open: unclean shutdown detected; attempting recovery.
>
> And that's it, it never recovers.

run db_recover -h /path/to/db directory, a BerkleyDB tool.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6