LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2009, 06:31 AM   #1
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Rep: Reputation: 16
cannot restore segment prot after reloc: Permission denied


I got the following error when running a program from the commandline:

/lib/libdhuser.so.1: cannot restore segment prot after reloc: Permission denied

I googled this and to solve it I ran the following command as 'root'
/usr/sbin/setenforce 0

This sets mu Linux to turn off 'enforcing'


What is enforcing? and why did this error come up only in the above /lib/libdhuser.so.1:??


Thanks
 
Old 11-25-2009, 07:11 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
'Enforcing' is one of the modes of selinux. There are 3 modes available:

- disabled
- permissive (monitoring but not acting)
- enforcing (monitoring and enforcing selinux policies)

There probably isn't a policy for /lib/libdhuser.so.1 so you may want to set selinux to disabled or permissive permanently until you can read up on it, on the RHEL/Fedora family you can edit /etc/sysconfig/selinux.

cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Acroread: libJP2K.so: cannot restore segment prot after reloc: Permission denied pavodive Linux - Security 8 02-25-2009 01:52 PM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Access denied when running F-prot preeth26 Linux - Security 6 03-02-2006 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration