[Date Prev][Date Next]
Re: berkeleydb logfiles
- To: Jonathan Higgins <firstname.lastname@example.org>
- Subject: Re: berkeleydb logfiles
- From: Howard Chu <email@example.com>
- Date: Tue, 31 May 2005 18:37:19 -0700
- Cc: openldap-software@OpenLDAP.org
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050516
Jonathan Higgins wrote:
unfortunately drive space on a few of my openldap implementations is
becoming an issue. I rarely mess with my implementation because it
performs very well. Thanks Howard and Symas.
You're welcome ;) After all, making OpenLDAP work is what we do...
in my DB_CONFIG, i have set_lg_dir /usr/local/var/openldap-data/logsThe correct procedure is much simpler than this and fully documented in
the Sleepycat Berkeley DB documentation. You can find pointers in the
OpenLDAP FAQ-o-Matic "Maintenance" section
In that log directory if I run a du -h, its around 6 gigs worth of log
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.
A fairly involved process, plus possible replication issues. Just want
to confirm this process, or findout if there is a better way.
which will give an overview along with references to the actual
Sleepycat manual pages.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support