`
xf986321
  • 浏览: 160500 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

华思服务器一个奇怪问题的解决方法

阅读更多

When packaging an application on RHEL or CentOS, you may receive the following error:

cannot restore segment prot after reloc: Permission denied

This is likely due the the SE Linux setting being set to "enforcing"
.
To Temporarily disable enforcement on a running system

/usr/sbin/setenforce 0


To permanently disable enforcement during a system startup
change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot.
.
By default, CentOS 5 has the SE Linux feature set to "enforcing". We are looking into ways to removing these steps.

分享到:
评论
1 楼 shellfish 2009-08-08  
恩,红帽默认的SELinux的级别是强制,这个一般我不大用,装上系统后改成禁用了。

相关推荐

Global site tag (gtag.js) - Google Analytics