stoney cloud: OpenLDAP slapd.conf with hdb database

From stoney cloud
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