powerlinux下安装10grac(三)

安装好ibm的包,就往下走了,到第二个节点复制完成的时候,还是报了个错,就是因为操作系统不支持的错,手工执行下脚步,继续往下走。
开始执行root.sh.
报错,说是selinux没有改。修改/etc/下面一个文件,然后重新启动。
重新安装,到执行root.sh的时候还是报错,参考网上这个信息,下载了补丁

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

报错具体信息如下:

[root@rac11 ~]# /u01/app/oracle/product/10.2.0/crshome_1/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
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

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

[root@rac11 ~]# more /u01/app/oracle/product/10.2.0/crshome_1/log/rac11/client/ocrconfig_11282.log
Oracle 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 data
2012-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 OCR
2012-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/raw1
clsfmt: Received unexpected error 4 from skgfifi
skgfifi: Additional information: -2
Additional information: -2147483648

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



替换完成后往前走了一步,但是还是报错。
信息如下
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2014-11-07 19:27:54.810: [ OCRCONF][1951239456]ocrconfig starts...
2014-11-07 19:27:54.810: [ OCRCONF][1951239456]Upgrading OCR data
2014-11-07 19:27:54.970: [  OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.971: [  OCRRAW][1951239456]ibctx:1:ERROR: INVALID FORMAT
2014-11-07 19:27:54.971: [  OCRRAW][1951239456]proprinit:problem reading the bootblock or superbloc 22


2014-11-07 19:27:54.971: [ default][1951239456]a_init:7!: Backend init unsuccessful : [22]
2014-11-07 19:27:54.971: [ OCRCONF][1951239456]Exporting OCR data to [OCRUPGRADEFILE]
2014-11-07 19:27:54.971: [  OCRAPI][1951239456]a_init:7!: Backend init unsuccessful : [33]
2014-11-07 19:27:54.971: [ OCRCONF][1951239456]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2014-11-07 19:27:54.976: [  OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.976: [  OCRRAW][1951239456]ibctx:1:ERROR: INVALID FORMAT
2014-11-07 19:27:54.976: [  OCRRAW][1951239456]proprinit:problem reading the bootblock or superbloc 22


2014-11-07 19:27:54.977: [ default][1951239456]a_init:7!: Backend init unsuccessful : [22]
2014-11-07 19:27:54.981: [  OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.982: [  OCRRAW][1951239456]ibctx:1:ERROR: INVALID FORMAT
2014-11-07 19:27:54.982: [  OCRRAW][1951239456]proprinit:problem reading the bootblock or superbloc 22


2014-11-07 19:27:54.987: [  OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.997: [  OCRRAW][1951239456]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [2/2]
2014-11-07 19:27:55.005: [  OCRRAW][1951239456]propriniconfig:No 92 configuration
2014-11-07 19:27:55.005: [  OCRAPI][1951239456]a_init:6a: Backend init successful
2014-11-07 19:27:55.031: [ OCRCONF][1951239456]Initialized DATABASE keys in OCR
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]csetskgfrblock0: clsfmt returned with error [1].
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]Failure in setting block0 [-1]
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]OCR block 0 is not set !
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]Exiting [status=failed]...
[root@db2 client]# 

一时无法解决,来日再说

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13337857/viewspace-1326483/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/13337857/viewspace-1326483/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值