Starting and Stopping Run-time Servers

The procedure to use to start the Runtime Service depends on the environment in which you are working. During installation, you are asked if you want to install the Runtime Service to run as a service or daemon.

Before you stop the Runtime Service, you should stop your session pools to make sure that there are no active sessions.

To start or stop the Runtime Service in a Windows environment
  • You can run the Runtime Service as a Windows service or in application mode.
    To start
    Do this
    As a Service Use Windows Services from the Windows Control Panel to start and stop the service. By default, the service is started immediately after installation. It is also started automatically whenever you restart the Runtime Service computer.
    In application mode Run this file:

    install directory\Attachmate\EAI\ScreenConnectors\screenruntime.exe

    To stop the Runtime Service, press CTRL-C.

To start or stop the Runtime Service in a UNIX environment
  • If you use an environment other than Windows, use the run-time wrapper script provided to start, stop, and restart the daemon. The service can run either in the background or in the foreground.
    To do this
    Use this command
    Start the Runtime Service From the install directory/Attachmate/EAI/ScreenConnectors/init, run ./screenruntime.sh start. This starts the service in the background. The service writes its process ID to the file ScreenConnectors/screenruntime.pid and logs its output to the file ScreenConnectors/log/runtime.log.
    Stop the Runtime Service ./screenruntime.sh stop
    Restart the Runtime Service ./screenruntime.sh restart
    Obtain Runtime Service status ./screenruntime.sh status
    Run in the foreground From EAI/ScreenConnectors:
    ./screenruntime -D
    Set options for the Runtime Service Modify the file screen.properties, located here:

    install directory/Attachmate/EAI/ScreenConnectors

    The script is in a different location depending on whether you have a root or nonroot installation:

    Type of installation Wrapper script location
    Root user
    • Solaris — /etc/init.d/screenruntime.sh
    • HP-UX — /sbin/init.d/screenruntime.sh
    • AIX — /etc/rc.d/init.d/screenruntime.sh
    Non-root user install directory/EAI/ScreenConnectors/init/screenruntime.sh
    No install dependencies
    • Runtime daemon — install directory/EAI/ScreenConnectors/screenruntime
    • Runtime log — install directory/EAI/ScreenConnectors/log/runtime.log
    • Runtime PID — install directory/EAI/ScreenConnectors/screenruntime.pid
Related Topics
Bullet Configuring Your Run-time Environment, Overview
  Attachmate