stoney cloud: OpenLDAP slapd.conf with hdb database

From stoney cloud
Revision as of 17:39, 26 August 2014 by Tiziano (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to: navigation, search

Removing unused HDB transaction logs

The HDB transaction log file (log.xxxxxxxxxxxx in the /var/lib/openldap-hdb/foss-cloud directory) can become very big, very quickly and requires regular maintenance.

List unused HDB transaction log files

root # cd /var/lib/openldap-hdb/foss-cloud
root #
db4.8_archive
log.0000000001
log.0000000002
log.0000000003
log.0000000004
log.0000000005
log.0000000006

Delete unused HDB transaction log files

root # cd /var/lib/openldap-hdb/foss-cloud
root #
db4.8_archive -d