4 4 3:Uninstalling SEP sesam

From SEPsesam
Jump to: navigation, search
Other languages:
Deutsch • ‎English

Copyright © SEP AG 1999-2019. 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.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3/4.4.3 Grolar. For previous documentation version(s), check Documentation archive.


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. Double-click the installed MSI or SEP sesam package, click Continue, select Remove and click Next to uninstall the SEP sesam from your system completely.
  2. Open Control Panel -> Add or remove programs or Programs and Features (depending on OS) 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 at support@sep.de for assistance.
    1. In the Command Prompt, execute C:\Program Files\SEPsesam\bin\sesam\sm_main stop.
    2. Open the Task Manager and search for processes beginning with sm_ or with sm_main; if any running processes are found, terminate them.
    3. In the Start menu/Search box, type regedit and click Enter. The Windows Registry Editor window opens.
    4. Delete the registry entry:
    6. Delete the registry entry:
    7. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\7737007073521AA....
    8. Delete the registry entry:
    9. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\7737007073521AA....
    10. Delete the registry entry:
    11. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\F92326AFAEF5DA...
    12. 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 tar archive (TGZ)

First, you have to make sure that your SEP sesam component was installed from a tar archive. Then uninstall SEP sesam with the command:

/opt/sesam/bin/sesam/sm_setup delete

Uninstalling RPM package

If you are 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
smsrv:~ #
smsrv:~ # rpm -e sesam_srv-4.4.3-64.sles11
smsrv:~ #
Information sign.png Note
You can use the same procedure for uninstalling other SEP sesam components.

Uninstalling debian package

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

smsrv:~ # dpkg -l | grep sesam 
ii  sesam-srv   4.4.3-64.stretch~pg   amd64   SEP sesam server for Linux
smsrv:~ #
smsrv:~ # dpkg -r sesam-srv
smsrv:~ #

Uninstalling SEP sesam manually

If the procedures described above are not possible, the following steps are required to manually remove the SEP sesam installation:

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 at support@sep.de for assistance.
  1. Stop all SEP sesam services with the command:
  2.  systemctl stop sepsesam.service (Distributions with SYSTEMD start system)
    /etc/init.d/sesam stop (Distributions with INIT start system)
    /opt/sesam/bin/sesam/sm_main stop
  3. SEP sesam processes that are still running are identified with ps fax | grep sm_. 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:
  9. chkconfig -d sesam (INIT)
    rm /etc/init.d/sesam (INIT)
    systemctl disable sepsesam.service (SYSTEMD)
    rm /lib/systemd/system/sepsesam.service (SYSTEMD)
  10. Remove the SEP sesam directory:
  11. rm -rf /opt/sesam
    rm -rf /var/opt/sesam
  12. Remove a database entry from the package database:
  13. Suse and RedHat
    rpm -e --justdb sesam_srv-4.4.3-64.sles11
    dpkg --purge sesam-srv