Interactive mode uses a text-based, command-line interface to help you remove your instance. If uninstall cannot remove all of the Directory Proxy 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 Proxy Server.
  1. From the server root directory, run the uninstall command.
    $ ./uninstall --cli
  2. Select the components to be removed. If you want to remove all components, press Enter to accept the default (remove all). Enter the option to specify the specific components that you want to remove.
    Do you want to remove all components or select the components to remove?
    
    1) Remove all components 
    2) Select the components to be removed
    
    q) quit 
    Enter choice [1]:
  3. For each type of server component, press Enter to remove them or type no to keep it.
    Remove Server Libraries and Administrative Tools? (yes / no) [yes]: 
    Remove Database Contents? (yes / no) [yes]: 
    Remove Log Files? (yes / no) [yes]: 
    Remove Configuration and Schema Files? (yes / no) [yes]: 
    Remove Backup Files Contained in bak Directory? (yes / no) [yes]: 
    Remove LDIF Export Files Contained in ldif Directory? (yes / no) [yes]:
  4. If the Directory Proxy Server is part of a replication topology, type yes to provide your authentication credentials (Global Administrator ID and password). If you are uninstalling a stand-alone server, continue to step 7.
  5. Type the Global Administrator ID and password to remove the references to this server in other replicated servers. Then, type or verify the host name or IP address for the server that you are uninstalling.
  6. Next, select how you want to trust the server certificate if you have set up SSL or StartTLS. For this example, press Enter to accept the default.
    How do you want to trust the server certificate for the Directory Proxy Server 
    on server.example.com:389? 
    
    1) Automatically trust 
    2) Use a trust store 
    3) Manually validate 
    
    Enter choice [3]:
  7. If your Directory Proxy Server is running, the server is shutdown before continuing the uninstall process. The uninstall processes the removal requests and completes. View the logs for any remaining files. Manually remove any remaining files or directories, if listed.