Sun Java System Directory Server Enterprise Edition 6.0 Installation Guide

ProcedureTo Uninstall Core

Note –

You must uninstall the Directory Server Plug-in before you uninstall Core.

Uninstalling Core before the Plug-in removes the Plug-in bits without unregistering them from the Directory Server, which will prevent the Directory Server from starting unless you manually remove cn=pswsync,cn=plugins,cn=config.

Use the following instructions to uninstall Core:

  1. Start the uninstaller program:

    • On Windows machines:

      1. Click Start, and then choose Settings -> Control Panel.

      2. Double-click Add/Remove Programs.

      3. In the Add/Remove Programs window, select Identity Synchronization for Windows, then click Remove.

    • On Solaris or Linux machines, execute or uninstall.cmd on Windows.

      These programs are located in the installation directory (which is the /opt/SUNWisw directory on Solaris and /opt/sun/isw directory on Linux by default).

  2. In the Welcome screen click Next.

  3. Enter the Configuration Directory Host name and Port number.

    1. Select the root suffix of the configuration directory. (If necessary, click Refresh to see the list of suffixes.)

    2. For secure communication between the uninstall program and the configuration directory server, enable the Secure Port box and specify the Directory Server’s SSL port number.

  4. Enter your administrator’s name and password for the configuration directory.

  5. Select Core to be uninstalled and click Next.

  6. Enter the configuration directory URL, click Refresh, and select the appropriate root suffix from the drop-down list.

  7. Click Next to perform further uninstallation related tasks.

  8. A summary window appears. Please follow the instructions presented in this window.

    1. On Solaris systems: Uninstallation logs are written to /var/sadm/install/logs/

    2. On Linux systems: Uninstallation logs are written to /var/sadm/install/logs/

    3. On Windows systems: Uninstallation logs are written to the %TEMP% directory, which is a subdirectory of the Local Settings folder located under

      C:\Documents and Settings\Administrator

    Note –

    On some Windows systems (such as Windows 2000 Advanced Server), the Local Settings folder is a hidden folder.

    To view this folder and the Temp subdirectory:

    Open your Windows Explorer and select Tools -> Folder Options from the menu bar. When the Folder Options dialog box is displayed, select the View tab and enable the Show Hidden Files option.

  9. Click Close to exit the program.

    Note –

    If you are unable to run the connector uninstaller for a given connector for any reason (for example, if you lost the connector files during a hard drive failure), use the idsync resetconn subcommand (see Using resetconn).

    This command resets the connector state in the configuration directory to uninstalled so that you can reinstall it elsewhere. The resetconn subcommand is similar to other commands that access the configuration directory, and it provides two options:

    • -e dir-source: Specifies the name of the directory source to be reset. (Connectors are identified in the installers by their directory source name.)

    • -n (safe mode): Indicates whether the arguments specified for the command are correct without doing any work.

      Example command:

      idsync resetconn -D “cn=Directory Manager”-w [-h CR-hostname]
      [-p 389] [-s dc=example,dc=sun,dc=com] -q [-Z] [-P “cert8.db“]
       [-m “secmod.db“] -e “dc=central, dc=example,dc=com“ [-n]

      resetconn Output:

      NOTICE: This program will reset the installation state
      to UNINSTALLED for the Connector associated with the 
      specified DirectorySource ’dc=central,dc=example,dc=com’.
      Changing the Connector to an UNINSTALLED state is a 
      last resort. This is NOT meant to be used for 
      uninstalling connectors.It is typically used if you 
      lost a machine with the connector on it and can not 
      run the uninstaller.  Additionally, this program will
      rewrite the existing configuration. This can be a 
      lengthy process. Before proceeding, you should stop 
      the Console, any running installers, and all other 
      system processes. You may want to export the ou=Services 
      tree in the configuration directory to ldif as a backup.
      Do you want to reset the installer settings
      for the connector (y/n)?