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)
The uninstaller can, in most cases, cleanly uninstall and remove the directory server from your system. However, for Windows platforms, there might be times when the uninstaller fails to remove files due to an active directory server Windows service. For example, the uninstall utility might display the following error message.
In this case, the uninstaller failed due to the presence of the Windows service in the service manager, which prevents the uninstaller from deleting all of the instance's directories. As a result, the Windows service still remains even though the uninstaller has removed some files and directories from the instance server. For example, the bin directory is missing after a failed uninstallation, while other directories have been removed.
You have two options to remove the remaining Windows service:
Use the window-service.bat utility to clean up the existing service.
Manually remove the Windows service in the Windows registry.
You can use the windows-service.bat command to clean up any existing Windows services. This command is located in install-dir\bat.
Type the serviceName that you want to remove.
C:\> windows-service --cleanupService serviceName
Note - This command only removes directory server services. The command will not clean up another product's services.
You can manually remove any remaining Windows service entries from the Windows registry.
Caution - Make sure you know what you are doing when removing entries in your Windows registry. You can permanently damage your operating system. |
My Computer->HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->OpenDS
Note - If you installed more than one instance of OpenDS, the added services are named OpenDS-2, OpenDS-3, and so on.
Search the following:
HKEY_LOCAL_MACHINE->SYSTEM->ControlSetxyz->Enum->Root->LEGACY_OPENDS-w
where w is the number of Sun OpenDSTM Standard Edition instances that you have registered as a service and xyz is the number of configuration profiles saved on the machine. This entry is typically found in ControlSet001, but it can be located elsewhere.
Depending on your profile, your system configuration, and the control set you are trying to edit, the registry entries may be protected from deletion. In this case, it could indicate that you need Administrator privileges to do this operation or that the system control set will be refreshed the next time Windows starts up successfully, and thus confirming that the current configuration is valid.
The Windows service should be removed.