Thank you. I will configure the DB_CONFIG file for DB log autoremove. I did not know that was available. Thanks again.
Steve Herrera System Administration Bradley University Phone: 309 / 677-2336 FAX: 309 / 677-3460 Email: *sherrera@fsmail.bradley.edu*
On Mon, Sep 23, 2013 at 3:57 PM, Aaron Richton richton@nbcs.rutgers.eduwrote:
On Mon, 23 Sep 2013, Steve Herrera wrote:
Hello,
I have 2 openldap servers running on Ubuntu 12.04. One is the primary and the other is a slave. My problem is that ldap keeps dumping files into that directory log.00000000001 then log.000000002 and so on thus filling up the drive. Is it safe to remove these logs? How do i know which one it is still using. Ideally it would be great for the server to automatically remove the log once it was done using it. I could set up a cronjob to prune it but I don't know how far back it needs to the logs to be.
Any ideas?
BDB transaction logs. See DB_LOG_AUTOREMOVE.
http://www.openldap.org/faq/**data/cache/738.htmlhttp://www.openldap.org/faq/data/cache/738.html