Oracle 11g R2 RAC DBCA新建实例报错解决

环境:CentOS6.5 64位,Oracle 11g R2 11.2.0.1.0

现象:Oracle RAC生产环境中,已经有一个实例正常使用,有需求再建一实例。

新建实例过程中,最后步骤具体报错如下:

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 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用户手动注册数据库资源,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--'"

以下是解决过程截图:

Oracle 11g R2 RAC DBCA新建实例报错解决

   

Oracle 11g R2 RAC DBCA新建实例报错解决

   

Oracle 11g R2 RAC DBCA新建实例报错解决

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/fe5a5bb86de598338f1f3311aeb38d06.html