stoney cloud: OpenLDAP slapd.conf with hdb database

From stoney cloud
Revision as of 14:33, 15 April 2014 by Michael (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

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

Delete unused HDB transaction log files

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