Octopus Administrator's Guide
Octopus Operations

 

Previous Topic:
Terminating SQL Command or Data Load Execution
Chapter Index
Next Topic:
The Octopus Daemon/Service Process

 

Shutting Down Octopus


Stopping the Octopus Daemon/Service

UNIX

To stop the Octopus daemon, use the following command (executable by ROOT only):


Windows

There are several ways to shut down the Octopus service:

  1. To shut down Octopus from the Services applet, access the applet from the Control Panel:

Windows 2000: Start > Settings > Control Panel > Administrative Tools > Services

On the Services applet, right-click the Octopus service, and then select Stop.

  1. To shut down a local Octopus service from a command prompt, enter:

NET STOP OCTOPUS

  1. If the Windows Resource Kit has been installed on the system, the service can also be stopped from a command prompt (local or remote) by issuing the following command:

SC server-name STOP OCTOPUS

where server-name is the host name of the computer on which the Octopus program resides.


Shutting Down an Octopus Instance

To shut down an Octopus instance from the command line, use the OctoShutdown program . Note that a user name (along with password, if applicable) must be included in the program invocation, unless privilege checking has been disabled by including the SecurityLevel=0 parameter in the relevant [OCTOPUS instance-name] section of the nucleus.ini file. When privilege checking is disabled, all users are connected as the user DBA.

DBA privileges are required to execute the octoshutdown command.

Syntax

octoshutdown connection-name database-name user-name[/password]

where connection-name corresponds to the value of the Connection parameter in the relevant OCTOPUS section of the nucleus.ini file, and database-name is the name of the database instance running under Octopus (as specified by the DatabaseName parameter).

To shut down the Octopus instance after saving changes made to the database, use the SET UPDATE KEEP CHANGE SHUTDOWN command.

 

Previous Topic:
Terminating SQL Command or Data Load Execution
Chapter Index
Next Topic:
The Octopus Daemon/Service Process