【轉載】啟動sqlplus命令,會報的cannot restore segment prot after reloc
11g的bug,在安裝完資料庫後,啟動sqlplus命令,會發現下面的錯誤:
[oracle@enterprice64 ~]$ sqlplus "/ as sysdba"
sqlplus: error while loading shared libraries: /data/oracle/product/11.1/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
這個問題發生在ORACLE ENTERPRISE LINUX R5上,無論是32位還是64位都存在這個問題。
第一次在安裝32位的ORACLE 11G for Linux的時候也碰到了,當時沒有記錄下來,這次特意查詢了一下Metalink,Oracle在metalink的文件:Doc ID: Note:454196.1中對於問題進行了詳細的描述。
最簡單的解決方法莫過於將SElinux設定位PERMISSIVE狀態:
[root@enterprice64 ~]# getenforce
Enforcing
[root@enterprice64 ~]# setenforce 0
[root@enterprice64 ~]# getenforce
Permissive
[root@enterprice64 ~]# vi /etc/selinux/config
SELINUX=disabled
[root@enterprice64 ~]# su - oracle
[oracle@enterprice64 ~]$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Oct 22 13:57:07 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24492954/viewspace-765134/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Cannot restore segment prot after reloc:Permission deniedREST
- sqlplus因selinux報錯cannot restore segment prot after reloc: Permission deniedSQLLinuxREST
- /sqlplus: error on libnnz11.so: cannot restore segment prot after reloc [ID 454196.1]SQLErrorREST
- libclntsh.so.11.1:cannot restore segment prot after reloc:Permission denied 報錯REST
- ggsci error libclntsh.so.10.1: cannot restore segment prot after relocErrorREST
- guarantee restore points-Flashback after RMAN restoreREST
- sqlplus 啟動報錯SQL
- Unable to start HTTP server after restoreHTTPServerREST
- 怎麼會出現 Cannot forward after response has been committed???ForwardMIT
- 啟動掛載(轉)
- How to Restore the Database Using AMDU after Diskgroup CorruptionRESTDatabase
- How to restore raid after reinstall LinuxRESTAILinux
- sqlplus命令使用大全(轉)SQL
- sqlplus啟動失敗SQL
- Open Resetlogs After Restore Hangs (Doc ID 1455666.1)REST
- How to restore ASM based OCR after complete loss of the CRS diskgroupRESTASM
- sqlplus cannot execute binary fileSQL
- Vue啟動報錯 Cannot find module 'webpack/bin/config-yargs'VueWeb
- 11g啟動sqlplus報錯沒有許可權SQL
- 轉載__sqlplus相關tipSQL
- SQLPlus命令使用指南(一) (轉)SQL
- You may fail to backup log or restore log after TDE certification/key rotation.AIREST
- SQLPLUS的ACCEPT命令SQL
- SQLPLUS 的COPY命令SQL
- sqlplus下的命令SQL
- [ 轉載 ] HBASE啟動指令碼/Shell解析指令碼
- 使用SRVCTL啟動例項與使用sqlplus啟動例項的區別SQL
- Linuxfirewalld配置與systemctl開啟啟動配置(轉載)Linux
- Nginx啟動不了報錯未找到命令的解決方法(- bash: nginx: 未找到命令)Nginx
- Oracle 啟動命令Oracle
- ORA-19550: cannot use backup/restore functions while using dispatcherRESTFunctionWhile
- springboot專案啟動會報4個載入不到的debug提示,可改可不改Spring Boot
- 轉載-Oracle 常用的dump命令Oracle
- 轉載-oracle Shrink命令的使用Oracle
- 檢視程序的啟動命令
- sqlplus無法啟動的問題及解決SQL
- nginx啟動命令和停止命令。Nginx
- How to Restore CRS after accidentally run localconfig on RAC system_747415.1RESTIDE