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 example3Alternatively, if an Admin Server instance is also installed on the system, then use the
remove-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
389-ds-libspackages were installed, removing the
redhat-ds-basealone will not fully uninstall the Directory Server packages; the
-libspackage remains.In that case, run
yum erase 389-ds-base-libs, which uninstalls