Oracle 11g R2 RAC dbca建立執行個體報錯

來源:互聯網
上載者:User

標籤: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建立執行個體報錯

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.