Running MSS or Reflection for the Web Server as a Service Daemon on Linux

  • 7021594
  • 01-Jul-2016
  • 02-Mar-2018

Environment

Host Access Management and Security Server version 12.2
Reflection for the Web (All Editions) version 12.2
Reflection for the Web 2014 (All Editions)
Reflection for the Web 2011 (All Editions)

Situation

This article outlines the steps necessary to configure the Host Access Management and Security Server (MSS) or Reflection for the Web Server to run as a service daemon on Linux.

Resolution

The steps depend on the version of MSS or Reflection for the Web installed.

Reflection for the Web 12.2 and the Host Access Management and Security Server (MSS)

In version 12.2 and higher, the automated installer creates the symbolic links in the /etc/init.d directory, so all you need to do is Run the chkconfig command.

Reflection for the Web 2014 (12.0, 12.1) and Reflection for the Web 2011 (11.0)

  1. Open a terminal window.
  2. Change directories to opt/attachmate/reflectionserver.
  3. Create a symbolic link for the ReflectionServer shell script to the etc/init.d directory.
  4. ln -s /opt/attachmate/reflectionserver/ReflectionServer /etc/init.d/ReflectionServer.
  5. Run the chkconfig command.

Security Proxy Server

In Reflection for the Web 2014 (12.0, 12.1) and Reflection for the Web 2011 (11.0):

  1. Open a terminal window.
  2. Change directories to opt/attachmate/reflectionserver/securityproxy/bin.
  3. Create a symbolic link for the SecurityProxy shell script to the etc/init.d directory.
  4. ln -s /opt/attachmate/reflectionserver/securityproxy/bin/SecurityProxy /etc/init.d/SecurityProxy.
  5. Run the chkconfig command.

Run the chkconfig command

With the symbolic links created in the /etc/init.d directory, the chkconfig command must be run to place the service at the appropriate run level(s). At the command prompt in a terminal window enter “chkconfig --add Service_Shell_script_name” By default this places the Service Shell script in all run levels (2, 3, 4, & 5). If needed specific run levels can be used by using the --level option.

Examples:

Host Access Management and Security Server (MSS) and Reflection for the Web 12.2 Server and Security Proxy

chkconfig --add MssServer
chkconfig --add MssSecurityProxy

Reflection for the Web 2014 (12.0, 12.1) and Reflection for the Web 2011 (11.0) Server and Security Proxy

chkconfig --add ReflectionServer
chkconfig --add SecurityProxy


Additional Information

Legacy KB ID

This document was originally published as Attachmate Technical Note 2876.