08 Sep 2010
Support Center
»
Knowledgebase
»
Error: cannot restore segment prot after reloc: Permission denied
Error: cannot restore segment prot after reloc: Permission denied
Solution
In case you run a Linux host and get the following error message in the logfile when starting PresSTORE:
Error: modload: /usr/local/aw/bin/libarchdev.so:
couldn't load file "/usr/local/aw/bin/libarchdev.so":
/usr/local/aw/bin/libarchdev.so: cannot restore segment prot after reloc:
Permission denied
Fatal: modload: failed to load module '/usr/local/aw/bin/libarchdev.so'
This problem is most probably caused by the security extension
SeLinux
.
SeLinux
is active in newer Linux distributions with 2.6. kernels. SeLinux changes some system default behaviour, including the shared library loading.
This can be checked by disabling
SeLinux
: just add the line
SELINUX=disabled
to the file
/etc/sysconfig/selinux
an restart the host.
In case the shared libary can be loaded this way, but the
SeLinux
shall be kept active, it is required to adopt the security context for the shared library loading by using the
chcon
program.
Article Details
Article ID:
58
Created On:
18 Jul 2007 03:39 PM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Fullname:
Email: (Optional)
Comments:
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
Language:
English (U.S.)
Help Desk Software By Kayako eSupport v3.10.02