Error while loading shared libraries when running Spectrum commands on Linux
search cancel

Error while loading shared libraries when running Spectrum commands on Linux

book

Article ID: 57065

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

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

Environment

Release: Any version of Spectrum installed on Linux
Component:

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.