【轉載】啟動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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- guarantee restore points-Flashback after RMAN restoreREST
- sqlplus啟動失敗SQL
- Vue啟動報錯 Cannot find module 'webpack/bin/config-yargs'VueWeb
- You may fail to backup log or restore log after TDE certification/key rotation.AIREST
- 突然發現linux下oracle的sqlplus不能啟動LinuxOracleSQL
- oracle系列(一)sqlplus命令OracleSQL
- [20200309]rlwrap: error: Cannot execute sqlplus: Too many levels of symbolic linErrorSQLSymbol
- oracle sqlplus 常用命令OracleSQL
- unexpected reloc type問題分析
- springboot專案啟動會報4個載入不到的debug提示,可改可不改Spring Boot
- powermt 命令簡介(轉載)
- Nginx啟動不了報錯未找到命令的解決方法(- bash: nginx: 未找到命令)Nginx
- nginx啟動命令和停止命令。Nginx
- 檢視程序的啟動命令
- java.lang.IllegalStateException: Cannot call sendError() after the response has been committed解讀JavaExceptionErrorMIT
- RMAN restore validate database報ORA-19693RESTDatabase
- Linux啟動mysql命令LinuxMySql
- nginx啟動,停止命令Nginx
- [轉載]GIt命令一覽表Git
- siebel server 啟動時報Cleaning up previous execution of【轉】Server
- 完美解決SqlServer2012啟動報錯(cannot find one or more components.Please reinstall the application。)SQLServerAPP
- (轉載)關於usr/bin/ld: cannot find -lxxx問題總結
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- 影片匯聚平臺EasyCVR啟動出現報錯“cannot open shared object file”的原因排查與解決VRObject
- jar架包啟動命令JAR
- Nginx的常用命令(啟動重啟停止等)Nginx
- sqlplus 命令登入 Oracle資料庫的多種方法DXNASQLOracle資料庫
- windows下命令列啟動tika的方法Windows命令列
- canvas restore()CanvasREST
- Adobe After Effects 2024:讓你的創意動起來 mac/win啟用版Mac
- 開啟 Word 文件報錯: Cannot find the Word document template:WordToRgm.dot
- DBMS_BACKUP_RESTORE用於特殊情況下的恢復(轉)REST
- iptables報錯!iptables-restore unable to initialize table 'filterRESTFilter
- 如何使用kubelet 啟動命令限制Pod 啟動數量?
- sqlplus as sysdb登入報ora-01017SQL
- sqlplus執行sql檔案報錯SQL
- 如何解決 After Effects報警
- allowedOrigins cannot contain the gateway 報錯AIGateway
- 在linux下啟動tomcat命令LinuxTomcat