Unica Campaign srvstop utility reference

Use the svrstop utility to stop the Unica Campaign listener or the Unica Optimize listener, running on your local server or a server elsewhere on your network, for which you have the proper credentials.

The svrstop utility is installed automatically on every Unica Campaign server in the <install_dir>/Campaign/bin directory, where <install_dir> is the parent directory in which Unica Campaign is installed.

The svrstop utility uses the following syntax:

svrstop [-g] [-p <port> [-S]] [-s <serverName>] [-y <user>] [-z <password>] [-v] [-P <product>] [-f <force stop>]

Example:

svrstop -y asm_admin -z password -p 4664

Each argument is described in the following table:

Table 1. svrstop syntax arguments
Argument Description
-g Pings the specified server to determine whether the listener is active.
-p <port> The port on which the listener is running. Set <port> to 4664 to shut down the Campaign listener. Set <port> to 2882 to shut down the Optimize listener.
-S Specifies that the listener specified by the -p or -P argument is using SSL.
-s <serverName> The host name of the server on which the listener is running, such as optimizeServer or campaignServer.example.com. If you omit this argument, the utility attempts to shut down the specified listener on your local server.
-y <user> The Unica user with Unica Campaign administrator privileges to shut down the specified listener. If you omit this value, you will be prompted for a user when you run the utility.
-z <password> The password for the Unica user that you specified with the -y argument. If you omit this value, you will be prompted for a password when you run the utility.
-v Reports the version information for the svrstop utility and exits without further actions.
-P <product> The product whose listener you want to shut down. Set this to "Optimize" to shut down the Unica Optimize listener. Any other value for this argument, or omitting this argument, shuts down the Unica Campaign listener.
-f <force stop> Use this option to force the server stop command. When you use this option, you are not prompted for any further information or confirmation. Without this option, you are prompted to confirm the server stop. (Do you really want to stop the listener? (Y/N))