Kunaljain's Weblog

May 27, 2010

Error – cannot restore segment prot after reloc: Permission denied

Filed under: Linux Tips & Tricks — Kunal Jain @ 05:37
Tags:

Got the following error while starting apache –

cannot restore segment prot after reloc: Permission denied

Then i google a bit and found that it is because of SE linux setting being set to enforcing.

So i temporarily disable enforcemnt.To Temporarily disable enforcement on a running system use the following command

/usr/sbin/setenforce 0

To permanently disable enforcement during a system startup

change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot.
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: