Using the svrstop utility to shut down the Unica Campaign listener

From a command prompt on the Unica Campaign server, you can run the svrstop utility to stop the Unica Campaign listener running on that server. To stop the Unica Campaign listener running on another server, use the -s argument, as in -s servername.example.com, and provide the required authentication.

About this task

Follow these steps to stop a Unica Campaign listener.

Note: The svrstop command does not stop an entire cluster. To shut down a cluster, use the Unica Campaign Server Manager (unica_svradm).

Procedure

  1. Open a command prompt on the Unica Campaign server.
  2. Make sure that the CAMPAIGN_HOME environment variable is set to <install_dir>/Campaign/bin, where <install_dir> is the parent directory under which Unica Campaign is installed.
  3. Enter the following command:

    svrstop -p 4664

    The -p argument specifies the port on which the listener is accepting connections. Port 4664 is the port that Unica Campaign uses internally to accept connections from the web client, so the -p 4664 argument indicates you are stopping the Unica Campaign listener.

  4. When prompted, provide the name and password of any Unica user with privileges to stop the listener.

    Optionally, you could include -y <username> and -z <password> as arguments with the svrstop command to prevent the user name and password prompts from appearing.