Source:Uninstalling SEP sesam
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:
- Double-click the installed MSI or Sesam Package, click Continue, select Remove and click Next to uninstall the SEP sesam from your system completely.
- Open Control Panel -> Add or remove programs or Programs and Features (depends on OS) and select the relevant SEP sesam component. Then click Uninstall.
- If this procedure cannot be successfully applied, you have to manually remove the SEP sesam installation.
- In the Command Prompt, execute
C:\Program Files\SEPsesam\bin\sesam\sm_main stop
. - Search in Task Manager for processes beginning with sm_ or with sm_main and terminate this processes if neccessary.
- In the Start menu/Search box, type regedit and click Enter. The Windows Registry Editor window opens.
- Delete the registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH
- Delete the registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\7737007073521AA....
- Delete the registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\7737007073521AA....
- Delete the registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\F92326AFAEF5DA...
- Delete directories
C:\Program Files\SEPsesam
andC:\ProgramData\SEPsesam\...
.
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. |
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 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.3-64.sles11 smsrv:~ # smsrv:~ # rpm -e sesam_srv-4.4.3-64.sles11 smsrv:~ #
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:
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. |
- Stop all SEP sesam services with the command: /opt/sesam/bin/sesam/sm_main stop
- 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. 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 ...
- 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.
- SEP sesam configuration files are removed from the etc directory: smsrv:~ # rm -v /etc/*sesam* removed ‘/etc/sesam2000.ini’ removed ‘/etc/sesam_cmdusers.allow’
- Remove the start scripts from the Linux system:
- chkconfig -d sesam
- rm /etc/init.d/sesam
- Remove the SEP sesam directory:
- rm -rf /opt/sesam
- rm -rf /var/opt/sesam
- Remove a database entry from the package database:
- Suse and RedHat
- Debian
See also
SEP sesam Components – Updating SEP sesam – SEP sesam Quick Install Guide