啟動Oracle出錯 sqlplus /nolog出錯

來源:互聯網
上載者:User

啟動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

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.