Agent installation and configuration failed on RHEL 8 and CentOS 8

Problem

Agent installation failed on RHEL8.

OR

Agent configuration failed on CentOS 8.

Symptom

  1. Agent installation failed on RHEL 8 due to unavailability of libnsl.so.1.
    Example: Agent installation failed on RHEL 8.
    KAX - KAK=Azure Compute AgentKAL=Amazon ELBIBM Tivoli Monitoring Shared Libraries [version 06400015]:
    Property                            Result    Found                                  Expected            
    ========                            ======    =====                                  ========            
    os.lib.libnsl_64                    FAIL      Unavailable                            regex{libnsl.so.1}
  2. Agent configuration failed on CentOS 8 due to error while loading shared libraries: libnsl.so.1.
    Example: Agent configuration failed on CentOS 8.
    /opt/ibm/tmaitm6/lx8266/bin/xc_silent: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

Cause

The shared library libnsl is not installed in the system.

Solution

  1. Download libnsl RPM package for RHEL 8 or CentOS 8 accordingly.
  2. Install the RPM package:
    rpm -ivh <libnsl rpm>