QuantumWise Forum
April 23, 2014, 23:55 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Easter holiday: Most QuantumWise support staff is on holiday this week, and there will be a delay in answering posts.
   Home   Help Search Login Register  
Pages: [1]   Go Down
Author Topic: FAQ: Cannot restore segment prot after reloc: Permission denied  (Read 24924 times)
0 Members and 1 Guest are viewing this topic.
Anders Blom
QuantumWise Staff
Supreme ATK Wizard

Reputation: 47
Offline Offline

Denmark Denmark

Posts: 3390

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

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

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:
chcon -t texrel_shlib_t lib/python2.4/site-packages/qtext.so

For ATK:
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
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!