Sun Java System Directory Server Enterprise Edition 6.3 Installation Guide

Software Removal

After you have removed all server instances that depend on the installed product components, you can remove the component software.

ProcedureTo Remove Directory Service Control Center Installed from Native Packages

By removing all of DSCC, you also remove Directory Server packages from the system.

  1. Dismantle DSCC with the dsccsetup dismantle command.

    For example, on a Solaris system the following command dismantles DSCC.


    root# /opt/SUNWdsee/dscc6/bin/dsccsetup dismantle
    ***
    Unregistering DSCC Application from Sun Java(TM) Web Console...
    This operation is going to stop Sun Java(TM) Web Console.
    Do you want to continue ? [y,n] y
    Stopping Sun Java(TM) Web Console...
    Unregistration is on-going. Please wait...
    /var/opt/SUNWdsee/dscc6/dcc has not been removed
    DSCC Application has been unregistered from Sun Java(TM) Web Console
    Restarting Sun Java(TM) Web Console
    Please wait : this may take several seconds...
    Sun Java(TM) Web Console restarted successfully
    ***

    On Windows, run the following command to dismantle DSCC.


    C:\install-path\dscc6\bin>dsccsetup.exe dismantle 

    On Solaris, the dsccsetup command is located in install-path/dscc6/bin/dsccsetup. See Default Paths to determine the default install-path for your system.

  2. Remove Directory Service Control Center with the Java ES installer.

    For instructions, see the Java Enterprise System documentation at http://docs.sun.com/coll/1286.3.

    Directory Service Control Center installed using the zip distribution is not uninstalled using the above procedure. If you need to uninstall DSCC, refer to the respective application server documentation on how to remove a Web application.

ProcedureTo Remove Directory Server or Directory Proxy Server Installed From Native Packages

  1. Remove the software with the Java ES installer.

    For instructions, see the Java Enterprise System documentation at http://docs.sun.com/coll/1286.3.

ProcedureTo Remove Software Installed From the Zip Distribution

  1. Remove the software with the dsee_deploy(1M) command.

    If zip distribution software was installed by a non-root user, that user can also remove the software.

    For example, to remove all Directory Server Enterprise Edition software installed under /local, issue the following command.


    $ /local/dsee6/bin/dsee_deploy uninstall -i /local
    

    On Windows, run the following command to uninstall the software:


    C:\install-path\dsee6\bin\dsee_deploy uninstall -i install-path
    
See Also

For a full list of supported components, see dsee_deploy(1M).

ProcedureTo Force Removal of Software Installed From the Zip Distribution

Before You Begin

You can force removal by deleting installed files, if you have installed the software from the zip distribution.

If zip distribution software was installed by a non-root user, that user can also remove the software.

Do not directly delete files that are installed from native packages.

  1. Remove components with a system command.


    $ rm -rf install-path
    

    On Windows, run the following commands to remove the components:


    C:\>del /s install-path
    C:\>del install-path