Source:Uninstalling SEP sesam

From SEPsesam
Revision as of 19:37, 16 January 2018 by Sta (talk | contribs) (Draft for manual unistallation (part of SCA guide))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 to 4.4.3 Tigon V2. For previous documentation version(s), check Documentation archive.

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Overview

A complete SEP sesam environment consists of different components (SEP sesam Server, SEP sesam Client, etc.) or modules, which can be installed and combined according to your needs to implement optimized backup. If any SEP sesam component has to be removed from a system, for example, after a failed installation or if the current installation is corrupted, it is important to follow the correct uninstallation procedure. This procedure is operating system dependent.

Uninstalling SEP sesam on Windows

There are three different ways to uninstall SEP sesam components on Windows:

  1. Open the installed MSI package and click Remove to uninstall the SEP sesam from your system completely.
  2. Open Control Panel -> Uninstall a program and select the relevant SEP sesam component. Then click Uninstall.
  3. If this procedure cannot be successfully applied, you have to manually remove the SEP sesam installation.
  4. Information sign.png Note
    The following steps describe how to modify the registry. If you modify the registry incorrectly, serious problems might occur. If you are not sure about what you are doing, we recommend that you contact SEP support (support@sep.de) for the assistance.
    1. Delete the registry entry:
    2. HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH
    3. Delete the registry entry:
    4. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\7737007073521AA....
    5. Delete the registry entry:
    6. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\7737007073521AA....
    7. Delete the registry entry:
    8. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\F92326AFAEF5DA...
    9. In the task manager, end all processes beginning with sm_, starting with sm_main.
    10. Delete directories C:\Program Files\SEPsesam and C:\ProgramData\SEPsesam\....

Uninstalling SEP sesam on Linux

The uninstallation procedure on Linux depends on the installation type (RPM, DEB, etc.). For details on different installation types, see Linux Quick Install Guide.

Uninstalling with tarball (TGZ)

First you have to make sure that your Linux installation is tarball. Then uninstall SEP sesam with the command:

/opt/sesam/bin/sesam/sm_setup delete

Uninstalling with RPM

If uninstalling the Linux installation with RPM, use the following commands; the first command identifies the package name and the second command removes the SEP sesam Server from the system:

smsrv:~ # rpm -qa | grep sesam
sesam_srv-4.4.1-11.sles11
smsrv:~ #
smsrv:~ # rpm -e sesam_srv-4.4.1-11.sles11
smsrv:~ #
Information sign.png Note
You can use the same procedure for uninstalling other SEP sesam components.

Uninstalling with DEB

First you have to identify the package name with a command dpkg -l * | grep sesam and then uninstall SEP sesam with a command dpkg -r sesam-srv.

Uninstalling SEP sesam manually

If the procedures described above are not possible, the following steps are required:

SEP Warning.png Warning
Incorrectly performing the following steps can result in database corruption and loss of data. If you are not sure about what you are doing, we recommend that you contact SEP support (support@sep.de) for the assistance.
  1. Stop all SEP sesam services with the command:
  2. /etc/init.d/sesam stop
  3. SEP sesam processes that are still running are identified with ps fax | grep sesam. If the output looks similar to the following, then the stop command was not successful. If just a few processes remain, only these are displayed.
  4. smsrv:~ # ps fax | grep sm_ 4433 ? S 0:00 /opt/sesam/bin/sesam/sm_qm_main 4449 ? S 0:00 \_ /bin/sh /opt/sesam/bin/db/sm_db_main 4464 ? S 0:00 \_ /opt/sesam/bin/sms/sm_passd 4476 ? S 0:00 \_ /opt/sesam/bin/sms/sm_stpd_main 4489 ? S 0:00 \_ /opt/sesam/bin/sesam/sm_ctrld_main 4519 ? S 0:00 \_ /opt/sesam/bin/sesam/sm_sepuler -d 4597 ? S 0:00 \_ /bin/sh /opt/sesam/bin/sesam/sm_rmi_main 4760 ? Sl 0:01 | \_ java -classpath /opt/sesam/bin/gui//sm_rmigui.jar - Djava.rmi.server.hostname=smsrv -Djava.security.policy=/var/opt/sesam/var/ini// sm_java.policy de.sep.sesam.gui.server.GUIServer -c11401 -D11401 -rde 5136 ? S 0:00 \_ /opt/sesam/bin/sms/sm_sms_main 5138 ? S 0:00 | \_ sm_data_server 0 MAIN 5141 ? S 0:00 | | \_ sm_data_server 0 ADMIN 5142 ? S 0:00 | | \_ sm_data_server 0 KILLADMIN 5143 ? S 0:00 | | \_ sm_data_server 0 DATA 5144 ? S 0:00 | | \_ sm_data_server 0 DATA 5145 ? S 0:00 | | \_ sm_data_server 0 DATA 5162 ? S 0:00 | | \_ sm_data_server 0 DATA 5163 ? S 0:00 | | \_ sm_data_server 0 DATA 5164 ? S 0:00 | | \_ sm_data_server 0 DATA 5165 ? S 0:00 | | \_ sm_data_server 0 DATA 5166 ? S 0:00 | | \_ sm_data_server 0 DATA 5187 ? S 0:00 | | \_ sm_data_server 0 DATA 5188 ? S 0:00 | | \_ sm_data_server 0 TAPE ...
  5. Remove all running processes from the system. The following list shows how to shut down the SEP sesam main process at first. If this does not work, you have to terminate the remaining processes with kill <PID>. If this does not work either, then you have to use the hammer method to remove these processes from the system.
    • killall /opt/sesam/bin/sesam/sm_qm_main command tries to terminate all processes that depend on sm_qm_main.
    • kill 4433 command tries to terminate the process sm_qm_main (see a process list above).
    • kill -9 4433 command is the hammer method and removes the process out of the system.
  6. SEP sesam configuration files are removed from the etc directory:
  7. smsrv:~ # rm -v /etc/*sesam* removed ‘/etc/sesam2000.ini’ removed ‘/etc/sesam_cmdusers.allow’
  8. Remove the start scripts from the Linux system:
    • chkconfig -d sesam
    • rm /etc/init.d/sesam
  9. Remove the SEP sesam directory:
    • rm -rf /opt/sesam
    • rm -rf /var/opt/sesam
  10. If you installed SEP sesam with an RPM installer, you need to remove a database entry from the package database:
  11. rpm -e --justdb sesam_srv-4.4.1-11.sles11

See also

SEP sesam ComponentsUpdating SEP sesamSEP sesam Quick Install Guide