More than one Log Server is installed for a Policy Server

Each Policy Server instance can connect to only one instance of Log Server. When multiple instances of Log Server attempt to connect to the same Policy Server, log data is not recorded properly, causing problems with multiple reporting tools.

To resolve this issue:

  • If multiple, active Log Server instances are running, uninstall all but one of the Log Server instances connecting to the Policy Server that is reporting the error.

    If you would like to configure multiple Log Server instances to communicate with a central Log Server that is responsible for recording data in the Log Database, see Extending your web protection deployment in the Deployment and Installation Center.

  • If this error appears, but only one instance of Log Server is active, it is likely that:
    • Policy Server was not running when a Log Server instance was uninstalled.
    • The Policy Server IP address was changed after Log Server was installed.
    • During installation, Log Server connected to a Policy Server instance on another machine. Later, a Policy Server instance was installed on the Log Server machine.

In all of these cases, the safest way to address the problem is:

Steps

  1. Uninstall the Log Server instance or instances currently connected to the Policy Server instance displaying the error.
  2. Stop Websense Policy Server (via the Windows Services tool or the /opt/ Websense/WebsenseDaemonControl command).
  3. Navigate to the bin directory (C:\Program Files\Websense\Web Security\bin or /opt/Websense/bin) and make a backup copy of config.xml in another location. Do not skip this step.
  4. Open the original config.xml file in a basic text editor (not an XML or HTML editor).
  5. Near the top of the file, locate the WebsenseLogServer container. This contains the ID for the “ghost” Log Server instance.

    <container name="WebsenseLogServer">

  6. Delete the entire container, including the close tag. For example:

    <container name="WebsenseLogServer">

    <data name="0c65012f-93af-11e1-8616- f215ee9c7d9d">10.201.136.34</data>

    </container>

  7. Save and close the config.xml file.
  8. Delete the config.xml.bak file from the bin directory.
  9. Use the Windows Services tool or /opt/Websense/WebsenseDaemonControlcommand to start Websense Policy Server.