Exit Print View

Sun OpenDS Standard Edition 2.0 Installation Guide

Get PDF Book Print View
 

Document Information

Directory Server System Requirements

Installing the Directory Server

Configuring the JVM, Java Options, and Database Cache

Upgrading the Directory Server

Starting and Stopping the Directory Server

Managing the Directory Server as a Service

Uninstalling the Directory Server

To Uninstall the Directory Server in GUI Mode

To Uninstall the Directory Server by Using the Command Line

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

Removing the Directory Server Windows Service

To Remove a Windows Service by Using windows-service.bat

To Manually Remove the Directory Server Service From the Windows Registry

To Uninstall the Directory Server by Using the Command Line

  1. Use the uninstall command with the --cli option.
    (UNIX, Linux) $ uninstall --cli
    (Windows)     C:\> uninstall.bat --cli
  2. Select the components to be removed.

    If you want 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]:
  3. 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]:
  4. Remove any folders manually if present.
    Removing references on sr1-uaus-01:2389 ..... Done.
    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/opends/ds-server-1/lib
    See /var/tmp/opends-uninstall-2085.log for a detailed log of this operation.  
  5. If your directory server is a stand-alone server and is running, it prompts you to stop the server, 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 remove certain components and keep the others, type 2.
  7. When uninstall prompts you to select the components to be deleted, press Enter or Return to accept the defaults.
    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]: 2
    
    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]:
    
    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/opends/standalone/ds-server-test/lib
    See /var/tmp/opends-uninstall-7470.log for a detailed log of this operation.
  8. If you want to quit the uninstaller without removing files, type q. The uninstall utility 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.
  9. Check that all files and directories have been removed. If they have not been removed, manually remove them.
  10. For Windows systems, check the Windows registry for any remaining keys ending with OpenDS. For example:
    SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\OpenDS
  11. Locate the SunOpenDS_SE2.0 directory, and manually remove the directory and its subdirectories.
    (UNIX, Linux) $ rm -ir SunOpenDS_SE2.0
    (Windows)     C:\> rmdir /s /q C:\path\to\SunOpenDS_SE2.0