Sun OpenDS Standard Edition System Requirements
Installing the Directory Server
Configuring the JVM, Java Options, and Database Cache
Starting and Stopping Your Server Instance
Managing the Server as a Service
Uninstalling the Directory Server
To Uninstall the Directory Server in GUI Mode
To Uninstall the Directory Server by Using a Script (UNIX/Linux Only)
You can uninstall the directory server in interactive, command-line mode by typing uninstall --cli. In interactive mode, you are prompted for any required input.
(UNIX, Linux) $ uninstall --cli (Windows) C:\> uninstall.bat --cli
Do you want to remove all components of OpenDS or select the components to remove? 1) Remove all components 2) Select the components to be removed q) quit Enter choice [1]:
When uninstall prompts you to select the components to be deleted, press Enter or Return to accept the defaults.
The uninstaller starts the server (if it is not already running) and requests your Global Administrator login to remove the references to this server in the other replicating directory servers.
This server is configured to do replication. If the server is actually replicating contents with other servers you must provide administrator authentication to remove references to this server in the replicating OpenDS servers. Type 'Yes' to provide authentication to remove the remote references. Type 'No' to continue the uninstall without updating remote references. Provide authentication? (yes / no) [yes]: # Type your Global Administrator user ID, password, and host of the directory server as it is referenced in other replication servers. Global Administrator User ID [admin]: Password for user 'admin': The name of this host (or IP address) as it is referenced in remote servers for replication [sr1-uaus-01]:
Press Enter or Return to accept the default (Yes).
The OpenDS server is currently running and must be stopped before uninstallation can continue. Stop the Server and permanently delete the files? (yes / no) [yes]: Stopping Directory Server ..... Done. Deleting Files under the Installation Path ..... Done. OpenDS Uninstall Completed Successfully. To complete the uninstallation, you must delete manually the following files and directories: /home/sunopends/standalone/ds-server-test/lib See /var/tmp/opends-uninstall-16565.log for a detailed log of this operation.
The uninstall quits the process and logs the entry.
Note - UNIX logs the entry at /var/tmp, Linux at /tmp, and Windows at the location defined by the TEMP user environment variable.
(UNIX, Linux) $ uninstall --cli (Windows) C:\> uninstall.bat --cli Do you want to remove all components of OpenDS or select the components to remove? 1) Remove all components 2) Select the components to be removed q) quit Enter choice [1]: See /var/tmp/opends-uninstall-24340.log for a detailed log of this operation.
For example:
SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\OpenDS
(UNIX, Linux) $ rm -ir SunOpenDS_SE2.2 (Windows) C:\> rmdir /s /q C:\path\to\SunOpenDS_SE2.2