標籤:oracle 執行個體 dbca
此oracle問題本人在論壇上作了提問http://bbs.51cto.com/thread-1167548-1.html,最後自己找到方法解決,以此部落格再作記錄。
環境:CentOS6.5 64位,Oracle 11g R2 11.2.0.1.0
現象:oracle rac生產環境中,已經有一個執行個體正常使用,有需求再建一執行個體。
建立執行個體過程中,最後步驟具體報錯如下:
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/72/EA/wKiom1Xv0OuRZThLAAJ6qlZaA_o771.jpg" alt="wKiom1Xv0OuRZThLAAJ6qlZaA_o771.jpg" />
[Thread-829] [ 2015-09-09 11:29:42.007 CST ] [DatabaseImpl.createStopDep:3579] stop dependencies = hard(intermediate:ora.asm,shutdown:ora.DG_DATA.dg)
[Thread-829] [ 2015-09-09 11:29:42.057 CST ] [InstanceStepOPS.executeImpl:952] PRCR-1006 : Failed to add resource ora.proxy.db for null
PRCR-1071 : Failed to register or update resource ora.proxy.db
CRS-2566: User ‘oracle‘ does not have sufficient permissions to operate on resource ‘ora.LISTENER.lsnr‘, which is part of the dependency specification.
[Thread-829] [ 2015-09-09 11:29:42.057 CST ] [BasicStep.configureSettings:304] messageHandler being [email protected]
[Thread-829] [ 2015-09-09 11:29:42.057 CST ] [BasicStep.configureSettings:304] messageHandler being [email protected]
oracle.sysman.assistants.util.step.StepExecutionException: PRCR-1006 : Failed to add resource ora.proxy.db for null
PRCR-1071 : Failed to register or update resource ora.proxy.db
CRS-2566: User ‘oracle‘ does not have sufficient permissions to operate on resource ‘ora.LISTENER.lsnr‘, which is part of the dependency specification.
at oracle.sysman.assistants.dbca.backend.InstanceStepOPS.executeImpl(InstanceStepOPS.java:953)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
at oracle.sysman.assistants.dbca.backend.DBEntryStep.executeImpl(DBEntryStep.java:229)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
at java.lang.Thread.run(Thread.java:595)
解決辦法:
參考了http://www.linuxidc.com/Linux/2015-01/111579.htm文章,
1.嘗試用oracle使用者手動註冊資料庫資源,srvctl add database -d proxy -o $ORACLE_HOME,提示已經註冊Server pool。
2.使用root使用者刪除,crsctl delete serverpool ora.proxy
3.使用oracle使用者手動註冊資料庫資源,srvctl add database -d proxy -o $ORACLE_HOME
4.上面執行結果提示許可權問題,於是查看報錯資源詳情,crsctl stat res ora.LISTENER.lsnr -p
5.使用root使用者手動修改資源許可權,crsctl modify resource "ora.LISTENER.lsnr" -attr "ACL=‘owner:grid:rwx,pgrp:oinstall:r-x,other::r--‘"
以下是解決過程:
650) this.width=650;" border="0" src="http://s3.51cto.com/wyfs02/M02/72/F1/wKiom1XwAnGTX59-AAQZQ7IWBrc376.jpg" />
650) this.width=650;" border="0" src="http://s3.51cto.com/wyfs02/M00/72/F1/wKiom1XwAnHggwjlAAL7K0YgagI743.jpg" />
650) this.width=650;" border="0" src="http://s3.51cto.com/wyfs02/M00/72/EE/wKioL1XwBJ2xyWV9AAKCMYbElbE316.jpg" />
最後問題解決。問題造成的原因應該是操作時不注意使用者,使用root操作了grid的相關操作。
本文出自 “ygqygq2” 部落格,請務必保留此出處http://ygqygq2.blog.51cto.com/1009869/1869883
Oracle 11g R2 RAC dbca建立執行個體報錯