Error while loading shared libraries when running Spectrum commands on Linux

Document ID : KB000057065
Last Modified Date : 14/02/2018
Show Technical Document Details

ISSUE:

The following error is seen when running Spectrum commands on Linux like the startSS.pl and stopSS.pl scripts to start/stop the SpectroSERVER and Archive Manager, startTomcat.sh and stopTomcat.sh script to start/stop Spectrum tomcat, and the Command Line Interface (CLI) commands like connect and show:

[spectrum@spectrum spectrum]$ ./bin/startSS.pl

/app/spectrum/bin/cmdC: error while loading shared libraries: /opt/SPECTRUM/lib/libGlobl.so.1: cannot restore segment prot after reloc: Permission denied

 

ROOT CAUSE

SELinux security policy is enforced in the /etc/selinux/config file as follows:

SELINUX=enforcing

 

RESOLUTION:

Edit the /etc/selinux/config file and set the SELinux security to disabled as follows:

SELINUX=disabled

Then reboot the system for the change to take effect.