Policy API Server is not running

The Policy API Server is the Management API component used to create and update API-managed categories and the URLs and IP addresses assigned to them.

API-managed categories cannot be updated or used in policy enforcement while any Management API component is not running.

To resolve this issue:

Check the status of the service.
  • On Linux servers, navigate to the /opt/Websense/bin directory use the following command:

    PolicyApiServerAdmin.sh --status

  • On appliances, use the service status curl command (described in the Management API Installation & Deployment Guide).

    The status command returns information about each Management API component.

If either Policy API Server or WsUrlQuery is not running:

If Policy API Server fails to start:

  • Verify that the server certificate is not out of date. Refer to the Management API Installation & Deployment Guide for instructions on updating the certificate.
  • Make sure the Policy API Server machine has at least 1 GB of free disk space.

If the WsUrlQuery fails to start, verify that the WsUrlQuery.ini file includes a valid local IP address and not the local hostname. If you make a change, reinstall the Management API. Refer to the Management API Installation & Deployment Guide for instructions.