Stopping the Siebel Server System Service on UNIX

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

To stop the Siebel Server system service on UNIX

  1. On the Siebel Server 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 Server (javaw process daemon) is running. Stop it if necessary.

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

  4. Enter the following command:

    stop_server siebel_server_name
    

    You can run this script to stop the system service for a specified Siebel Server (or servers), either within a specified Siebel Enterprise Server or across all of the Siebel Enterprise Servers defined for the current installation. With some of the available command-line flags, you can do the following:

    • To stop multiple Siebel Servers, enter the names of the Siebel Servers (separated by spaces), or enter all to stop all of the Siebel Servers configured under the specified SIEBEL_ROOT (or all of the Siebel Servers for a particular Siebel Enterprise Server, if the Siebel Enterprise Server name is specified, as described for the use of the -e flag). Use one of the following commands:

      stop_server server1 server2...
      stop_server all
    • To specify the Siebel root directory, use the -r flag, as follows:

      stop_server -r siebel_root 
      

      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 Server (or servers) is running.

    • To limit the operation to Siebel Servers in a specific Siebel Enterprise Server, use the -e flag, as follows:

      stop_server -e enterprise server1 server2...
      

      You do not have to use the -e flag if the SIEBEL_ENTERPRISE environment variable is set in the siebenv.sh or siebenv.csh script during initial configuration. If the variable is not set, then you must specify the Siebel Enterprise Server name. To stop all of the Siebel Servers for all of the Siebel Enterprise Servers configured for the SIEBEL_ROOT, do not use the -e flag (you might have to unset the SIEBEL_ENTERPRISE environment variable).

    • To stop the Siebel Server system service for the prod01 server in the Siebel Enterprise Server, use the -e flag, as follows:

      stop_server -e siebel prod01
      
    • To force the shutdown, use the -f flag, as follows:

      stop_server -f
      

      This flag causes the Siebel Server to shut down sooner, but it might not give all of the components a chance to shut down cleanly. In general, use the -f flag only if the Siebel Servers did not respond to the unforced shutdown in a timely manner.

    Note: A normal shutdown of the Siebel Server system service on UNIX deletes MainWin page files of the format MW* stored in the /tmp directory. You can safely delete these files if they remain after the Siebel Server shuts down. However, do not delete these files while the Siebel Server is running.