stoney cloud: OpenLDAP slapd.conf with hdb database: Difference between revisions

From stoney-cloud.org
Jump to navigation Jump to search
 
Line 17: Line 17:


=== Delete unused HDB transaction log files ===
=== Delete unused HDB transaction log files ===
cd /var/lib/openldap-hdb/foss-cloud
 
db4.8_archive -d
{{RootCmd
|cd /var/lib/openldap-hdb/foss-cloud
|db4.8_archive -d
}}


[[Category: OpenLDAP directory]]
[[Category: OpenLDAP directory]]

Latest revision as of 17:39, 26 August 2014

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