Oracle 10gR2 RAC安装报:Failed to upgrade Oracle Cluster Registry configuration

这是之前安装的一套10g的RAC,现在做测试,做新安装并整理下。安装Oracle 10gR2 clusterware,在执行root.sh脚本报如下错误:

[root@rh55db1 4679769]# /u01/app/oracle/product/10.2.0/crs/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting up NS directories

Failed to upgrade Oracle Cluster Registry configuration

是10g的一个bug,下载补丁:http://download.csdn.net/detail/u010587433/8327499

解压后,将其复制到clusterware的bin目录下,覆盖原来文件即可(所有节点都要做)

[root@rh55db2 soft]# unzip p4679769_10201_Linux-x86-64.zip 
[root@rh55db2 soft]# cd 4679769/
[root@rh55db2 4679769]# ll
总计 684
-rw-r--r-- 1 oracle oinstall 687320 2005-11-09 clsfmt.bin
-rw-rw-r-- 1 oracle oinstall   4266 2005-11-09 README.txt
[root@rh55db2 4679769]# cp clsfmt.bin /u01/app/crs/bin/
说明:

一、如果还没有执行root.sh脚本,则做如下操作(所有节点都要做)

</pre><pre name="code" class="sql">1.按照上述方式修复bug
2.vi /u01/app/crs/bin/srvctl,添加unset LD_ASSUE_KERNEL
#Remove this workaround when the bug 3937317 is fixed
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
unset LD_ASSUME_KERNEL
3.vi /u01/app/crs/bin/vipca,添加unset LD_ASSUE_KERNEL
       if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
       then
            LD_ASSUME_KERNEL=2.4.19
            export LD_ASSUME_KERNEL
       fi
       unset LD_ASSUME_KERNEL
4.然后再执行脚本

二、如果已经执行root.sh脚本,并报错,则做如下操作(除清共享盘在一个节点,其它操作所有节点都要做)

<pre name="code" class="sql">1.按照上述方式修复bug
2.vi /u01/app/crs/bin/srvctl,添加unset LD_ASSUE_KERNEL
#Remove this workaround when the bug 3937317 is fixed
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
unset LD_ASSUME_KERNEL
3.vi /u01/app/crs/bin/vipca,添加unset LD_ASSUE_KERNEL
       if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
       then
            LD_ASSUME_KERNEL=2.4.19
            export LD_ASSUME_KERNEL
       fi
            unset LD_ASSUME_KERNEL
4.清空ocr盘:dd if=/dev/zero of=/dev/raw/raw1 bs=1024k count=120,最好也清一下vote disk盘。
5.rm -rf /etc/oracle/scls_scr/rh55db1/oracle/cssfatal
不做此操作,重新执行
Oracle CRS stack is already configured and will be running under init(1M)
参考:http://blog.csdn.net/tianlesoftware/article/details/5314804
6.重新执行脚本即可

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

上海阿丽

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值