Show Table of Contents
4.9. Uninstalling Directory Server
- 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 theremove-ds-admin.pl
script 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-devel
and389-ds-libs
packages were installed, removing theredhat-ds-base
alone will not fully uninstall the Directory Server packages; the-libs
package remains.In that case, runyum erase 389-ds-base-libs
, which uninstalls389-ds-devel
,389-ds-libs
, andredhat-ds-base
.