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

Re: alock File Keeps LDAP (slapd) from Starting Up



Dmitriy Kirhlarov writes:
> BTW, I'm using openldap 2.3.21 on freebsd and linux boxes. I use it
> with bdb43. On all machines I have easy reproduceble problem -- if
> slapd killing hardly he can't start. Eat all cpu, don't answer to
> clients and can be killed only with -9 signal.
> After running db_recover slapd start and work fine.

Did you kill -9 or have a server crash before you saw these problems?
With kill -9, the database is not shut down cleanly.  That can leave at
least LDBM in an inconsistent state.  When you do manage to start slapd
again with the database, that doesn't mean the database is OK.

Try to build a new datbase, kill it with just kill or kill -INT, and see
if you still have problems.  And as Aaron said without changing
DB_CONFIG after building it.

-- 
Hallvard