4848N/A<?
xml version="1.0" encoding="UTF-8"?>
4848N/A ! This work is licensed under the Creative Commons 4848N/A ! Attribution-NonCommercial-NoDerivs 3.0 Unported License. 4848N/A ! To view a copy of this license, visit 4848N/A ! or send a letter to Creative Commons, 444 Castro Street, 4848N/A ! Suite 900, Mountain View, California, 94041, USA. 4848N/A ! You can also obtain a copy of the license at 4848N/A ! See the License for the specific language governing permissions 4848N/A ! and limitations under the License. 4848N/A ! If applicable, add the following below this CCPL HEADER, with the fields 4848N/A ! enclosed by brackets "[]" replaced with your own identifying information: 4848N/A ! Portions Copyright [yyyy] [name of copyright owner] 4848N/A ! Copyright 2011-2013 ForgeRock AS 4848N/A<
chapter xml:
id='chap-uninstall' 4848N/A <
title>Removing OpenDJ Servers</
title>
4848N/A <
indexterm><
primary>Uninstalling</
primary></
indexterm>
4848N/A <
para>Remove OpenDJ directory server software with the
4848N/A <
procedure xml:
id="uninstall-gui">
4848N/A <
title>To Uninstall OpenDJ From the Graphical Uninstaller</
title>
<
mediaobject xml:
id="figure-uninstall-start">
<
para>Select what to remove in the initial screen.</
para>
<
para>When the process is finished, you might still have some files
to remove manually.</
para>
<
mediaobject xml:
id="figure-uninstall-finished">
<
para>The final screen indicates what must be removed manually.</
para>
<
procedure xml:
id="uninstall-cli">
<
title>To Uninstall OpenDJ On the Command Line</
title>
<
para>Login as the user who installed and runs the server.</
para>
<
para>This command starts the removal program in interactive mode on the
command line, prompting you for each option. Alternatively, use additional
<
command>uninstall</
command> options to specify choices for the options.
See <
command>uninstall --help</
command> for more information.</
para>
Do you want to remove all components of the server or select the components to
2) Select the components to be removed
The server is currently running and must be stopped before uninstallation can
Stop the Server and permanently delete the files? (yes / no) [yes]:
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
See /
var/
....log for a detailed log of this operation.</
screen>
<
para>If the command output tells you to delete files manually, then remove
those remaining files to complete the process.</
para>
<
procedure xml:
id="uninstall-deb">
<
title>To Uninstall the Debian Package</
title>
<
indexterm><
primary>Debian (.deb) package</
primary></
indexterm>
<
para>When you uninstall the Debian package from the command line, OpenDJ
directory server is stopped if it is running.</
para>
<
para>Remove the package from your system.</
para>
<
screen>$ sudo dpkg -r opendj
(Reading database ... 185725 files and directories currently installed.)
*Stopping OpenDJ server...
[
03/
Jun/
2013:10:00:49 +0200] category=BACKEND severity=NOTICE
msgID=9896306 msg=The backend userRoot is now taken offline
[
03/
Jun/
2013:10:00:49 +0200] category=CORE severity=NOTICE
msgID=458955 msg=The Directory Server is now stopped
*OpenDJ successfully removed
<
para>Removing the package does not remove your data or configuration.
You must remove <
filename>/
opt/
opendj</
filename> manually to get rid of
<
procedure xml:
id="uninstall-rpm">
<
title>To Uninstall the RPM Package</
title>
<
indexterm><
primary>Red Hat (.rpm) package</
primary></
indexterm>
<
para>When you uninstall the RPM package from the command line, OpenDJ
directory server is stopped if it is running.</
para>
<
para>Remove the package from your system.</
para>
Pre Uninstall - uninstall
[
03/
Jun/
2013:10:42:46 +0200] category=BACKEND severity=NOTICE
msgID=9896306 msg=The backend userRoot is now taken offline
[
03/
Jun/
2013:10:42:46 +0200] category=CORE severity=NOTICE
msgID=458955 msg=The Directory Server is now stopped
Post Uninstall - uninstall
OpenDJ successfully removed.
<
para>Removing the package does not remove your data or configuration.
You must remove <
filename>/
opt/
opendj</
filename> manually to get rid of