虚拟化容器,大数据,DBA,中间件,监控。

failed to upgrade oracle cluster registry configuration

29 10月
作者:admin|分类:DBA运维
p4679769_10201_LINUX.ZIP今天在浏览eygle的网站看到一个bug的相关帖子,猛地忽然想起前几天安装过一套rac 中遇到过一个bug,当时没有注意就直接打完bug后就不去做记录了,今日想起略感模糊故记录在此,供自己日后查看,也方便来客查阅。
系统环境 redhat 5.5 64.bit  ORACLE 10g 10.2.0.5 raw设备 +lvm
在执行root.sh 时出错出错信息如下
failed to upgrade oracle cluster registry configuration
按照常理应该是执行root后
会出现扫描节点完成的信息 如下:
WARNING: directory '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac1 rac1-priv rac1
node 2: rac2 rac2-priv rac2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/raw/raw21
Format of 1 voting devices complete.
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        rac1
CSS is inactive on these nodes.
        rac2
Local node checking complete.
但是却出现"failed to upgrade oracle cluster registry configuration
的错误网上查找相关信息这是一个oracle的 bug 
bug相关信息如下
  p4679769_10201_LINUX.zip(有32 和64位之分)
受影响的平台:
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
报错现象:

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

确认bug执行下列命令:

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

解决办法:

1. Download Patch:4679769 from Metalink (contains a patched version of clsfmt.bin).

里面会有readme.txt 认真读取readme 信息确保真正读懂。

读完后发现这个bug修补非常简单,只需要替换文件既可

解压出你补丁包中的文件 然后放到$ORACLE_HOME/bin 目录下面(记住做事情之前必须对原文件进行备份)

#    % cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin

然后更改文件权限:

#    % chmod 755 $ORACLE_HOME/bin/clsfmt.bin

最后执行命令清除你的裸设备

dd if=/dev/zero f=/dev/raw/raw1 bs=8192 count=2560(运行ROOT.SH其实是往OCR写东西!裸设备都清除一边吧花点时间总比后面遇到问题重新来一次强)

执行完毕 运行root.sh

补丁下载地址:http://www.itpub.net/thread-1465836-1-1.html 二楼回帖有地址

CSDN下载地址:http://download.csdn.net/download/xwsnet/3971277

浏览2330 评论0
返回
目录
返回
首页
Oracle ASM 配置错误--Initializing the Oracle ASMLib driver: [FAILED] CentOS 5上搭建10gRAC