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
Release : 20.2.7 (Spectrum 10.4.3)
Component : Spectrum OneClick / Spectrum Report Manager
libnsl (64 bit) library was missing
As the install was failing during the RunTestScripts.exe we ran this as root using ldd to check for any missing libraries
[[email protected] Spectrum]# 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)
[[email protected] Spectrum]#
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.
Although this is a documented library, it appears its only required in an SRM install.
For a list of required Linux libraries