ITPub博客

首页 > 数据库 > Oracle > 查看OCR备份内容失败

查看OCR备份内容失败

原创 Oracle 作者:cyzhang1983 时间:2009-09-29 10:44:12 0 删除 编辑
主题: 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博客 ” ,链接:https://blog.itpub.net/9225895/viewspace-1027461/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-05-04

  • 博文量
    67
  • 访问量
    183139