安装oracle10g rac时在另一节点执行root.sh报PROT-1: Failed to initialize ocrconfig

[复制链接]
查看11 | 回复2 | 2013-2-25 14:51:24 | 显示全部楼层 |阅读模式
本帖最后由 莫不言 于 2013-3-26 19:11 编辑
在第一个节点执行没有问题,在另一节点执行的时候报错.求解
# /oracle/oraInventory/orainstRoot.sh
Changing permissions of /oracle/oraInventory to 775.
Changing groupname of /oracle/oraInventory to oinstall.
The execution of the script is complete
# /oracle/product/10.2.0/crs/root.sh
WARNING: directory '/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/product' is not owned by root
WARNING: directory '/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
# ls -la /dev/ocr1
crw-r-----1 root oinstall 13,3 Mar 26 14:16 /dev/ocr1
# ls -la /dev/rhdisk*
crw-------2 root system 13,1 Mar 25 02:36 /dev/rhdisk0
crw-------1 root system 13,2 Mar 25 02:36 /dev/rhdisk1
crw-r-----1 root oinstall 13,4 Mar 25 06:30 /dev/rhdisk2
crw-rw----1 oracle oinstall 13,3 Mar 25 06:30 /dev/rhdisk3
crw-rw----1 oracle oinstall 13,8 Mar 25 06:30 /dev/rhdisk4
crw-r--r--1 oracle oinstall 13,7 Mar 25 06:30 /dev/rhdisk5
crw-rw----1 oracle oinstall 13,6 Mar 25 06:30 /dev/rhdisk6
crw-rw----1 oracle oinstall 13,5 Mar 25 06:30 /dev/rhdisk7
crw-r--r--1 oracle oinstall 13,9 Mar 25 07:17 /dev/rhdisk8
查看节点2安装日志
# tail -f alert3r-lpar1.log
2013-03-26 18:59:21.383
[client(6094980)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6094980.log.
2013-03-26 18:59:21.440
[client(6094980)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6094980.log.
2013-03-26 19:00:33.782
[client(6619334)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6619334.log.
2013-03-26 19:00:33.839
[client(6619334)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6619334.log.
2013-03-26 19:00:33.896
[client(6619334)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6619334.log

# tail ocrconfig_6619334.log
2013-03-26 19:00:33.839: [OCRRAW][1]propriogid:1: INVALID FORMAT
2013-03-26 19:00:33.839: [OCRRAW][1]proprioini: disk 0 (/dev/rhdisk2) doesn't have enough votes (1,2)
2013-03-26 19:00:33.839: [OCRRAW][1]proprinit: Could not open raw device
2013-03-26 19:00:33.840: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2013-03-26 19:00:33.896: [OCRRAW][1]propriogid:1: INVALID FORMAT
2013-03-26 19:00:33.896: [OCRRAW][1]proprioini: disk 0 (/dev/rhdisk2) doesn't have enough votes (1,2)
2013-03-26 19:00:33.896: [OCRRAW][1]proprinit: Could not open raw device
2013-03-26 19:00:33.896: [OCRAPI][1]a_init:6b!: Backend init unsuccessful : [26]
2013-03-26 19:00:33.896: [ OCRCONF][1]Failed to initialized OCR context. error:[PROC-26: Error while accessing the physical storage]
2013-03-26 19:00:33.896: [ OCRCONF][1]Exiting [status=failed]...
# .


回复

使用道具 举报

千问 | 2013-2-25 14:51:24 | 显示全部楼层


大家帮我看看吧..现在还在机房里呢
回复

使用道具 举报

千问 | 2013-2-25 14:51:24 | 显示全部楼层
你是不是在节点2上以前已经跑过一次root脚本了,然后没成功,然后又跑的话就会报错了。 解决方法,把2节点的安装及配置删干净重新跑root脚本,我以前是这么干的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行