TACACS authentication with TIBCO LogLogic LMI is failing due to UnknownHost Exception

TACACS authentication with TIBCO LogLogic LMI is failing due to UnknownHost Exception

book

Article ID: KB0077031

calendar_today

Updated On:

Products Versions
TIBCO LogLogic Log Management Intelligence 4.8 and higher

Description

In LogLogic LMI's /loglogic/tomcat/logs/logapp.log you may see this message:

<Date> <time> [http-443-5] ERROR com.loglogic.logapp.filters.auth.TacacsAuthentication - UnknownHostException: Failed to construct TACACSClient object

This is typically caused by the /etc/hosts file not containing the appliance's current IP and hostname as displayed by the Network page in the GUI.

Issue/Introduction

This explains what causes an UnknownHost Exception when attempting authentication with a TACACS server from LogLogic LMI.

Resolution

1. Open the /etc/hosts file for editing.
-------------------Begin /etc/hosts file---------------------------
# default IPv4 entries
#
127.0.0.1    localhost localhost.localnet
# Input the IP address of the MX/LX/ST, press tab, then input the hostname you used in Administration -> System Settings -> Network page
XXX.XXX.XXX.XXX[tab]myHostname


# default IPv6 entries
#
::1        ipv6-localhost ipv6-loopback
fe00::0        ipv6-localnet
ff00::0        ipv6-mcastprefix
ff02::1        ipv6-allnodes
ff02::2        ipv6-allrouters

10.0.0.11    logapp
------------------------End /etc/hosts file-----------------------------------


2. Save and exit the file then reboot the appliance.