Stopping the Siebel Gateway System Service on UNIX

This procedure describes how to stop the Siebel Gateway system service on UNIX.

To stop the Siebel Gateway system service on UNIX

  1. On the Siebel Gateway computer, log in as the Siebel Service owner user.

  2. Run the siebenv.sh or siebenv.csh script in the current shell process.

    For more information about these scripts, see Siebel Installation Guide.

  3. Run the ps command and check whether the application container for the Siebel Gateway (javaw process daemon) is running. Stop it as necessary.

    For more information, see Starting and Shutting Down a Siebel CRM Deployment.

  4. To stop the Siebel Gateway system service, enter a command like the following:

    stop_ns -r siebel_root -f
    

    The following are explanations of some of the available command-line flags:

    • To specify the Siebel root directory, use the -r flag, as follows:

      stop_ns -r siebel_root -f
      

      Typically, you do not have to use the -r flag, because the script in the previous step sets the SIEBEL_ROOT environment variable. If the variable is not set, then you must specify the Siebel root directory, using this flag, to indicate the Siebel installation under which the Siebel Gateway is running.

    • To force the shutdown, use the -f flag, as follows:

      stop_ns -f
      

      This flag causes the Siebel Gateway to shut down sooner, but it might not shut down completely. In general, use the -f flag only if the Siebel Gateway did not respond to the unforced shutdown in a timely manner.