4.9. Uninstalling Directory Server

  1. Remove all of the Directory Server instances (-i instance_name) and all of their associated security databases (-a). Each Directory Server instance service must be running for the remove script to access it.
    # remove-ds.pl -a -i example1
    # remove-ds.pl -a -i example2 
    # remove-ds.pl -a -i example3
    Alternatively, if an Admin Server instance is also installed on the system, then use the remove-ds-admin.pl script to remove all Directory Server instances and the Admin Server instance.
    # remove-ds-admin.pl -a -y
  2. Then use the system tools to remove the packages. For example:
    # yum erase svrcore --nodeps
    # yum erase redhat-ds-base --nodeps
    # yum erase redhat-ds-admin redhat-ds-console redhat-admin-console --nodeps
    # yum erase idm-console-framework redhat-idm-console --nodeps

    Note

    If the 389-ds-devel and 389-ds-libs packages were installed, removing the redhat-ds-base alone will not fully uninstall the Directory Server packages; the -libs package remains.
    In that case, run yum erase 389-ds-base-libs, which uninstalls 389-ds-devel, 389-ds-libs, and redhat-ds-base.