Source:Uninstalling SEP sesam: Difference between revisions

From SEPsesam
Line 27: Line 27:
<li>If this procedure cannot be successfully applied, you have to manually remove the SEP sesam installation. </li>{{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 [mailto:support@sep.de support@sep.de] for assistance.}}
<li>If this procedure cannot be successfully applied, you have to manually remove the SEP sesam installation. </li>{{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 [mailto:support@sep.de support@sep.de] for assistance.}}
<ol><li>In the ''Command Prompt'', execute {{path|C:\Program Files\SEPsesam\bin\sesam\sm_main stop}}.</li>
<ol><li>In the ''Command Prompt'', execute {{path|C:\Program Files\SEPsesam\bin\sesam\sm_main stop}}.</li>
<li>Search in ''Task Manager'' for processes beginning with <tt>sm_</tt> or with <tt>sm_main</tt> and end this processes.</li>
<li>Search in ''Task Manager'' for processes beginning with <tt>sm_</tt> or with <tt>sm_main</tt> and terminate this processes if neccessary.</li>
<li>In the ''Start menu/Search box'', type '''regedit''' and click '''Enter'''. The ''Windows Registry Editor'' window opens.</li>  
<li>In the ''Start menu/Search box'', type '''regedit''' and click '''Enter'''. The ''Windows Registry Editor'' window opens.</li>  
<li>Delete the registry entry:</li>  
<li>Delete the registry entry:</li>  

Revision as of 10:24, 18 April 2019

Draft.png WORK IN PROGRESS
This article is in the initial stage and may be updated, replaced or deleted at any time. It is inappropriate to use this document as reference material as it is a work in progress and should be treated as such.

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.

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.


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. Double-click the installed MSI or 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 (depends 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. Search in Task Manager for processes beginning with sm_ or with sm_main and terminate this processes if neccessary.
    3. In the Start menu/Search box, type regedit and click Enter. The Windows Registry Editor window opens.
    4. Delete the registry entry:
    5. HKEY_LOCAL_MACHINE\SOFTWARE\SEP Elektronik GmbH
    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 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 at support@sep.de for assistance.
  1. Stop all SEP sesam services with the command:
  2. /etc/init.d/sesam stop systemctl stop sesam.service
  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:
    • chkconfig -d sesam
    • rm /etc/init.d/sesam
  9. Remove the SEP sesam directory:
    • rm -rf /opt/sesam
    • rm -rf /var/opt/sesam
  10. Remove a database entry from the package database:
  11. Suse and RedHat
    rpm -e --justdb sesam_srv-4.4.3-48.sles11
    Debian
    TBD

See also

SEP sesam ComponentsUpdating SEP sesamSEP sesam Quick Install Guide