备忘:was 6.1和selinux的问题
来源:互联网 发布:c语言汇编看什么 编辑:程序博客网 时间:2024/06/08 08:43
centos5.5上部署was6.1的时候启动脚本总是提示 Failed to find VM 或者报错cannot restore segment prot after reloc,禁用selinux以后安装部署都没有问题,但selinux就废了,经过搜索,在IBM上找到了办法:
was使用自己的JDK,默认安装的路径在/opt/IBM/WebSphere/AppServer/java
#pwd/opt/IBM/WebSphere/AppServer/java#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
如此可以解决Failed to find VM等大部分问题
其他如出现permission denied多半也是因为selinux默认策略阻止了so的载入,按照以上方法解决即可。
- 备忘:was 6.1和selinux的问题
- iptables和selinux的问题
- SELinux状态和关闭SELinux的方法
- Selinux阻止Chrome的问题
- SELinux的启动和关闭
- SElinux的开启和关闭
- 针对 CentOS 的 SELinux 拦截 vsftpd 问题(不关闭SELinux)
- Android SeLinux权限问题和解决方法
- Linux下查看SELinux状态和关闭SELinux的方法
- Linux下查看SELinux状态和关闭SELinux的方法
- Linux下查看SELinux状态和关闭SELinux的方法
- SELINUX导致的SSH密匙无法创建和访问的问题
- FC4中SELinux的设置问题
- 启用SELinux时遇到的问题
- 启用SELinux时遇到的问题
- 升级chrome出现SELinux问题的解决方法
- 关于 SELinux 设置遇到的相关问题
- CentOS7 SELinux阻止MongoDB启动的问题
- 控制面板与系统调用
- 12306.cn 的产品技术设计缺陷
- Map定位法
- Android MediaPlayer 常用方法介绍
- php安装模式mod_php和Fastcgi的选择与对比
- 备忘:was 6.1和selinux的问题
- Visual Studio 2005/2008中的快捷键与小技巧整理
- Struts2 主题theme
- 我在linux主机用arm-linux-gcc编译后,复制到开发板根目录运行,出现/bin/sh: ./hello not found
- EXT 3.x 使用详解之Ext.grid.GridPanel(二)
- VB学习1
- 如何打tag2
- cvMatchTemplate()和cvMatchShapes() 的使用举例
- 设置屏幕显示模式ScreenOrientation.