Error while loading shared libraries when running Spectrum commands on Linux

Document ID : KB000057065
Last Modified Date : 10/12/2018
Show Technical Document Details

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

[spectrum@spectrum spectrum]$ ./bin/

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


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



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


Then reboot the system for the change to take effect.