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

From stoney cloud
Jump to: navigation, search
[unchecked revision][quality revision]
(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, ...")
 
(Delete unused HDB transaction log files)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
=== List unused HDB transaction log files ===
 
=== List unused HDB transaction log files ===
cd /var/lib/openldap-hdb/foss-cloud
 
db4.8_archive
 
  
log.0000000001
+
{{RootCmd
log.0000000002
+
|cd /var/lib/openldap-hdb/foss-cloud
log.0000000003
+
|db4.8_archive
log.0000000004
+
|output=<pre>
log.0000000005
+
log.0000000001
log.0000000006
+
log.0000000002
 +
log.0000000003
 +
log.0000000004
 +
log.0000000005
 +
log.0000000006
 +
</pre>}}
  
 
=== 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