Error loading: /opt/ibm/java2-i386-50/jre/bin/libj9thr23.so cannot restore segment prot after reloc

本文详细介绍了在RHEL5.0环境下安装和启动IBM WebSphere Application Server 6.1.0.0时遇到错误Error loading...的解决方法,包括识别并调整共享库权限的步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在RHEL5.0里面安装WAS6.1.0.0,启动WAS报如下错误的解决办法:

Error loading: /opt/ibm/java2-i386-50/jre/bin/libj9thr23.so cannot restore segment prot after reloc Permission denied

之后到IBM官网查了,找到如下解决方案:

Linux with SELinux permission denied error when loading Java

If your platform uses Security Enhanced Linux (SELinux), you may be unable to start a Java virtual machine (JVM) unless you identify the shared libraries. You will see an error message similar to the following

Error loading: /opt/ibm/java2-i386-50/jre/bin/libj9thr23.so cannot restore segment prot after reloc Permission denied

To correct this problem, identify the shared libraries. The required commands should be similar to the following example from Fedora Core 5

cd javaInstallDir/bin where javaInstallDir is the fully qualified path to the Java installation directory.

chcon -t texrel_shlib_t ../jre/bin/*.so
chcon -t texrel_shlib_t ../bin/*
chcon -t texrel_shlib_t ../lib/*
chcon -t texrel_shlib_t ../jre/bin/j9vm/libjvm.so

注:我的WAS6.1JAVA安装目录是:/opt/IBM/WebSphere/AppServer/java

参考资料:http://publib.boulder.ibm.com/wasce/V2.1.0/en/setup-troubleshooting.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值