日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

[转]解决 cannot restore segment prot after reloc: Permission denied

發布時間:2025/3/20 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [转]解决 cannot restore segment prot after reloc: Permission denied 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在power5 Linux上安裝oracle10g后,通過命令行方式登錄sqlplus時,報錯:

error while loading shared libraries: $ORACLE_HOME/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied

最后的Permission denied
顯示,初步認為是系統安全屏蔽了oracle執行某些執行動作。于是檢查系統防火墻iptables,已經關閉,于是想到了Selinux,

[root@localhost ~]# more /etc/sysconfig/selinux
# 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=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
#?????? targeted - Only targeted network daemons are protected.
#?????? strict - Full SELinux protection.
SELINUXTYPE=targeted

看來是selinux的緣故,關掉selinux試試!

修改SELINUX=disabled,然后重啟系統才能生效,或者執行:setenforce 0,立即生效。

果然,關閉selinux后,sqlplus可以正常登陸了。

其實在上面出現Permission denied
時,也可以執行
#chcon -t texrel_shlib_t $ORACLE_HOME/lib/*.so

問題也可以得到解決,至于chcon可以看看selinux方面的命令即可明白了!


轉自:http://www.ixdba.net/article/8c/2140.html

總結

以上是生活随笔為你收集整理的[转]解决 cannot restore segment prot after reloc: Permission denied的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。