Source:How to Start and Stop SEP sesam
After the installation, the SEP sesam software will start automatically. You can use the command sm_main status
to see if all processes are running. You can start and stop the SEP sesam services manually by using the commands below.
For details on SEP sesam commands, see SEP sesam CLI.
Start/stop SEP sesam on Windows
One central SEP sesam service is running on Windows systems. It is called SEP Sesam and is running under the system account of the Windows operating system. This service starts all other required services.
- Start
- using the Windows services control panel
- in Windows Task Manager using the Services tab
- on CMD or Powershell:
net start sm_main
- on CMD or Powershell:
<SESAM_BIN>\bin\sesam\sm_main start
(for RDS and Client components)
- Stop
- using the Windows services control panel
- in Windows Task Manager using the Services tab
- on CMD or Powershell:
net stop sm_main
- on CMD or Powershell:
<SESAM_BIN>\bin\sesam\sm_main stop
(for RDS and Client components) - on CMD or Powershell:
<SESAM_BIN>\bin\sesam\sm_shutdown -f
(available on SEP sesam Server only, cleanly stops all processes and can be used for debugging or error checking purposes)
Start/stop SEP sesam on Linux
One central SEP sesam service is running on Linux systems that controls all other SEP sesam services. SEP sesam services are always running under the Linux root user account. Depending on the Linux distribution, the following commands can be used:
- Start
- in the Linux shell:
/etc/init.d/sesam start
(distrib. with INIT start system) - in the Linux shell:
systemctl start sepsesam.service
(distrib. with SYSTEMD start system) - in the Linux shell:
<SESAM_BIN>/bin/sesam/sm_main start
(for RDS and Client components) - in the Linux shell:
<SESAM_BIN>/bin/sesam/sm_startup
(available on SEP sesam Server only)
- Stop
- in the Linux shell:
/etc/init.d/sesam stop
(distrib. with INIT start system) - in the Linux shell:
systemctl stop sepsesam.service
(distrib. with SYSTEMD start system) - in the Linux shell:
<SESAM_BIN>/bin/sesam/sm_main stop
(for RDS and Client components) - in the Linux shell:
<SESAM_BIN>/bin/sesam/sm_shutdown
(available on SEP sesam Server only, cleanly stops all processes and can be used for debugging or error checking purposes)