当前位置: 首页 > Oracle, oracle 10g > 正文

bug 4679769 Failed to upgrade Oracle Cluster Registry configuration错误

在使用Mutiple Path捆绑多路径的环境安装10gR2 RAC 的时候,在运行root.sh脚本时,很容易遇到Failed to upgrade Oracle Cluster Registry configuration错误:

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

这是使用Mutiple Path多路径软件时,裸设备的BUG,MOS上可以找到这个BUG(Bug:4679769)的描述。下面摘录下MOS上的相关信息:

Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" (文档 ID 466673.1)
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Linux x86
IBM: Linux on POWER Systems
Linux x86-64
Linux Itanium
 ***Checked for relevance on 11-Mar-2013***
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 foun
d 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.
Scalability RAC Community
To discuss this topic further with Oracle experts and industry peers, we encourage you to review, join or start
a discussion in the My Oracle Support Scalability RAC Community.
References
BUG:4679769 - FAILED TO FORMAT OCR DISK USING CLSFMT
解决方法是打p4679769补丁,这个补丁相当简单,只需要解压开,将clsfmt.bin文件覆盖原来的就可以了,注意,RAC的所有节点都需要替换这个文件。
oracle@rac31:/soft> unzip p4679769_10201_Linux-x86-64.zip
Archive:  p4679769_10201_Linux-x86-64.zip
   creating: 4679769/
  inflating: 4679769/README.txt
  inflating: 4679769/clsfmt.bin
oracle@rac31:/soft> cd 4679769
oracle@rac31:/soft/4679769> cp $ORACLE_HOME/bin/clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin.bak
oracle@rac31:/soft/4679769> cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin
oracle@rac31:/soft/4679769> chmod 755 $ORACLE_HOME/bin/clsfmt.bin

此时ORC还没有写进去东西,直接重新运行root.sh脚本即可。

———————————————-end———————————————————

 

本文固定链接: https://www.dbdream.com.cn/2014/05/bug-4679769-failed-to-upgrade-oracle-cluster-registry-configuration%e9%94%99%e8%af%af/ | 信春哥,系统稳,闭眼上线不回滚!

该日志由 dbdream 于2014年05月07日发表在 Oracle, oracle 10g 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: bug 4679769 Failed to upgrade Oracle Cluster Registry configuration错误 | 信春哥,系统稳,闭眼上线不回滚!
关键字: , , , , , , , ,

bug 4679769 Failed to upgrade Oracle Cluster Registry configuration错误:目前有1 条留言

  1. 沙发
    创业失败:

    技术帝的博客一如既往的看不懂。

    2014-05-14 22:35 [回复]

发表评论

快捷键:Ctrl+Enter