uninstall — remove OpenDJ directory server software
uninstall {options}
The uninstall command takes the following options:
Command options:
-a | --remove-allRemove all components of the server (this option is not compatible with the rest of remove options).
Default: false
-b | --backup-filesRemove backup files.
Default: false
-c | --configuration-filesRemove configuration files.
Default: false
--connectTimeout {timeout}Maximum length of time (in milliseconds) that can be taken to establish a connection. Use '0' to specify no time out.
Default: 30000
-d | --databasesRemove database contents.
Default: false
-e | --ldif-filesRemove LDIF files.
Default: false
-f | --forceOnErrorSpecifies whether the uninstall should continue if there is an error updating references to this server in remote server instances or not. This option can only be used with the --no-prompt no prompt option.
Default: false
-i | --cliUse the command line install. If not specified the graphical interface will be launched. The rest of the options (excluding help and version) will only be taken into account if this option is specified.
Default: false
-l | --server-librariesRemove Server Libraries and Administrative Tools.
Default: false
-L | --log-filesRemove log files.
Default: false
LDAP connection options:
-h | --referencedHostName {host}The name of this host (or IP address) as it is referenced in remote servers for replication.
Default: localhost.localdomain
-I | --adminUID {adminUID}User ID of the Global Administrator to use to bind to the server.
Default: admin
-j | --bindPasswordFile {bindPasswordFile}Bind password file.
-K | --keyStorePath {keyStorePath}Certificate key store path.
-N | --certNickname {nickname}Nickname of the certificate that the server should use when accepting SSL-based connections or performing StartTLS negotiation.
-o | --saslOption {name=value}SASL bind options.
-P | --trustStorePath {trustStorePath}Certificate trust store path.
-T | --trustStorePassword {trustStorePassword}Certificate trust store PIN.
-u | --keyStorePasswordFile {keyStorePasswordFile}Certificate key store PIN file. A PIN is required when you specify to use an existing certificate as server certificate.
-U | --trustStorePasswordFile {path}Certificate trust store PIN file.
-w | --bindPassword {bindPassword}Password to use to bind to the server. Use -w - to ensure that the command prompts for the password, rather than entering the password as a command argument.
-W | --keyStorePassword {keyStorePassword}Certificate key store PIN. A PIN is required when you specify to use an existing certificate as server certificate.
-X | --trustAllTrust all server SSL certificates.
Default: false
Utility input/output options:
-n | --no-promptUse non-interactive mode. If data in the command is missing, the user is not prompted and the tool will fail.
Default: false
--noPropertiesFileNo properties file will be used to get default command line argument values.
Default: false
--propertiesFilePath {propertiesFilePath}Path to the file containing default property values used for command line arguments.
-Q | --quietUse quiet mode.
Default: false
-v | --verboseUse verbose mode.
Default: false
General options:
-V | --versionDisplay Directory Server version information.
Default: false
-H | --helpDisplay this usage information.
Default: false
The following command removes OpenDJ directory server without interaction.
$ /path/to/opendj/uninstall -a --cli -I admin -w password -n Stopping Directory Server ..... Done. Deleting Files under the Installation Path ..... Done. The Uninstall Completed Successfully. To complete the uninstallation, you must delete manually the following files and directories: /path/to/opendj/lib See /var/.../opends-uninstall-3...0.log for a detailed log of this operation. $ rm -rf /path/to/opendj