QuantumWise Forum
July 22, 2014, 17:27 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Preview of ATK 2014 now available
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: FAQ: Cannot restore segment prot after reloc: Permission denied  (Read 27295 times)
0 Members and 1 Guest are viewing this topic.
Anders Blom
QuantumWise Staff
Supreme ATK Wizard
*****

Reputation: 48
Offline Offline

Denmark Denmark

Posts: 3566



View Profile WWW
« on: December 11, 2008, 15:41 »

When launching VNL after installing it, you may experience the following kind of error message:

Quote
QT ('Not available', '/home/user/vnl-2008.10.0/lib/python2.4/site-packages/qtext.so: cannot restore segment prot after reloc: Permission denied')

This can also occur for ATK, in which case the error message will point to the file lib/python2.4/_PyATK.so.

The cause of this error are the new kernel security extensions from the SELinux project which are enabled in some newer Linux distributions, to allow finer-grained control over system security and shared library loading. The solution is to register the relevant libraries in the security module to allow them to be relocated in memory.

For VNL:
Code:
chcon -t texrel_shlib_t lib/python2.4/site-packages/qtext.so

For ATK:
Code:
chcon -t texrel_shlib_t lib/python2.4/_PyATK.so

Don't forget that there is a local ATK installation inside the VNL installation too, which needs to be registered separately.
« Last Edit: December 11, 2008, 17:00 by Anders Blom » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!