Installation guide
NOTE
The Directory Server instance must be running for the script to bind to the server.
The rem ove-ds.pl script unregisters the server from the Configuration Directory Server and removes
any related files and directories.
By default, the key and cert files are left in the instance configuration directory, and the configuration
directory is renamed rem oved.instance-name. Using the -a option (as shown) removes the security
databases, as well.
NOTE
If there is a problem with the Directory Server, like the installation failed or the server cannot be
restarted, then running remove-ds.pl script fails. In this case, try the -f option to force the
removal process.
4.7.2. Removing a Directory Server Instance and Admin Server
It is possible to remove both the Directory Server and the Admin Server (if configured on the same
system).
remove-ds-admin.pl -y -a [-f]
The -y option is required for the script to perform the removal operation. Otherwise, the rem ove-ds-
adm in.pl script performs a dry-run but does not remove any servers.
The -a option is not required, but it is recommended if a Directory Server or Admin Server instance may
be re-configured on the system later. By default, all of the security databases are preserved by the
removal script. The -a option removes the security databases, as well.
The script prompts for the administrative password.
NOTE
The Directory Server instance must be running for the script to bind to the server.
NOTE
If there is a problem with the Directory Server, like the installation failed or the server cannot be
restarted, then running remove-ds.pl script fails. In this case, try the -f option to force the
removal process.
4.8. Uninstalling Directory Server
1. Remove all of the Directory Server instances (-i instance_name) and all of their associated
Chapter 4. Advanced Setup and Configuration
67