sqlplus: error while loading shared libraries
生活随笔
收集整理的這篇文章主要介紹了
sqlplus: error while loading shared libraries
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
錯誤:
???sqlplus:?error?while?loading?shared?libraries:?../lib/libclntsh.so.11.1:?cannot?restore?segment?prot?after?reloc:?Permission?denied常見于安裝oracle服務器所帶的sqlplus或者安裝oracle客戶端所帶的sqlplus.
?解決方案:
方法1:檢查sqlplus安裝包是否與所在的系統的版本相符合。
方法2:
1 root用戶登錄
2 使用cd命令切換當前目錄到 /etc/selinux
[root@TEST11G?~]#?cd?/etc/selinux [root@TEST11G?selinux]#?ll total?32 -rw-r--r--?1?root?root??448?Jun??6??2014?config -rw-------?1?root?root??144?Jan?16??2007?restorecond.conf -rw-r--r--?1?root?root?1752?Dec?22??2006?semanage.conf drwxr-xr-x?5?root?root?4096?Jun??6??2014?targeted3 使用vim打開config文件
找到里面的SELINUX條目,設置成disabled
[root@TEST11G?selinux]#?vi?config #?This?file?controls?the?state?of?SELinux?on?the?system. #?SELINUX=?can?take?one?of?these?three?values: #???????enforcing?-?SELinux?security?policy?is?enforced. #???????permissive?-?SELinux?prints?warnings?instead?of?enforcing. #???????disabled?-?SELinux?is?fully?disabled. SELINUX=disabled #?SELINUXTYPE=?type?of?policy?in?use.?Possible?values?are: #???????targeted?-?Only?targeted?network?daemons?are?protected. #???????strict?-?Full?SELinux?protection. SELINUXTYPE=targeted改完后保存并退出。
4 重啟系統,即可!
轉載于:https://my.oschina.net/liuyuanyuangogo/blog/502090
總結
以上是生活随笔為你收集整理的sqlplus: error while loading shared libraries的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 浏览器多进程架构
- 下一篇: Kubernetes管理员的11条 安全