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

Re: Where is DB_CONFIG file?



Thanks for your answer,

My /var/lib/ldap does not contain any DB_CONFIG file except __db.00x, *.bdb and log.000xxx files :(

Should I create it? Where does my Berkeley takes it configuration from? Or maybe it is in another place...

Thanks a lot

2010/2/10 Dieter Kluenter <dieter@dkluenter.de>
Echedey Lorenzo <echedey@gmail.com> writes:

> Hi,
>
> I'm new to this mailing list. I have a simple question...  I have deployed a
> huge subscriber ldap database with more than 400 000 entries in a SUSE machine
> installing OpenLDAP with Yast.
>
> I've found huge log files in /var/lib/ldap that I cannot delete. Google says
> that I should tune my DB_CONFIG file to optimize the use of the the Berkeley
> backend, but I don't find this file. Should I create it?

SUSE comes with a default DB_CONFIG in /var/lib/ldap, the log files
are the transaction logs of BerkeleyDB, do not delete these files. If
you want to get rid of some old transaction logs, add to DB_CONFIG
set_flags DB_LOG_AUTOREMOVE

-Dieter

--
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E



--
--------------------------------------------
| Echedey Lorenzo Arencibia  |
--------------------------------------------