sqlplus: error while loading shared libraries

zhangsharp20發表於2015-05-19
1.執行sqlplus,提示
  1. sqlplus: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied

這個問題是由於SELINUX引起的。 解決辦法:

編輯/etc/sysconfig/selinux配置檔案, 把SELINUX=enforcing 改為 SELINUX=disabled。

  1. # This file controls the state of SELinux on the system.
  2. # SELINUX= can take one of these three values:
  3. # enforcing - SELinux security policy is enforced.
  4. # permissive - SELinux prints warnings instead of enforcing.
  5. # disabled - SELinux is fully disabled.
  6.  
  7. #SELINUX=enforcing
  8. SELINUX=disabled
  9.  
  10. # SELINUXTYPE= type of policy in use. Possible values are:
  11. # targeted - Only targeted network daemons are protected.
  12. # strict - Full SELinux protection.
  13. SELINUXTYPE=targeted

儲存後重啟系統。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29802484/viewspace-1662349/,如需轉載,請註明出處,否則將追究法律責任。

相關文章