RAC oracle 許可權更改導致 實力啟動失敗
ORA-27303: additional information: startup egid = 501 (oinstall), current egid =
500 (dba)
Sql>startup nomount;
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORA_DATA/MIOA/spfileMIOA.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORA_DATA/MIOA/spfileMIOA.ora
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 501 (oinstall), current egid =
500 (dba)
chmod 6775 $ORACLE_HOME/bin/oracle
chown oracle:oinstall $ORACLE_HOME/bin/oracle
解決方法:
是oracle許可權造成的
檢視$ORACLE_HOME中oracle的許可權
[oracle@etsdb05 ~]$ ls -ltr /orahome/11.2/db_1/bin/oracle
-r-xr-xr-x 1 oracle oinstall 210824688 Sep 21 09:53 /orahome/11.2/db_1/bin/oracle
[oracle@etsdb05 ~]$ chmod 6751 /orahome/11.2/db_1/bin/oracle
[oracle@etsdb05 ~]$ ls -ltr /orahome/11.2/db_1/bin/oracle
-rwsr-s--x 1 oracle oinstall 210824688 Sep 21 09:53 /orahome/11.2/db_1/bin/oracle
[oracle@etsdb05 ~]$ srvctl start instance -d MIOA -i MIOA1
PRCR-1013 : Failed to start resource ora.mioa.db
PRCR-1064 : Failed to start resource ora.mioa.db on node etsdb05
ORA-01078: failure in processing system parameters
CRS-2674: Start of 'ora.mioa.db' on 'etsdb05' failed
[oracle@etsdb05 ~]$ ls -ltr /orahome/11.2/db_1/bin/oracle
-r-sr-s--x 1 oracle dba 210824688 Sep 21 09:53 /orahome/11.2/db_1/bin/oracle
檢視$ORACLE_GRID/bin/oracle的許可權
[oracle@etsdb05 ~]$ ls -ltr /orahome/grid/bin/oracle
-rwxrwxr-x 1 oracle oinstall 184286219 Nov 1 17:16 /orahome/grid/bin/oracle
[oracle@etsdb05 ~]$ chmod 6755 /orahome/grid/bin/oracle
[oracle@etsdb05 ~]$ ls -ltr /orahome/grid/bin/oracle
-rwsr-sr-x 1 oracle oinstall 184286219 Nov 1 17:16 /orahome/grid/bin/oracle
[oracle@etsdb05 ~]$ srvctl start instance -d MIOA –I MIOA1 正常
這次主要還是$ORACLE_GRID/bin/oracle 同$ORACLE_HOME/bin/oracle的許可權被更改
目錄
SRVCTL Fails to Start Instance with ORA-17503 ORA-27303 But sqlplus Startup is Fine [ID 1322959.1] | |||||
| |||||
修改時間 23-JAN-2012 型別 PROBLEM 狀態 PUBLISHED |
In this Document
Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later [Release: 11.2 and later ]Information in this document applies to any platform.
Symptoms
RAC Instance can be started using sqlplus but fails when using srvctl:Case I:
PRCR-1079 : Failed to start resource ora.cad.db
CRS-5017: The resource action "ora.cad.db start" encountered the following error:
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+RAC/cad/spfilecad.ora'
ORA-17503: ksfdopn:2 Failed to open file +RAC/cad/spfilecad.ora
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 1002 (oinstall), current egid = 1001 (dba)
CRS-2674: Start of 'ora.cad.db' on 'racnode2' failed
CRS-2632: There are no more servers to try to place resource 'ora.cad.db' on that would satisfy its placement policy
Case II
PRCR-1079 : Failed to start resource ora.nar.db
CRS-5017: The resource action "ora.nar.db start" encountered the following error:
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+NAR_DG/nar/spfilenar.ora'
ORA-17503: ksfdopn:2 Failed to open file +NAR_DG/nar/spfilenar.ora
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 59800 (oinstall), current egid = 59802 (asmadmin)
. For details refer to "(:CLSN00107:)" in "/oracle/GRID/11203/log/dog1104/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2674: Start of 'ora.nar.db' on 'racnode1' failed
Cause
For Case I, the issue is caused wrong group (dba) is chosen for "ASM Database Administrator","ASM Instance Administration Operator" and "ASM Instance Administrator"group during installing grid infrastructure, while the ASM disks are owned by oinstall group.
This same issue is documented in
- SRVCTL START DATABASE ORA-0178 FAILURE IN PROCESSING SYSTEM PARAMETERS
For Case II, the issue is caused by setuid and setgid bit missing for oracle binary under GRID_HOME, eg:
-rwxr-x--x oracle oinstall 166648778 Dec 7 15:26 oracle
Solution
For case I,Either reinstall Grid Infrastructure, select correct group for ASM Instance Administrator - ASMADMIN (oinstall in this case which is the ASM disk owning group)
or
stop srvctl modify oracle binary group from oinstall to dba by renaming $GRID_HOME/bin/setasmgid to $GRID_HOME/bin/setasmgid.orig. Restore the group ownership of oracle binary to oinstall and startup instance using srvctl.
For case II,
Add setuid and setgid bit for oracle binary under $GRID_HOME/bin:
The oracle binary for both GRID_HOME/bin and RDBMS ORACLE_HOME/bin should have 6755 permission, eg: -rwsr-s--x
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25097694/viewspace-2130576/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC啟動失敗(DNS故障)OracleDNS
- Oracle RAC常見啟動失敗故障分析Oracle
- gcluster/gnode 許可權設定為全權 777,叢集啟動失敗;GC
- Oracle RAC啟動失敗-軟連結惹的禍Oracle
- Oracle RAC啟動因CTSS導致的異常Oracle
- sock鎖檔案導致的MySQL啟動失敗MySql
- 如何在Oracle VM下更改root許可權密碼Oracle密碼
- Oracle歸檔檔案丟失導致OGG不用啟動Oracle
- Oracle 目錄許可權丟失故障恢復Oracle
- oracle rac 打PSU補丁30805461兩個問題(Java版本及空間不足導致失敗)OracleJava
- 記一次 Laravel日誌許可權許可權問題(定時器導致)Laravel定時器
- Drive客戶端因SSL證書已更改導致聯機失敗客戶端
- RAC節點啟動失敗--ASM無法連線ASM
- 虛擬機器搭建rac ASM盤啟動失敗虛擬機ASM
- LightDB/Postgresql 記錄客戶端啟動版本問題導致啟動失敗問題SQL客戶端
- MongoDB例項重啟失敗探究(大事務Redo導致)MongoDB
- 解決一次gitlab因異常關機導致啟動失敗Gitlab
- ORACLE 分割槽索引UNUSABLE導致的DML操作失敗引起的血案Oracle索引
- Oracle RAC自啟動Oracle
- 如何用 Vue 實現前端許可權控制(路由許可權 + 檢視許可權 + 請求許可權)Vue前端路由
- ORACLE RAC 兩節點db_32k_cache_size設定不當導致表truncate失敗之ORA-00379Oracle
- sqlplus啟動失敗SQL
- tomcat 啟動失敗Tomcat
- docker啟動失敗Docker
- MySQL啟動失敗MySql
- easyswoole啟動失敗
- 開啟 Keep-Alive 可能會導致http 請求偶發失敗Keep-AliveHTTP
- android動態許可權到自定義許可權框架Android框架
- Oracle軟體許可權修復Oracle
- RAC安裝目錄許可權快速恢復
- springboot衝突導致的發版失敗Spring Boot
- Oracle RAC日常運維-NetworkManager導致叢集故障Oracle運維
- 網路原因導致rac安裝過程中節點2跑root.sh失敗
- oracle兩節點RAC,由於gipc導致某節點crs無法啟動問題分析Oracle
- RAC節點hang住, oracle bug導致了cpu過高,無法啟動叢集隔離Oracle
- 19c RAC因profile.xml檔案丟失節點1啟動失敗XML
- win10管理員許可權獲取不了怎麼辦 win10管理員許可權獲取失敗解決方法Win10
- 【ASK_ORACLE】因process用盡導致的rac重啟的解決方法Oracle
- 使用動態路由實現許可權管理路由