[Date Prev][Date Next]
Re: reset BDB environement
- modify the DB_CONFIG;
- stop slapd;
- run db_recover;
- run db_archive and remove unused transaction logs;
- start slapd;
maybe db_archive is not needed, but just to be sure...
Oh, this is just of my mind, never tested
> I want to remove bdb log files. Scripts using db_archive can do that,
> but I recently discovered on this list the set_flags DB_LOG_AUTOREMOVE
> to place in DB_CONFIG, this solution seems cleaner to me !.
> However, how can I tell my slapd to reread DB_CONFIG and hence take into
> account that new setting. I heard again from this list that __db* files
> contains the BDB environement, should I just start and stop slapd or
> should I remove __db* file or something else ?
> Is there a way to "see" what is the current BDB evironement setting ?
Luca Scamoni - e-mail: firstname.lastname@example.org
IT Senior Consultant - mobile: +393471014425
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497