Enabling RADIUS Agent diagnostics

RADIUS Agent has built-in diagnostic capabilities, but these are not activated by default. To activate RADIUS Agent logging and debugging:

Steps

  1. Use the Windows Services tool or /opt/Web sense/WebsenseDaemonControl command to stop RADIUS Agent.
  2. Navigate to the bin directory (C:\Program Files\Websense\Web Security\bin or / opt/Websense/bin/, by default) and open the wsradius.ini file in a text editor.
  3. Locate the [RADIUSAgent] section.
  4. To enable logging and debugging, change the value of DebugMode to On:
    DebugMode=On
  5. To specify the log detail level, modify the following line:
    DebugLevel=<N>

    N can be a value from 0-3, where 3 indicates the most detail.

  6. Modify the LogFile line to indicate the name of the output file:
    LogFile=filename.txt

    By default, log output is sent to the RADIUS Agent console. If you are running the agent in console mode (see Running RADIUS Agent in console mode), you can optionally keep the default value.

  7. Save and close the wsradius.ini file.
  8. Start RADIUS Agent.

Next steps

If remote users are not being identified and receiving correct policies as expected, the likely cause is communication problems between RADIUS Agent and your RADIUS server. Check your RADIUS Agent logs for errors to determine the cause.