Error: cannot restore segment prot after reloc: Permission denied

转载 2007年09月25日 18:57:00
Article Title: Error: cannot restore segment prot after reloc: Permission denied
Article ID: 3092
Article Name: INSTALL88
Last Updated: 5/10/2006 12:06:24 PM
Products: IDL; ENVI
OS Platforms: Linux-Intel

Topic:

Some Linux distributions with SELinux enabled may prevent IDL from running under the default security context. This TechTip is a workaround for CR#41937

Discussion:

Newer Linux distributions have enabled new kernel security extensions from the SELinux project at the NSA. These extensions allow finer-grained control over system security. However, SELinux also changes some default system behaviors, such as shared library loading, that can be problematic to third party programs.

If you receive the error message "cannot restore segment prot after reloc: Permission denied" when launching IDL, then your SELinux configuration is preventing IDL from launching.

To rectify this issue, you can either:

  • Change the default security context for IDL by issuing the command:

    chcon -t texrel_shlib_t /usr/local/rsi/idl_6.1/bin/bin.linux.x86/*.so

  • Disabling SELinux altogether by setting the line

    SELINUX=disabled

    in your /etc/sysconfig/selinux file.

For more information about SELinux, please consult your Linux distribution vendor.

 

相关文章推荐

重启apache时,libphp5.so: cannot restore segment prot after reloc: Permission denied 错误的解决办法

[转]本文转自:http://hi.baidu.com/knightlhs/blog/item/cac701d1e32d52319b50274a.html①----------apache2关于lib...

动态库加载出错,cannot restore segment prot after reloc: Permission denied以及为何编译动态库需要-fPIC

项目中碰到的问题,编译好的so文件,放到其他机器上去加载,报了错误,cannot restore segment prot after reloc: Permission denied。网上查了一下,...
  • taolinke
  • taolinke
  • 2011年07月24日 13:43
  • 12918

11G bug-sqlplus:cannot restore segment prot after reloc: Permission denied

前几天在64位RHEL 5.2上安装完11gr2后,sqlplus 登陆时出现 下面来自网络上的描述 http://hj8868163.blog.163.com/blog/static/249...

cannot restore segment prot after reloc: Permission denied问题

项目中碰到的问题,编译好的so文件,放到其他机器上去加载,报了错误,cannot restore segment prot after reloc: Permission denied。 网上查...

linux下11G bug-sqlplus:cannot restore segment prot after reloc: Permission denied

在64位RHEL 5.2上安装完11gr2后,sqlplus 登陆时出现 sqlplus: error while loading shared libraries: /u01/app/oracl...

Linux 执行reboot命令时 failed to map segment from shared object Permission denied

一台CentOS5.7的机器,原来只是在公司内部访问,SELinux是禁用的状态,现需要搭建成FTP服务器并发布到外网上去,为了安全,启用SELinux。编辑/etc/selinux/config文件...

Qt_ 错误:cannot open output file debug\myWidget2.exe: Permission denied问题

使用Qt Creator这本教程的时候,发现在Debug调试的时候往往会出现一个问题,使得调试窗口没能按预期的出现 错误提示: :-1: 错误:cannot open output fil...

android studio 报错 error opening trace file: Permission denied (13)

关于这个报错,其实是Android 4.1(16)在Android studio 2.3产生的。具体原因是因为Android 6.0之后的动态申请权限。很明显,这句话的意思是权限不足。 在Andro...

GIT设置错误:Error: Permission denied (publickey)

Error: Permission denied (publickey) 这个郁闷的错误意味着服务器拒绝了您的连接。有许多原因会发生这种情况,本指南将介绍最常见的原因。 是否sud...

CURL ERROR 7 Failed to connect to Permission denied

“CURL ERROR 7 Failed to connect to Permission denied” error is caused, when for any reason curl requ...
  • iastro
  • iastro
  • 2016年06月30日 17:11
  • 1226
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Error: cannot restore segment prot after reloc: Permission denied
举报原因:
原因补充:

(最多只允许输入30个字)