查看OCR备份内容失败

主题:OCRDUMP -BACKUPFILE Is Failing With PROT-302
文档 ID:782233.1类型: PROBLEM
Modified Date: 27-MAY-2009状态: PUBLISHED

In this Document
Symptoms
Cause
Solution
References


Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4
This problem can occur on any platform.

Symptoms

The command : ocrdump -backupfile ; used to dump contents of a backup Oracle Cluster Registry (OCR) file will fail with error PROT-302: Failed to initialize ocrdump.

Eg.
$ORA_CRS_HOME/bin/ocrdump -backupfile /scratch/oracle-10.2.0/crs/cdata/crs/day.ocr
PROT-302: Failed to initialize ocrdump

$ORA_CRS_HOME/log//client/ocrdump_.log shows:
-----------------------------------------------------------------------------------------------

Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005
Oracle. All rights reserved.
2005-12-08 08:46:03.836: [ OCRDUMP][3086874304]ocrdump starts...
2005-12-08 08:46:03.838: [ OCROSD][3086874304]utstoragetype:
/scratch/oracle-10.2.0/crs/cdata/crs/day.ocr is on FS type 61267. Not supported.
2005-12-08 08:46:03.838: [ OCROSD][3086874304]utopen:6': OCR location
/scratch/oracle-10.2.0/crs/cdata/crs/day.ocr configured is not valid storage type. Return code [37].
2005-12-08 08:46:03.838: [ OCRRAW][3086874304]proprinit: Could not open raw device
2005-12-08 08:46:03.838: [ OCRAPI][3086874304]a_init:7!: Backend init unsuccessful : [37]
2005-12-08 08:46:03.838: [ OCRDUMP][3086874304]Failed to initailized OCR context. Error [PROC-37: Oracle Cluster Registry does not support the storage type configured] [37].
2005-12-08 08:46:03.838: [ OCRDUMP][3086874304]Failed to initialize ocrdump stage 2
2005-12-08 08:46:03.838: [ OCRDUMP][3086874304]Exiting [status=failed]...

Cause

The command "ocrdump -backupfile filename" fails to dump the content of the specified backup file if the backup file is not placed on an OCR-compatible device, which can be used to configure as an OCR device.

This issue was reported in Bug 4966320, Bug 7421563, Bug 5893432, Bug 5654475, Bug 7698962 fixed via internal unpublished Bug 4870817

Solution

This bug is known to have been fixed in latest CRS bundle patch for 10.2.0.4. For more information, please consult Note 405820.1

Workaround :
---------------------

Move the backup file to a compatible deivce. A compatible device is the type of device that can be used to configure OCR. For example, the backup file can be placed on the same device where OCR device is configured.

References

Bug 4966320 - OCRDUMP -BACKUPFILE FAILED WITH PROT-302
Bug 5654475 - OCRDUMP -BACKUPFILE IS FAILING WITH PROT-302
Bug 5893432 - OCRDUMP -BACKUPFILE BACKUP.OCR FAILS WITH PROT-302: FAILED TO INITIALIZE OCRDUMP
Bug 7421563 - OCRDUMP -BACKUPFILE IS FAILING WITH PROT-302[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9225895/viewspace-1027461/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9225895/viewspace-1027461/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值