FIX: cannot restore segment prot after reloc: Permission denied

Filed Under (Linux Tips, SELinux) by Milind on 27-01-2012

While installation of any package or Starting any service on a RHEL or CentOS based Server you may receive following Error

 

This Error comes when SELinux setting is enabled on the server. Security-Enhanced Linux (SELinux) is a Linux feature that provides a mechanism for supporting access control security policies through the use of Linux Security Modules (LSM) in the Linux kernel.

By Default SELinux is set to “enforcing” in CentOS on boot, this can be disabled permanently. To disable it edit file “/etc/selinux/config” and change SELINUX

From

SELINUX=enforcing

 

TO

SELINUX=disabled

 

But to apply this setting the System or Server need to be rebooted. If you want to disable this feature temporary you can execute following command from the Shell of the System or Server

/usr/sbin/setenforce 0

No related posts.

Comments:

Total 3 Comments posted FIX: cannot restore segment prot after reloc: Permission denied

Leave a Reply

You must be logged in to post a comment.

Follow US

Enter your email address:


I'm listed in Technology

Sponsors

Advertisement

Become Fan

tag cloud