Siebel Analytics Installation and Configuration Guide > Administering Analytics Servers >

Stopping the Analytics Servers


Changes to the configuration (NQSConfig.INI) file, Web Catalog (SiebelAnalytics.webcat) file, the repository (.rpd) file, and other files require that the Siebel Analytics Server be stopped, then restarted, before those changes can take effect. The following topics describe how to stop the Siebel Analytics servers under both Windows and UNIX platforms:

Stopping Analytics Servers (Windows)

Stopping servers under Windows involves running Windows Services.

To run Windows Services, use the command C:\WINDOWS\system32\services.msc or navigate to Start > Programs > Administrative Tools > Services.

To stop the servers under Windows

  1. Stop the Siebel Analytics Web service.

    NOTE:  This may take several minutes.

  2. Stop the World Wide Web Publishing service.
  3. Stop the Siebel Analytics Server service.

Stopping Analytics Servers Normally (UNIX)

This procedure is the regular method of stopping the servers under UNIX. The UNIX commands you use to start and shut down the servers depend on the UNIX shell being used.

NOTE:  When you first set up the environment, you must source sa.sh or sa.csh.

The order in which the services are stopped, then restarted, is important.
Use the following sequence.

To stop the Siebel Analytics Servers using regular UNIX commands

  1. Stop the Siebel Analytics Server service, using one the UNIX shell commands shown in the following table.
    Shell
    Order of Stopping
    Command
    • Korn
    • Bourne
    • bash

    1 Siebel Analytics Server

    run-sa.sh stop

    2 Siebel Analytics Web Server

    run-saw.sh stop

    3 Siebel Analytics Scheduler Server

    run-sch.sh stop -p <password>

    • C

    1 Siebel Analytics Server

    run-sa.csh stop

    2 Siebel Analytics Web Server

    run-saw.csh stop

    3 Siebel Analytics Scheduler Server

    run-sch.csh stop -p <password>

  2. If the regular UNIX commands do not work, see the following topics:

Stopping Siebel Analytics Server When Regular UNIX Commands Fail

When the Siebel Analytics Server starts, the process utilizes additional processes and resources that may fail to stop cleanly when the Siebel Analytics Server is shut down, for one of the following reasons:

  • The environment has been set up with sa.sh or sa.csh, and you are using the command:

    nqsshutdown.exe -u Administrator

  • Shared memory may be used by the user ID running Siebel Analytics Server.

    NOTE:  Check IPC resources using the command ipcs, and use the command ipcrm to remove the resource.

If you cannot shut down the Siebel Analytics Server cleanly with the regular commands, use the following procedure.

To stop the Siebel Analytics Server using forcestop

  1. Set up DISPLAY.
  2. While running telnet, use one of the commands in the following table.
    Shell
    Command

    Bourne, Korn, or bash

    run-sa.sh forcestop

    C

    run-sa.csh forcestop

Stopping Scheduler Server When Regular UNIX Commands Fail

If the regular commands fail, you may run the following command:

  • mwcleanup
Siebel Analytics Installation and Configuration Guide