Chinaunix首页 | 论坛 | 博客
  • 博客访问: 258996
  • 博文数量: 70
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 930
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-22 12:32
文章存档

2009年(42)

2008年(28)

我的朋友

分类:

2009-01-05 18:10:53

red hat as 4.5,程序编译后,在启动时报错:
cannot restore segment prot after reloc: Permission denied,

以前未发现这样的问题,反复折腾后,问题终于查清,将selinux禁用即可,稀奇古怪的问题,

参考文章:
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.


address:
阅读(891) | 评论(0) | 转发(0) |
0

上一篇:破窗理论

下一篇:马季 宇宙牌香烟

给主人留下些什么吧!~~