Aborting a service

From the command-line, you can abort IBM® Product Master services and make them unavailable for use.

About this task

  • Stopping a service is not the same as aborting a service:
    • If you stop a service, Product Master attempts to stop the service but only after all tasks that are currently using the service is stopped.
    • If you abort a service, Product Master attempts to shut down the service but if a task is using the service, the abort might fail.
  • If you abort the RMI registry, you are unable to contact services on remote machines.

Procedure

Run the shell script of the specified service from the <install dir>/bin/go directory.
  1. Display a list of the full names for all the services that are running on your system. Type svc_control --action=list.
  2. Abort a service on your system. Type svc_control --action=abort --svc_name=<full name>.

Example

In this example, the scheduler service is aborted and given the service name sch1.
svc_control --action=abort --svc_name=sch1_MYHOST

What to do next

To restart the service that you just aborted, see Starting a service.