Siebel System Administration Guide > Administering Server System Services > Administering the Siebel Server System Service >

Administering the Siebel Server System Service on UNIX


This topic describes how to start, stop, check, and reset the Siebel Server system service daemon process on UNIX. This topic is part of Administering the Siebel Server System Service.

Starting the Siebel Server System Service on UNIX

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

To start the Siebel Server system service on UNIX

  1. Log in as the Siebel Service owner user.
  2. Run the siebenv.sh or siebenv.csh script to set Siebel environment variables. For more information about these scripts, see Siebel Installation Guide for UNIX.
  3. Enter the following command:

    start_server siebel_server_name

    In this command, siebel_server_name is the name of the Siebel Server.

    You can run this script to start the system service for a specified Siebel Server (or servers), either within a specified Siebel Enterprise Server or across Siebel Enterprise Servers defined for the current installation.

    • To start multiple servers, enter the names of the Siebel Servers (separated by spaces), or enter all to start all of the Siebel Servers configured under the specified SIEBEL_ROOT on the particular server computer (or all of the Siebel Servers for a particular Siebel Enterprise Server, if the Siebel Enterprise Server name is specified, as described in the use of the -e flag):

    start_server server1 server2...

    start_server all

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

    start_server -r siebel_root

    Typically, you do not have to use this flag, because the SIEBEL_ROOT environment variable is set by the siebenv.csh (or siebenv.sh) script during initial configuration. If the variable is not set, then you must specify the Siebel root directory to indicate the Siebel installation under which the Siebel Server (or servers) run.

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

    start_server -e enterprise server1 server2...

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

    For example, to start the Siebel Server system services for the prod01 server in the Siebel Enterprise Server, use a command like the following:

    start_server -e siebel prod01

    To start the Siebel Server system services for the prod01 and prod02 servers in the Siebel Enterprise Server, use a command like the following:

    start_server -e siebel prod01 prod02

    • To start only Siebel Servers that are marked with the autostart attribute, use the -a flag, as follows:

    start_server -a

    Typically, use this flag only when invoking the start_server script from an autostart script. For more information about the autostart script, see Siebel Installation Guide for UNIX.

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

    start_server -f

    This flag can be used to make sure that the Siebel Server (or servers) start even if it was not previously shut down cleanly. This flag is typically not needed.

NOTE:  Do not manually copy or rename the svc.siebsrvr.* filenames or any files in the SIEBSRVR_ROOT/sys directory. Additionally, do not delete the MW* (mainwin) files stored in the /tmp directory while the Siebel Server is running. These files are reused by components in the event of a component restart.

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. Log in as the Siebel Service owner user.
  2. Run the siebenv.sh script in the current shell process, as follows:

    . ./siebenv.sh

  3. 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.

    • 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 in the use of the -e flag), as follows:

    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 this flag, because the SIEBEL_ROOT environment variable is set by the siebenv.csh (or siebenv.sh) script during initial configuration. If the variable is not set, then you must specify the Siebel root directory 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 this flag if the SIEBEL_ENTERPRISE environment variable is set in the siebenv.csh (or siebenv.sh) 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 this 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 a command like the following:

    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 might not give all of the components a chance to shut down cleanly. In general, use the force option 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.

Checking the Status of the Siebel Server System Service on UNIX

This procedure describes how to check the status of the Siebel Server system service on UNIX.

To check the status of the Siebel Server system service on UNIX

  • Enter the following command:

    list_server siebel_server_name

    You can run this script to list 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.

    • To check the status of multiple Siebel Servers, enter the names of the Siebel Servers (separated by spaces), or enter all to check the status of all of the Siebel Servers configured under the specified SIEBEL_ROOT (only if a Siebel Enterprise Server is not specified), as follows:

    list_server server1 server2...

    list_server all

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

    list_server -r siebel_root

    Typically, you do not have to use this flag, because the SIEBEL_ROOT environment variable is set by the siebenv.csh (or siebenv.sh) script during initial configuration. If the variable is not set, then you must specify the Siebel root directory to indicate the Siebel installation under which the Siebel Server (or servers) is configured.

    • To specify the Siebel Enterprise Server under which the specified Siebel Server (or servers) is running, use the -e flag, as follows:

    list_server -e enterprise server1 server2...

    You do not have to use this flag if the SIEBEL_ENTERPRISE environment variable is set in the siebenv.csh (or siebenv.sh) script during initial configuration. If the variable is not set, then you must specify the Siebel Enterprise Server name to indicate the Siebel Enterprise Server under which the Siebel Servers are running. To check the status of all of the Siebel Servers for all of the Siebel Enterprise Servers configured for the SIEBEL_ROOT, use all for the enterprise variable.

    For example, to list the current status of the Siebel Server system service for the prod01 server in the Siebel Enterprise Server, use a command like the following:

    list_server -e siebel prod01

Resetting the Siebel Server System Service on UNIX

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

To reset the Siebel Server system service on UNIX

  • Enter the following command:

    reset_server siebel_server_name

    NOTE:  Use this script only if the Siebel Server system service is unable to start after an abnormal shutdown or crash of the Siebel Server computer. Do not use it as part of the normal operation of the Siebel Server.

    You can run this script to reset 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. The names of one or more Siebel Servers (separated by spaces) must be specified on the command line.

    • To reset multiple Siebel Servers, enter the names of the Siebel Servers (separated by spaces), or enter all to reset 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 in the use of the -e flag), as follows:

    reset_server server1 server2...

    reset_server all

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

    reset_server -r siebel_root

    Typically, you do not have to use this flag, because the SIEBEL_ROOT environment variable is set by the siebenv.csh (or siebenv.sh) script during initial configuration. If the variable is not set, then you must specify the Siebel root directory to indicate the Siebel installation under which the Siebel Server (or servers) is running.

    • To specify the Siebel Enterprise Server under which the specified Siebel Server (or servers) is configured, use the -e flag, as follows:

    reset_server -e enterprise server1 server2...

    You do not have to use this flag if the SIEBEL_ENTERPRISE environment variable is set in the siebenv.csh (or siebenv.sh) script during initial configuration. If the variable is not set, then you must specify the Siebel Enterprise Server name to indicate the Siebel Enterprise Server under which the Siebel Servers are configured. To reset all of the Siebel Servers for all of the Siebel Enterprise Servers configured for the SIEBEL_ROOT, use all for the enterprise variable.

    To reset the Siebel Server system service for the prod01 server in the Siebel Enterprise Server, use a command like the following:

    reset_server -e siebel prod01

Siebel System Administration Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.