ASM bug 11886915

  1. 11g ASM dbca报错 prcr-1006 crs-0259  prcr-1071  
  2.   
  3.   
  4. 使用ASM方式创建单实例DB时,在运行DBCA时出现  
  5. PRCR-1006 : Failed to add resource ora.orcl.db for orcl  
  6. PRCR-1071 : Failed to register or update resource ora.orcl.db  
  7. PRCR-1001 : Resource ora.orcl.db does not exist  
  8.   
  9.   
  10. 查看DBCA日志后,发现以下报错  
  11.   
  12. [oracle@dga01 orcl]$ tail -30000 trace.log  | grep PRCR  
  13.   
  14. [Thread-138] [ 2013-03-19 14:15:51.520 CST ]   
  15. [HASIDBRegistrationStep.executeImpl:253]   
  16.  Exception while registering with HAS   
  17. PRCR-1006 : Failed to add resource ora.orcl.db for orcl  
  18. PRCR-1071 : Failed to register or update resource ora.orcl.db  
  19. PRCR-1001 : Resource ora.orcl.db does not exist  
  20.   
  21.   
  22. oracle说这是一个bug  如下  
  23.   
  24. Bug 11886915 : CRS-0259 WHEN REGISTERING THE DATABASE WITH ORACLE RESTART     
  25.    
  26. Bug 属性  
  27.    
  28. 类型  B - Defect  已在产品版本中修复     
  29. 严重性 2 - Severe Loss of Service  产品版本    11.2.0.2  
  30. 状态  33 - Suspended, Req'd Info not Avail    平台  226 - Linux x86-64  
  31. 创建时间    2011-3-18   平台版本    ORACLE LINUX 5  
  32. 更新时间    2011-10-3   基本 Bug  N/A  
  33. 数据库版本   11.2.0.2    影响平台    Generic  
  34. 产品源 Oracle  
  35.   
  36.    
  37. 产品线 Oracle Database Products    系列  Oracle Database  
  38. 区域  Oracle Database 产品  5 - Oracle Database - Enterprise Edition  
  39.   
  40. Hdr: 11886915 11.2.0.2 PCW 11.2.0.2 CRS PRODID-5 PORTID-226  
  41. Abstract: CRS-0259 WHEN REGISTERING THE DATABASE WITH ORACLE RESTART  
  42.    
  43. *** 03/18/11 07:51 am ***  
  44.    
  45. PROBLEM:  
  46. --------  
  47. Oracle Restart Environment, using separate Database Oracle Homes, each owned   
  48. by a different OS user.  
  49.    
  50. A database cannot be registered with Oracle Restart when the OS user used to   
  51. install the database software was created after the last restart of the   
  52. Oracle Restart Environment.  
  53.    
  54. There must be at least 1 database from a different Oracle Home/OS owner   
  55. already registered with the Oracle Restart.  
  56.    
  57. The database can be registered only after OHASD is restarted.  
  58.    
  59. DIAGNOSTIC ANALYSIS:  
  60. --------------------  
  61. srvctl error:  
  62.    
  63. PRCR-1006 : Failed to add resource ora.elin.db for null  
  64. PRCR-1071 : Failed to register or update resource ora.elin.db  
  65. CRS-0259: Owner of the resource does not belong to the group.  
  66.    
  67. WORKAROUND:  
  68. -----------  
  69. after restarting the grid infrastructure the second db can be added.  
  70. However, this causes downtime for the already existing databases, which is   
  71. not acceptable by the customer  
  72.    
  73. RELATED BUGS:  
  74. -------------  
  75. Bug 10337212  
  76. Bug 10118593  
  77. Bug 11063852  
  78.    
  79. REPRODUCIBILITY:  
  80. ----------------  
  81. Can be reproduced as follows on CT env:  
  82. - install grid infrastructure for single node (oracle restart) 11.2.0.2 using   
  83. a separate OS user (grid) on linux 64 bit.  
  84. - install the oracle enterprise db software using a separate OS user   
  85. (oracle1), create a new db in this Oracle Home and register this db with   
  86. oracle restart (happens automatically when using dbca).  
  87. - Install the oracle enterprise db software using a new OS user (os user did   
  88. not exists since the last grid infrastructure restart) and create a new db in   
  89. this Oracle Home.  
  90. At this point dbca will complain that the db can not be registered with   
  91. Oracle restart and further installation (db console) will fail. Manual   
  92. registration attempts using srvctl will also fail.  
  93. - Restart the ohas (crsctl stop has / crsctl start has). This will also   
  94. restart all db already registered with Oracle restart  
  95. - Manual register the second created database using "srvctl add database"   
  96. will now work.  
  97. - When now creating a third Oracle Home using a new OS user, the db   
  98. registration will again fail.  
  99.    
  100.   
  101.   
  102. 解决方法如下,先利用grid用户重启has服务,  
  103.   
  104. [grid@dga01 ~]$ crsctl stop has  
  105. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dga01'  
  106. CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'dga01'  
  107. CRS-2673: Attempting to stop 'ora.DATA.dg' on 'dga01'  
  108. CRS-2673: Attempting to stop 'ora.OCR.dg' on 'dga01'  
  109. CRS-2677: Stop of 'ora.DATA.dg' on 'dga01' succeeded  
  110. CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'dga01' succeeded  
  111. CRS-2677: Stop of 'ora.OCR.dg' on 'dga01' succeeded  
  112. CRS-2673: Attempting to stop 'ora.asm' on 'dga01'  
  113. CRS-2677: Stop of 'ora.asm' on 'dga01' succeeded  
  114. CRS-2673: Attempting to stop 'ora.cssd' on 'dga01'  
  115. CRS-2677: Stop of 'ora.cssd' on 'dga01' succeeded  
  116. CRS-2673: Attempting to stop 'ora.evmd' on 'dga01'  
  117. CRS-2677: Stop of 'ora.evmd' on 'dga01' succeeded  
  118. CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dga01' has completed  
  119. CRS-4133: Oracle High Availability Services has been stopped.  
  120.   
  121. [grid@dga01 ~]$ crsctl start has  
  122. CRS-4123: Oracle High Availability Services has been started.  
  123.   
  124.   
  125. [root@dga01 ~]# su - oracle  
  126. 用 srvctl  重新注册 database  
  127.   
  128. [oracle@dga01 ~]$ srvctl  add database -d orcl -o /u01/app/oracle/product/11.2/db_1  
  129.   
  130.   
  131. 执行以上命令完成后 dbca正常 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值