您好,登錄后才能下訂單哦!
小編給大家分享一下Oracle 11g R2 RAC dbca新建實(shí)例報(bào)錯(cuò)怎么辦,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
此oracle問(wèn)題本人在論壇上作了提問(wèn)http://bbs.51cto.com/thread-1167548-1.html,最后自己找到方法解決,以此博客再作記錄。
環(huán)境:CentOS6.5 64位,Oracle 11g R2 11.2.0.1.0
現(xiàn)象:oracle rac生產(chǎn)環(huán)境中,已經(jīng)有一個(gè)實(shí)例正常使用,有需求再建一實(shí)例。
新建實(shí)例過(guò)程中,最后步驟具體報(bào)錯(cuò)如下:
[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 set=oracle.sysman.assistants.util.UIMessageHandler@30394ffa
[Thread-829] [ 2015-09-09 11:29:42.057 CST ] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@30394ffa
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)
解決辦法:
1.嘗試用oracle用戶手動(dòng)注冊(cè)數(shù)據(jù)庫(kù)資源,srvctl add database -d proxy -o $ORACLE_HOME,提示已經(jīng)注冊(cè)Server pool。
2.使用root用戶刪除,crsctl delete serverpool ora.proxy
3.使用oracle用戶手動(dòng)注冊(cè)數(shù)據(jù)庫(kù)資源,srvctl add database -d proxy -o $ORACLE_HOME
4.上面執(zhí)行結(jié)果提示權(quán)限問(wèn)題,于是查看報(bào)錯(cuò)資源詳情,crsctl stat res ora.LISTENER.lsnr -p
5.使用root用戶手動(dòng)修改資源權(quán)限,crsctl modify resource "ora.LISTENER.lsnr" -attr "ACL='owner:grid:rwx,pgrp:oinstall:r-x,other::r--'"
以下是解決過(guò)程截圖:
最后問(wèn)題解決。問(wèn)題造成的原因應(yīng)該是操作時(shí)不注意用戶,使用root操作了grid的相關(guān)操作。
以上是“Oracle 11g R2 RAC dbca新建實(shí)例報(bào)錯(cuò)怎么辦”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注億速云行業(yè)資訊頻道!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。