Show Table of Contents
4.9. Uninstalling Directory Server
- Remove all of the Directory Server instances (
-iinstance_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 theremove-ds-admin.plscript to remove all Directory Server instances and the Admin Server instance.# remove-ds-admin.pl -a -y
- 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 the389-ds-develand389-ds-libspackages were installed, removing theredhat-ds-basealone will not fully uninstall the Directory Server packages; the-libspackage remains.In that case, runyum erase 389-ds-base-libs, which uninstalls389-ds-devel,389-ds-libs, andredhat-ds-base.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.