Try changing the SELINUX setting from "enforcing" to "disabled" in the
files '/etc/selinux/config' and/or /etc/sysconfig/selinux and reboot.

Or try running '/usr/sbin/setenforce 0' as root.

Nick


On Thu, 2009-09-10 at 11:02 +0200, Ahmed, F, Me wrote:
> Nick,
> 
> I tried that command, and this happened: 

> [...@localhost freesurfer]$ /usr/sbin/setenforce 0
> /usr/sbin/setenforce:  setenforce() failed
> 
> Am I missing something?
> 
> 
> -----Original Message-----
> From: Nick Schmansky [mailto:ni...@nmr.mgh.harvard.edu] 
> Sent: 08 September 2009 19:01
> To: Ahmed, F, Me <fah...@sun.ac.za>
> Cc: Freesurfer Mailing List
> Subject: Re: [Freesurfer] qdec permission denied
> 
> This seems to be a very new problem, associated with recent OSs.  Some
> googling of the error message:
> 
> Error: cannot restore segment prot after reloc: Permission denied
> 
> turns-up these results:
> 
> http://www.appistry.com/community/forums/content/cannot-restore-segment-prot-after-reloc-permission-denied
> 
> which seemed relevant.  as they suggest, try running this command, which
> has worked for one other person with this same problem:
> 
> /usr/sbin/setenforce 0
> 
> and to permanently disable, change "enforcing" to "disabled" in
> '/etc/selinux/config' and reboot.
> 
> these are other links with solutions:
> http://www.archiware.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=58
> http://www.quantumwise.com/forum/index.php?topic=16.0
> 
> Nick
> 
> 
> 
> On Tue, 2009-09-08 at 13:06 +0200, Ahmed, F, Me wrote:
> > Hello,
> >  
> > I have managed to get FS installed onto my Centos virtual machine and
> > I’m currently trying to carry out the testing of my installation. I
> > got to the qdec part and got the following: 
> >  
> > [...@localhost freesurfer]$ qdec
> > qdec.bin: error while loading shared
> > libraries: 
> > /usr/local/freesurfer/lib/vtk/lib/vtk-5.2/libvtkRendering.so.5.2: cannot 
> > restore segment prot after reloc: Permission denied
> > [...@localhost freesurfer]$
> >  
> > Can someone please explain why this is happening? Thank you 
> >  
> >  
> >  
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> 
> 
> 

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to