-
2008-05-19
selinux - [*nix Arts]
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://xi4oyu.blogbus.com/logs/21231141.html
[oracle@linux5 bin]$ sqlplus /nolog
sqlplus: error while loading shared libraries: /u01/oracle/lib/libnnz11.so: cannot restore segment prot after reloc: Permission deniedLinux下执行程序时发生错误: cannot restore segment prot after reloc: Permission denied
原来这是SELinux搞的鬼,解决办法有两个
1. 使用chcon 命令
示例: chcon -t texrel_shlib_t /usr/local/rsi/idl_6.1/bin/bin.linux.x86/*.so
2. 禁止掉SELinux
更改/etc/sysconfig/selinux 文件的内容为 SELINUX=disabled随机文章:
nonblocking tcp 2008-05-17some notes on ext2 fs 2008-03-07ZZ:Linux中SysRq的使用 2007-07-19Linux 2.6.19.x 内核编译配置选项简介 2007-06-20成功编译内核,编译成功LKM....截图纪念! 2007-04-05
收藏到:Del.icio.us







