首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

Redhat 5.4 RAC multipath 配raw 运作root.sh 报Failed to upgrade Oracle Cluster Reg

2012-11-22 
Redhat 5.4 RAC multipath 配raw 运行root.sh 报Failed to upgrade Oracle Cluster Reg在LINUX AS 5.4上安

Redhat 5.4 RAC multipath 配raw 运行root.sh 报Failed to upgrade Oracle Cluster Reg

在LINUX AS 5.4上安装Oracle RAC 10.2.0.1,使用多路径软件映射出来的虚拟磁盘分区保存OCR和VOTE DISK信息。执行root.sh时报错"Failed to upgrade Oracle Cluster Registry configuration"。

?

(miki西游 @mikixiyou 原文链接: http://mikixiyou.iteye.com/blog/1727885)

报错具体信息如下:

[root@rac11 ~]# /u01/app/oracle/product/10.2.0/crshome_1/root.shWARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by rootWARNING: directory '/u01/app/oracle/product' is not owned by rootWARNING: directory '/u01/app/oracle' is not owned by rootWARNING: directory '/u01/app' is not owned by rootChecking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesFailed to upgrade Oracle Cluster Registry configuration
?

分析ocrconfig.log日志,错误信息如下:

[root@rac11 ~]# more /u01/app/oracle/product/10.2.0/crshome_1/log/rac11/client/ocrconfig_11282.logOracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.2012-11-16 14:36:56.567: [ OCRCONF][521395072]ocrconfig starts...2012-11-16 14:36:56.567: [ OCRCONF][521395072]Upgrading OCR data2012-11-16 14:36:56.572: [ OCRCONF][521395072]OCR already in current version.2012-11-16 14:36:56.579: [ OCRCONF][521395072]Failed to call clsssinit (21)2012-11-16 14:36:56.579: [ OCRCONF][521395072]Failed to make a backup copy of OCR2012-11-16 14:36:56.579: [ OCRCONF][521395072]Exiting [status=failed]...[root@rac11 ~]#

?
使用dd清理raw1,raw2裸设备
dd if=/dev/zero of=/dev/raw/raw1 bs=8192K count=10
dd if=/dev/zero of=/dev/raw/raw2 bs=8192K count=10

清理结果正常,不是磁盘不能读或者保存有旧的配置信息。


于是查找oracle官网,说这是一个bug.

在Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration 。

使用clsfmt.bin检查一下。

[root@rac11 ~]# /u01/app/oracle/product/10.2.0/crshome_1/bin/clsfmt.bin ocr /dev/raw/raw1clsfmt: Received unexpected error 4 from skgfifiskgfifi: Additional information: -2Additional information: -2147483648

?
oracle 发布的补丁包p4679769_10201_Linux-x86-64.zip。补丁包中的clsfmt.bin文件替换到系统bin目录的同名称文件即可。

热点排行