PROT-1-- root.sh Failed to Initialize ocrconfig [ID 983792.1]
PROT-1: root.sh Failed to Initialize ocrconfig [ID 983792.1] |
||
|
||
|
Modified 03-MAR-2010 Type PROBLEM Status MODERATED |
|
In this Document
Symptoms
Cause
Solution
References
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review. |
Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1 to 11.2.0.1 - Release: 11.2 to 11.2
Generic UNIX
Generic Linux
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]]
For case 1, cause is incorrect NFS mount option specified for OCR and Voting disk
For case 2, cause is instead of a flat file, specified OCR location is a directory:
ls -ld /share/storage/ocr
drwxr-xr-x 2 oracle oinstall 4096 Jan 04 13:15 /share/storage/ocr
For case 3, cause is unsupported storage type specified for OCR
ls -l /share/storage/ocr
-rw-r----- 1 root oinstall 0 Fan 04 15:15 /share/storage/ocr
mount | grep share
/u01/share on /share type none (rw,bind)
# from above you can see /share file system is not supported type for OCR
For case 1, remount NFS for OCR and Voting Disk with proper mount options in note 359515.1
For case 2, remove the directory and create a empty file with same name instead:
rm -rf /share/storage/ocr
touch /share/storage/ocr
chown oracle:oinstall /share/storage/ocr
For case 3, make sure supported storage type is used for OCR.
Once above is done, you can clean up and re-run root.sh with note 942166.1
NOTE:942166.1 - How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation
NOTE:955550.1 - Root.sh Fails to Format Voting disks when Placing OCR/Voting Disks on ASM
------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
网上资源: http://tianlesoftware.download.csdn.net
相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
DBA1 群:62697716(满); DBA2 群:62697977(满)
DBA3 群:62697850 DBA 超级群:63306533;
聊天 群:40132017
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请
posted on 2010-11-26 16:26 spring3mvc学习笔记 阅读(643) 评论(0) 编辑 收藏 举报