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

Re: berkeleydb logfiles

On 5/31/05 12:37 PM, Jonathan Higgins wrote:
I want to clean up these log files. I have several replicas, and could
roll downtime between the systems.
I am assuming the process will be to shutdown slapd, slapcat the data,
ace(delete) the openldap-data files + logs, and then slapadd, then start
slapd back up.

Uhm... no... I assume you have db_archive (or depending on how your slapd was built, perhaps it is named slapd_db_archive). If you check its manpage will tell you how to safely delete the log files which are no longer needed without having to shutdown your servers at all.


Frank Swasey                    | http://www.uvm.edu/~fcs
Informtn Tech Profssnl Sr       | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
  "I am not young enough to know everything." - Oscar Wilde (1854-1900)