0

0

11g ASM单实例 dbca报错 prcr-1006 crs-0259 prcr-1071

php中文网

php中文网

发布时间:2016-06-07 16:49:36

|

1989人浏览过

|

来源于php中文网

原创

11g ASM单实例 dbca报错 prcr-1006 crs-0259 prcr-1071

11g asm dbca报错 prcr-1006 crs-0259 prcr-1071
 
使用asm方式创建单实例db时,在运行dbca时出现
prcr-1006 : failed to add resource ora.orcl.db for orcl
prcr-1071 : failed to register or update resource ora.orcl.db
prcr-1001 : resource ora.orcl.db does not exist
 
查看dbca日志后,发现以下报错
 
[oracle@dga01 orcl]$ tail -30000 trace.log | grep prcr
 
[thread-138] [ 2013-03-19 14:15:51.520 cst ]
[hasidbregistrationstep.executeimpl:253]
exception while registering with has
prcr-1006 : failed to add resource ora.orcl.db for orcl
prcr-1071 : failed to register or update resource ora.orcl.db
prcr-1001 : resource ora.orcl.db does not exist
 
oracle说这是一个bug 如下
 
bug 11886915 : crs-0259 when registering the database with oracle restart
 
bug 属性
 
类型 b - defect 已在产品版本中修复
严重性 2 - severe loss of service 产品版本 11.2.0.2
状态 33 - suspended, req'd info not avail 平台 226 - linux x86-64
创建时间 2011-3-18 平台版本 oracle linux 5
更新时间 2011-10-3 基本 bug n/a
数据库版本 11.2.0.2 影响平台 generic
产品源 oracle
 
产品线 oracle database products 系列 oracle database
区域 oracle database 产品 5 - oracle database - enterprise edition
 
hdr: 11886915 11.2.0.2 pcw 11.2.0.2 crs prodid-5 portid-226
abstract: crs-0259 when registering the database with oracle restart
 
*** 03/18/11 07:51 am ***
 
problem:
--------
oracle restart environment, using separate database oracle homes, each owned
by a different os user.
 
a database cannot be registered with oracle restart when the os user used to
install the database software was created after the last restart of the
oracle restart environment.
 
there must be at least 1 database from a different oracle home/os owner
already registered with the oracle restart.
 
the database can be registered only after ohasd is restarted.
 
diagnostic analysis:
--------------------
srvctl error:
 
prcr-1006 : failed to add resource ora.elin.db for null
prcr-1071 : failed to register or update resource ora.elin.db
crs-0259: owner of the resource does not belong to the group.
 
workaround:
-----------
after restarting the grid infrastructure the second db can be added.
however, this causes downtime for the already existing databases, which is
not acceptable by the customer
 
related bugs:
-------------
bug 10337212
bug 10118593
bug 11063852
 
reproducibility:
----------------
can be reproduced as follows on ct env:
- install grid infrastructure for single node (oracle restart) 11.2.0.2 using
a separate os user (grid) on linux 64 bit.
- install the oracle enterprise db software using a separate os user
(oracle1), create a new db in this oracle home and register this db with
oracle restart (happens automatically when using dbca).
- install the oracle enterprise db software using a new os user (os user did
not exists since the last grid infrastructure restart) and create a new db in
this oracle home.
at this point dbca will complain that the db can not be registered with
oracle restart and further installation (db console) will fail. manual
registration attempts using srvctl will also fail.
- restart the ohas (crsctl stop has / crsctl start has). this will also
restart all db already registered with oracle restart
- manual register the second created database using "srvctl add database"
will now work.
- when now creating a third oracle home using a new os user, the db
registration will again fail.

--------------------------------------分割线 --------------------------------------

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

Oracle 11g从入门到精通 PDF+光盘源代码

RHEL6 ASM方式安装Oracle 11g R2

Clippah
Clippah

AI驱动的创意视频处理平台

下载

Oracle 10g 手工创建ASM数据库

Oracle 10g R2创建ASM实例Step By Step

--------------------------------------分割线 --------------------------------------
 
 
解决方法如下,先利用grid用户重启has服务,,
 
[grid@dga01 ~]$ crsctl stop has
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dga01'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'dga01'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'dga01'
CRS-2673: Attempting to stop 'ora.OCR.dg' on 'dga01'
CRS-2677: Stop of 'ora.DATA.dg' on 'dga01' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'dga01' succeeded
CRS-2677: Stop of 'ora.OCR.dg' on 'dga01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'dga01'
CRS-2677: Stop of 'ora.asm' on 'dga01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'dga01'
CRS-2677: Stop of 'ora.cssd' on 'dga01' succeeded
CRS-2673: Attempting to stop 'ora.evmd' on 'dga01'
CRS-2677: Stop of 'ora.evmd' on 'dga01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dga01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
 
[grid@dga01 ~]$ crsctl start has
CRS-4123: Oracle High Availability Services has been started.
 
 
[root@dga01 ~]# su - oracle
用 srvctl 重新注册 database
 
[oracle@dga01 ~]$ srvctl add database -d orcl -o /u01/app/oracle/product/11.2/db_1
 
 
执行以上命令完成后 dbca正常

本文永久更新链接地址:

linux

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
go语言 注释编码
go语言 注释编码

本专题整合了go语言注释、注释规范等等内容,阅读专题下面的文章了解更多详细内容。

32

2026.01.31

go语言 math包
go语言 math包

本专题整合了go语言math包相关内容,阅读专题下面的文章了解更多详细内容。

23

2026.01.31

go语言输入函数
go语言输入函数

本专题整合了go语言输入相关教程内容,阅读专题下面的文章了解更多详细内容。

16

2026.01.31

golang 循环遍历
golang 循环遍历

本专题整合了golang循环遍历相关教程,阅读专题下面的文章了解更多详细内容。

5

2026.01.31

Golang人工智能合集
Golang人工智能合集

本专题整合了Golang人工智能相关内容,阅读专题下面的文章了解更多详细内容。

6

2026.01.31

2026赚钱平台入口大全
2026赚钱平台入口大全

2026年最新赚钱平台入口汇总,涵盖任务众包、内容创作、电商运营、技能变现等多类正规渠道,助你轻松开启副业增收之路。阅读专题下面的文章了解更多详细内容。

268

2026.01.31

高干文在线阅读网站大全
高干文在线阅读网站大全

汇集热门1v1高干文免费阅读资源,涵盖都市言情、京味大院、军旅高干等经典题材,情节紧凑、人物鲜明。阅读专题下面的文章了解更多详细内容。

195

2026.01.31

无需付费的漫画app大全
无需付费的漫画app大全

想找真正免费又无套路的漫画App?本合集精选多款永久免费、资源丰富、无广告干扰的优质漫画应用,涵盖国漫、日漫、韩漫及经典老番,满足各类阅读需求。阅读专题下面的文章了解更多详细内容。

170

2026.01.31

漫画免费在线观看地址大全
漫画免费在线观看地址大全

想找免费又资源丰富的漫画网站?本合集精选2025-2026年热门平台,涵盖国漫、日漫、韩漫等多类型作品,支持高清流畅阅读与离线缓存。阅读专题下面的文章了解更多详细内容。

85

2026.01.31

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
新的PHP案例(思考者)1
新的PHP案例(思考者)1

共0课时 | 0.8万人学习

PHP自制框架
PHP自制框架

共8课时 | 0.6万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号