PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Error Launching pgdbg GUI on Opeteron AMD
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
mleair



Joined: 19 Jul 2004
Posts: 67
Location: Portland Group

PostPosted: Fri Jan 27, 2006 12:25 pm    Post subject: cannot restore segment prot after reloc: Permission denied Reply with quote

Hi Bruce,

Sorry for the delay in getting back to you. This error is caused by your system's use of SELinux security. There are two work arounds: disable SELinux by setting SELINUX=disabled in your system's /etc/sysconfig/selinux file and reboot, or use the chcon command to change the permissions on the libjpgdbg.so library in your installation. The latter is probably the better route to go. Unfortunately, we do not have any linux boxes running SELinux in house. So, I could not try these work arounds for myself. However, I did a quick google search on "cannot restore segment prot after reloc: Permission denied" and found a couple articles that provide some hints on how to do this:

http://www.rsinc.com/services/techtip.asp?ttid=3092

http://www.adeptscience.co.uk/kb/article/E876

Hope this helps,

Mark
Back to top
View user's profile
Bruce Ainslie



Joined: 17 Mar 2005
Posts: 4

PostPosted: Mon Jan 30, 2006 3:52 pm    Post subject: Reply with quote

Hi Mark,

Thanks for the help. This is what was done and the GUI works fine:
sudo chcon -t shlib_t /usr/pgi/linux86-64/6.1/lib/libjpgdbg.so;
sudo chcon -u system_u /usr/pgi/linux86-64/6.1/lib/libjpgdbg.so

Excellent job and thanks again.

Bruce.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group