当前位置:Gxlcms > 数据库问题 > 【故障处理】 DBCA建库报错CRS-2566

【故障处理】 DBCA建库报错CRS-2566

时间:2021-07-01 10:21:17 帮助过:3人阅读

一.1  BLOG文档结构图

 

技术分享 

 

一.2  前言部分

 

一.2.1  导读和注意事项

各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~:

dbca静默建库

② 将监听加入CRS中

 

  Tips:

       ① 若文章代码格式有错乱,推荐使用搜狗、QQ360浏览器,也可以下载pdf格式的文档来查看,pdf文档下载地址:http://yunpan.cn/cdEQedhCs2kFz (提取码:ed9b 

       ② 本篇BLOG中命令的输出部分需要特别关注的地方我都用灰色背景和粉红色字体来表示,比如下边的例子中,thread 1的最大归档日志号为33thread 2的最大归档日志号为43是需要特别关注的地方;而命令一般使用黄色背景和红色字体注;对代码或代码输出部分的注释一般采用蓝色字体表示

 

  List of Archived Logs in backup set 11

  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time

  ---- ------- ---------- ------------------- ---------- ---------

  1    32      1621589    2015-05-29 11:09:52 1625242    2015-05-29 11:15:48

  1    33      1625242    2015-05-29 11:15:48 1625293    2015-05-29 11:15:58

  2    42      1613951    2015-05-29 10:41:18 1625245    2015-05-29 11:15:49

  2    43      1625245    2015-05-29 11:15:49 1625253    2015-05-29 11:15:53

 

 

 

[ZFXXDB1:root]:/>lsvg -o

T_XDESK_APP1_vg

rootvg

[ZFXXDB1:root]:/>

00:27:22 SQL> alter tablespace idxtbs read write;

 

 

====》2097152*512/1024/1024/1024=1G 

 

 

 

 

 

本文如有错误或不完善的地方请大家多多指正,ITPUB留言或QQ皆可,您的批评指正是我写作的最大动力。

 

 

一.2.2  本文简介

本来想熟悉一下DG的搭建过程,没想到第一步dbca创建测试库的时候就报错了,

PRCR-1006 : Failed to add resource ora.lhrdg.db for lhrdg

PRCR-1071 : Failed to register or update resource ora.lhrdg.db

CRS-2566: User ‘oracle‘ does not have sufficient permissions to operate on resource ‘ora.LISTENER_LHRDG.lsnr‘, which is part of the dependency specification.

DBCA_PROGRESS : 100%

简单查询处理了一下,这里记录一下过程。

 

 

 

一.3  故障分析及解决过程

 

一.3.1  故障环境介绍

 

项目

source db

db 类型

RAC

db version

11.2.0.3

db 存储

ASM

OS版本及kernel版本

AIX 645.3.0.0

 

 

 

 

一.3.2  故障发生现象及报错信息

PRCR-1006 : Failed to add resource ora.lhrdg.db for lhrdg

PRCR-1071 : Failed to register or update resource ora.lhrdg.db

CRS-2566: User ‘oracle‘ does not have sufficient permissions to operate on resource ‘ora.LISTENER_LHRDG.lsnr‘, which is part of the dependency specification.

DBCA_PROGRESS : 100%

 

[ZFXDESKDB3:oracle]:/oracle>dbca -silent -createDatabase -templateName General_Purpose.dbc \

> -gdbname LHRDG  -sid LHRDGZK \

> -sysPassword lhr -systemPassword lhr \

> -datafileDestination ‘DATA/‘ -redoLogFileSize 50 -recoveryAreaDestination ‘/arch‘ \

> -storageType ASM -asmsnmpPassword lhr  -diskGroupName ‘DATA‘ -responseFile NO_VALUE \

> -characterset ZHS16GBK -nationalCharacterSet AL16UTF16 -sampleSchema true -automaticMemoryManagement true \

> -totalMemory 1024  -nodeinfo ZFXDESKDB3,ZFXDESKDB4

 

 

人气教程排行