主题:
OCRDUMP -BACKUPFILE Is Failing With PROT-302
文档 ID:
782233.1
类型:
PROBLEM
Modified Date:
27-MAY-2009
状态:
PUBLISHED
In this Document
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
- OCRDUMP -BACKUPFILE FAILED WITH PROT-302
- OCRDUMP -BACKUPFILE IS FAILING WITH PROT-302
- OCRDUMP -BACKUPFILE BACKUP.OCR FAILS WITH PROT-302: FAILED TO INITIALIZE OCRDUMP
- OCRDUMP -BACKUPFILE IS FAILING WITH PROT-302[@more@]