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

Siebel Gateway System Service on UNIX


This section describes how to start, stop, and check the Siebel Gateway System Service on UNIX.

To start the Siebel Gateway 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 on these scripts, see the Siebel Server Installation Guide for the operating system you are using.
  3. Enter:
  4. start_ns

    start_ns -r siebel_root

    Typically, you do not need to use this switch, because the SIEBEL_ROOT environment variable is set by the siebenv.csh (or siebenv.sh) script. If this is not the case, then you must specify the Siebel root directory to indicate the Siebel installation under which the Siebel Gateway will run.

    start_ns -a

    Typically, this flag should only be used when invoking the start_ns script from an autostart script. For more information on the autostart script, see Siebel Server Installation Guide for UNIX.

    start_ns -f

    This can be used to make sure that the Name Server will start up even if it was not previously shut down completely. This switch is typically not needed.

To stop the Siebel Gateway 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:
  3. . ./siebenv.sh

  4. Enter:
  5. stop_ns -r siebel_root -f

    stop_ns -r siebel_root

    Typically, you do not need to use this switch, because the SIEBEL_ROOT environment variable is set by the siebenv.csh (or siebenv.sh) script. If this is not the case, then you must specify the Siebel root directory to indicate the Siebel installation under which the Siebel Gateway is running.

    stop_ns -f

    This will cause the Name Server to shut down sooner, but it may not shut down completely. In general, the -f switch should only be used if the Name Server did not respond to the nonforced shutdown in a timely manner.

To check the status of the Siebel Gateway System Service on UNIX


 Siebel Server Administration Guide 
 Published: 23 June 2003