New installation or upgrade of Spectrum Report Manager - errors with upgrade_srm.sh
search cancel

New installation or upgrade of Spectrum Report Manager - errors with upgrade_srm.sh

book

Article ID: 214880

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Under a RHEL/CentOS 8.3 server setup, the GUI and silent fresh installation of a OneClick/SRM server fails with the following output:

<hostname>: RunTestScripts failed: upgrade_srm.sh Err: (NULL) Status: 127

Environment

All supported releases

Cause

libnsl (64 bit) library was missing

Resolution

As the install was failing during the RunTestScripts.exe we ran this as root using ldd to check for any missing libraries

 

[root@<hostname>]# ldd ./Install-Tools/RunTestScripts.exe

        linux-vdso.so.1 (0x00007fffb1398000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2a97f28000)

        libnsl.so.1 => not found

        libdl.so.2 => /lib64/libdl.so.2 (0x00007f2a97d24000)

        libm.so.6 => /lib64/libm.so.6 (0x00007f2a979a2000)

        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f2a97779000)

        libutil.so.1 => /lib64/libutil.so.1 (0x00007f2a97575000)

        libc.so.6 => /lib64/libc.so.6 (0x00007f2a971b2000)

        /lib64/ld-linux-x86-64.so.2 (0x00007f2a98148000)

[root@<hostname>]#

 

 

After libnsl.so.1 64 bit was installed, the install ran successfully.  

 

run  "yum install libnsl" or a "dnf install libnsl" (depending on whether you were on RHEL 7.x or 8.x). This picked up the libnsl.so.1 softlink that wasn't present.

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-netops/20-2/Fault-Monitoring-with-DX-Spectrum/installing-and-upgrading/fresh-install/prerequisites-for-installing-ca-spectrum/prerequisites-for-linux.html

By default, libnsl.so.1 is not installed in Red Hat Enterprise Linux release 8. In earlier versions of RedHat the libnsl.so.1 file was part of the glibc rpm. In RedHat 8, the file was moved into its own rpm.  

On the RHEL 8 machines, the following package must be installed while installing DX NetOps Spectrum with Reporting Manager.

yum install libnsl

OR

dfn install libnsl