My Oracle Support Banner

PROT-1: root.sh Failed to Initialize ocrconfig (Doc ID 983792.1)

Last updated on MAY 14, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Generic UNIX
Generic Linux

Symptoms

After successful 11gR2 Grid Infrastructure clusterware (CRS) installation, root.sh failed to initialize OCR with following error:

..
CRS-2676: Start of 'ora.cssd' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'racnode1'
CRS-2676: Start of 'ora.ctssd' on 'racnode1' succeeded
PROT-1: Failed to initialize ocrconfig
Command return code of 255 (65280) from command: /ocw/grid/bin/ocrconfig -upgrade oracle oinstall
Failed to create Oracle Cluster Registry configuration, rc 255
..

ocrconfig trace in $GRID_HOME/log/$HOSTNAME/client/ocrconfig_pid.log shows following:

  Case 1:

..
2009-12-07 12:51:41.328: [ OCRCONF][4265610768]ocrconfig starts...
2009-12-07 12:51:41.328: [ OCRCONF][4265610768]Upgrading OCR data
2009-12-07 12:51:41.330: [  OCROSD][4265610768]NFS file system /OCR mounted with incorrect options
2009-12-07 12:51:41.330: [  OCROSD][4265610768]WARNING:Expected NFS mount options: wsize>=32768,rsize>=32768,hard,(noac | actimeo=0 | acregmin=0,acregmax=0,acdirmin=0,acdirmax=0)
2009-12-07 12:51:41.330: [  OCROSD][4265610768]utopen:6m'': OCR location [/share/storage/ocr] configured is not a valid storage type. Rturn code [37].
2009-12-07 12:51:41.330: [  OCROSD][4265610768]utopen:7:failed to open any OCR file/disk, errno=2, os err string=No such file or directory
2009-12-07 12:51:41.330: [  OCRRAW][4265610768]proprinit: Could not open raw device
2009-12-07 12:51:41.331: [ default][4265610768]a_init:7!: Backend init unsuccessful : [26]
2009-12-07 12:51:41.331: [ OCRCONF][4265610768]Exporting OCR data to [OCRUPGRADEFILE]
2009-12-07 12:51:41.331: [  OCRAPI][4265610768]a_init:7!: Backend init unsuccessful : [33]
2009-12-07 12:51:41.332: [ OCRCONF][4265610768]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
..


  Case 2:

2010-01-04 21:07:10.041: [ OCRCONF][3046483648]ocrconfig starts...
2010-01-04 21:07:10.044: [ OCRCONF][3046483648]Upgrading OCR data
..
2010-01-04 21:07:10.073: [  OCROSD][3046483648]utopen:6m'': OCR location [/share/storage/ocr] configured is not a valid storage type. Rturn code [37].
2010-01-04 21:07:10.073: [  OCROSD][3046483648]utopen:7:failed to open any OCR file/disk, errno=2, os err string=No such file or directory
2010-01-04 21:07:10.073: [  OCRRAW][3046483648]proprinit: Could not open raw device
2010-01-04 21:07:10.073: [ default][3046483648]a_init:7!: Backend init unsuccessful : [26]

2010-01-04 21:07:10.081: [  OCROSD][3046483648]utopen:6m'': OCR location [/share/storage/ocr] configured is not a valid storage type. Rturn code [37].
2010-01-04 21:07:10.081: [  OCROSD][3046483648]utopen:7:failed to open any OCR file/disk, errno=9, os err string=Bad file descriptor
2010-01-04 21:07:10.081: [  OCRRAW][3046483648]proprinit: Could not open raw device
2010-01-04 21:07:10.082: [  OCRAPI][3046483648]a_init:6b!: Backend init unsuccessful : [26]
2010-01-04 21:07:10.082: [ OCRCONF][3046483648]Failed to initialized OCR context. error:[PROC-26: Error while accessing the physical storage Operating System error [Bad file descriptor] [9]]
2010-01-04 21:07:10.082: [ OCRCONF][3046483648]Exiting [status=failed]...


  Case 3:

2010-03-02 14:48:05.037: [  OCROSD][4203302416]utstoragetypecommon: Oracle Cluster Registry does not support the storage type configured. OCR can be configured on: ASM, OCFS, OCFS2, NFS, Block Device, Character Device, VxFS
2010-03-02 14:48:05.037: [  OCROSD][4203302416]utopen:6m'': OCR location [/share/storage/ocr] configured is not a valid storage type. Rturn code [37].
2010-03-02 14:48:05.037: [  OCROSD][4203302416]utopen:7:failed to open any OCR file/disk, errno=2, os err string=No such file or directory
2010-03-02 14:48:05.037: [  OCRRAW][4203302416]proprinit: Could not open raw device
2010-03-02 14:48:05.037: [ default][4203302416]a_init:7!: Backend init unsuccessful : [26]
2010-03-02 14:48:05.038: [  OCROSD][4203302416]utstoragetypecommon: Oracle Cluster Registry does not support the storage type configured. OCR can be configured on: ASM, OCFS, OCFS2, NFS, Block Device, Character Device, VxFS
2010-03-02 14:48:05.038: [  OCROSD][4203302416]utopen:6m'': OCR location [/share/storage/ocr] configured is not a valid storage type. Rturn code [37].
2010-03-02 14:48:05.038: [  OCROSD][4203302416]utopen:7:failed to open any OCR file/disk, errno=9, os err string=Bad file descriptor
2010-03-02 14:48:05.038: [  OCRRAW][4203302416]proprinit: Could not open raw device
2010-03-02 14:48:05.038: [  OCRAPI][4203302416]a_init:6b!: Backend init unsuccessful : [26]
2010-03-02 14:48:05.038: [ OCRCONF][4203302416]Failed to initialized OCR context. error:[PROC-26: Error while accessing the physical storage Operating System error [Bad file descriptor] [9]]



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.