Exit Print View

Sun OpenDS Standard Edition 2.2 Installation Guide

Get PDF Book Print View
 

Document Information

Which Install To Choose

Sun OpenDS Standard Edition System Requirements

Getting the Software

Installing the Directory Server

Installing the Proxy 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 Using the CLI

To Uninstall the Directory Server by Using a Script (UNIX/Linux Only)

Uninstalling the Proxy

To Uninstall the Directory Server Using the CLI

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.

  1. Go to the Sun OpenDS Standard Edition installation subdirectory.
  2. Use the uninstall command with the --cli option.
    (UNIX, Linux) $ uninstall --cli
    (Windows)     C:\> uninstall.bat --cli
  3. Select the components to be removed.
    • To remove all components, press Enter or Return to accept the default.
      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]:
    • To remove specific components and retain others, type 2.

      When uninstall prompts you to select the components to be deleted, press Enter or Return to accept the defaults.

  4. If your directory server is part of a replication topology, type Yes or press Enter or Return to continue the uninstallation.

    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]:
  5. If your directory server is a stand-alone server and is running, the uninstall prompts you to stop the server and remove all files.

    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.   
  6. If you want to quit the uninstaller without removing files, type q.

    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.
  7. Check that all files and directories have been removed. If they have not been removed, manually remove them.
  8. For Windows systems, check the Windows registry for any remaining keys ending with OpenDS.

    For example:

    SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\OpenDS
  9. Locate the SunOpenDS_SE2.2 directory, and manually remove the directory and its subdirectories.
    (UNIX, Linux) $ rm -ir SunOpenDS_SE2.2
    (Windows)     C:\> rmdir /s /q C:\path\to\SunOpenDS_SE2.2