JVMJ9VM011W error when installing ITM on Linux

Technote (troubleshooting)


Problem(Abstract)

SELinux (Security-Enhanced Linux) is enabled and the JVMJ9VM011W error message is seen during installation

Symptom

The following messages are seen on the command line when attempting to install an ITM component on a RedHat 5.x system:

Initializing ...
JVMJ9VM011W Unable to load j9jit23:
/opt/IBM/ITM/JRE/lx8266/bin/libj9jit23.so: cannot restore segment prot after reloc: Permission denied
JVMJ9VM011W Unable to load jclscar_23:
/opt/IBM/ITM/JRE/lx8266/bin/libjclscar_23.so: cannot restore segment prot after reloc: Permission denied 
Could not create the Java virtual machine.
install.sh failure: KCI1007E terminating ... license declined.


Cause

RedHat 5 enabled SELinux by default. This prohibits loading shared libraries which are not authorized.


Diagnosing the problem

Use the following command to determine the SELinux mode:

cat /selinux/enforce

0 indicates SELinux is in permissive mode

1 indicates SELinux is in enforcing mode


Resolving the problem

For a temporary fix, you can set SELinux to permissive mode by running the following command:


setenforce 0

Note that the setenforce command must be run as root. After issuing the setenforce command, you will also need to issue the following command:

prelink -a

For a permanent fix, you must edit the /etc/selinux/config file and change "SELINUX=enforcing" to be either:

SELINUX=permissive

or 

SELINUX=disabled

After the file is saved, the change will be affected on the next system reboot.

你可能感兴趣的:(linux,command,Security,IBM,AS)