Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1]











Modified 07-JUN-2010     ​Type​ PROBLEM     ​Status​ PUBLISHED





In this Document
  ​Symptoms​  ​Changes​  ​Cause​  ​Solution​  ​References​



Applies to:


Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Linux x86
IBM: Linux on POWER Systems
Linux x86-64
Linux Itanium


Symptoms


On a new clusterware installation on Linux root.sh script is failing with the following error while running root.sh on the first node:

PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration

The problem can be tracked down to clsfmt command:

./clsfmt ocr /dev/raw/raw1
     clsfmt: Received unexpected error 4 from skgfifi
     skgfifi: Additional information: -2
     Additional information: 1000718336



Changes


It has been found that the following changes can cause this problem to occur:

1. Use Mutiple Path (MP) disk configuration, may hit this issue.
2. Use EMC device (powerpath**) may hit this issue.

But it was not confirmed that these are the only things that can cause this problem to occur, as it has been found that on other hardware and configuration the problem might occur, the key change in this issue is that if the disk size presented from the storage to the cluster nodes are not dividable by 4K the problem should occur.


Cause


This issue is addressed in ​Bug:4679769​ which states that this is a known issue with the clusterware installation on platforms: Linux x86, x86-64 and "IBM Power Based Linux".


Solution


Before running the root.sh on the first node in the cluster do the following:

1. Download
​Patch:4679769​ from Metalink (contains a patched version of clsfmt.bin).
2. Do the following steps as stated in the patch README to fix the problem:
Note:  clsfmt.bin need only be replaced on the 1st node of the cluster

# Patch Installation Instructions:
# --------------------------------
# To apply the patch, unzip the PSE container file:
#
# p4679769_10201_LINUX.zip
#
# Set your current directory to the directory where the patch
# is located:
#
# % cd 4679769
#
# Copy the clsfmt.bin binary to the $ORACLE_HOME/bin directory where
# clsfmt is being run:
#
# % cp $ORACLE_HOME/bin/clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin.bak
# % cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin
#
# Ensure permissions on the clsfmt.bin binary are correct:
#
# % chmod 755 $ORACLE_HOME/bin/clsfmt.bin

3. Run the root.sh script and proceed with the installation.


References


​BUG:4679769​ - FAILED TO FORMAT OCR DISK USING CLSFMT





------------------------------------------------------------------------------

DBA1 群:62697716(); DBA2 群:62697977()

DBA3 群:62697850   DBA 超级群:63306533;    

聊天 群:40132017

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请