If uninstall cannot remove all of the Directory Server files, the uninstall tool generates a message with a list of the files and directories that must be manually deleted. The uninstall command must be run as either the root user or the same user (or role) that installed the Directory Server.
  1. From the server root directory, run the uninstall command.
    $ ./uninstall
  2. Select the components to be removed.
    • Remove all components - If you want to remove all components, press Enter to accept the default (remove all).
    • Select the components to be removed - If you do not want to remove all components, enter the option to specify the removal of only specific components.

      For each type of server component, press Enter to remove it or enter no to keep it.

  3. If the Directory Server is part of a replication topology, enter yes to provide your authentication credentials (Global Administrator ID and password). If you are uninstalling a standalone server, continue to step 7.
  4. Enter the Global Administrator ID and password to remove the references to this server in other replicated servers, and then enter or verify the host name or IP address for the server that you are uninstalling.
  5. Select how you want to trust the server certificate if you have set up SSL or StartTLS. Press Enter to accept the default.
    How do you want to trust the server certificate for the Directory Server 
    on server.example.com:389? 
    1) Automatically trust 
    2) Use a trust store 
    3) Manually validate 
    Enter choice [3]:
  6. View the logs for any remaining files and manually remove any remaining files or directories.

    If your Directory Server is running, the server shuts down before continuing the uninstall process. The uninstall action processes the removal requests before completing.