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

自由画布
自由画布

百度文库和百度网盘联合开发的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不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
AO3官网入口与中文阅读设置 AO3网页版使用与访问
AO3官网入口与中文阅读设置 AO3网页版使用与访问

本专题围绕 Archive of Our Own(AO3)官网入口展开,系统整理 AO3 最新可用官网地址、网页版访问方式、正确打开链接的方法,并详细讲解 AO3 中文界面设置、阅读语言切换及基础使用流程,帮助用户稳定访问 AO3 官网,高效完成中文阅读与作品浏览。

45

2026.02.02

主流快递单号查询入口 实时物流进度一站式追踪专题
主流快递单号查询入口 实时物流进度一站式追踪专题

本专题聚合极兔快递、京东快递、中通快递、圆通快递、韵达快递等主流物流平台的单号查询与运单追踪内容,重点解决单号查询、手机号查物流、官网入口直达、包裹进度实时追踪等高频问题,帮助用户快速获取最新物流状态,提升查件效率与使用体验。

8

2026.02.02

Golang WebAssembly(WASM)开发入门
Golang WebAssembly(WASM)开发入门

本专题系统讲解 Golang 在 WebAssembly(WASM)开发中的实践方法,涵盖 WASM 基础原理、Go 编译到 WASM 的流程、与 JavaScript 的交互方式、性能与体积优化,以及典型应用场景(如前端计算、跨平台模块)。帮助开发者掌握 Go 在新一代 Web 技术栈中的应用能力。

4

2026.02.02

PHP Swoole 高性能服务开发
PHP Swoole 高性能服务开发

本专题聚焦 PHP Swoole 扩展在高性能服务端开发中的应用,系统讲解协程模型、异步IO、TCP/HTTP/WebSocket服务器、进程与任务管理、常驻内存架构设计。通过实战案例,帮助开发者掌握 使用 PHP 构建高并发、低延迟服务端应用的工程化能力。

3

2026.02.02

Java JNI 与本地代码交互实战
Java JNI 与本地代码交互实战

本专题系统讲解 Java 通过 JNI 调用 C/C++ 本地代码的核心机制,涵盖 JNI 基本原理、数据类型映射、内存管理、异常处理、性能优化策略以及典型应用场景(如高性能计算、底层库封装)。通过实战示例,帮助开发者掌握 Java 与本地代码混合开发的完整流程。

3

2026.02.02

go语言 注释编码
go语言 注释编码

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

62

2026.01.31

go语言 math包
go语言 math包

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

55

2026.01.31

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

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

27

2026.01.31

golang 循环遍历
golang 循环遍历

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

33

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号