Forcing a service to terminate

If you need to stop a service immediately, you can use the force-stop command.

Before you begin

You must have the Passwords.txt file.

Steps

  1. From the service laptop, log in to the grid node:
    1. Enter the following command: ssh admin@grid_node_IP
    2. Enter the password listed in the Passwords.txt file.
    3. Enter the following command to switch to root: su -
    4. Enter the password listed in the Passwords.txt file.
    When you are logged in as root, the prompt changes from $ to #.
  2. Manually force the service to terminate: service servicename force-stop
    For example:
    service ldr force-stop
    The system waits 30 seconds before terminating the service.
  3. Log out of the command shell: exit