[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Where is DB_CONFIG file?
Quanah Gibson-Mount <quanah@zimbra.com> writes:
> ----- Echedey Lorenzo <echedey@gmail.com> wrote:
>> I think the best option, as you suggest, is to recreate
>> everything. Is it enough to remove all /var/lib/ldap contents,
>> restart the ldap service, and populate all again? My intention is to
>> have 8M entries as max.
>>
>> Thanks for your help
>>
>
> There is zero need to recreate everything. Dieter is wrong. Simply
> stop slapd, create the DB_CONFIG file, run db_recover to regenerate
> the bdb database profile, then start slapd. This has been the standard
> way to do this since OpenLDAP 2.1. Dieter should know this.
I have experienced some problems in the past, that's why I prefer a
clean recreation.
-Dieter
--
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E