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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值