启动Oracle出错 sqlplus /nolog出错


[Oracle@ www.bkjia.com bin]$ sqlplus /nolog

sqlplus: error while loading shared libraries: /u01/oracle/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied

Linux下执行程序时发生错误: 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

相关内容