Sun Java System Directory Server Enterprise Edition 6.1 Troubleshooting Guide

ProcedureTo Create Clean Data in a 5.x Version of Directory Server

  1. Stop the master server.

  2. Export the database contents using the db2ldif script without the -r option.


    # db2ldif -n database1 -a /tmp/clean-export.ldif
  3. Reimport the exported data to the same master server using the ldif2db script.


    # ldif2db -n database1 -i /tmp/clean-export.ldif
  4. Restart the master server.

    The master server now contains clean data, meaning it contains smaller databases, indexes, and empty change logs.

  5. Import the clean master data, to all of the other servers in your system.

    Use one of the three methods described in Overview of Reinitialization Methods.