今天在虚拟机上安装jdk-7u25-linux-i586.tar.gz(解压版),运行如下命令时
java -version
出现错误提示:
cannot restore segment prot after reloc permission denied
解决方案是:
以root用户登录并修改文件/etc/sysconfig/selinux中的内容
将SELINUX=enforcing改为SELINUX=disabled后重启!
cannot restore segment prot after reloc: Permission denied 解决方法
linux tar 解压命令总结
linux下tar.gz、tar、bz2、zip等解压缩、压缩命令小结
cannot restore segment prot after reloc permission denied
猜你喜欢
转载自songjianyong.iteye.com/blog/1923832
今日推荐
周排行