stoney cloud: OpenLDAP slapd.conf with hdb database

From stoney-cloud.org
Revision as of 13:33, 15 April 2014 by Michael (talk | contribs) (Created page with "== Removing unused HDB transaction logs == The HDB transaction log file (log.xxxxxxxxxxxx in the <code>/var/lib/openldap-hdb/foss-cloud</code> directory) can become very big, ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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