红联Linux门户
Linux帮助

Solaris安装RAC运行root.sh失败解决一例

发布时间:2008-07-24 00:08:05来源:红联作者:Ailone
前段时间一个朋友在安装Solaris上的RAC时,安装clusterware最后一步运行root.sh总是无法成功,报如下的错:
# ./root.sh WARNING: directory ‘/oracle/product/10.2′ 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
Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configuration r
看了一下crs的alert日志:
2008-07-01 23:51:53.642 [client(2216)]CRS-1006:The OCR location /oracle/OCR_A is inaccessible. Details i n /oracle/product/10.2/cluster/log/db1/client/ocrconfig_2216.log. 2008-07-01 23:51:53.807 [client(2216)]CRS-1001:The OCR was formatted using version 2.
细看/oracle/product/10.2/cluster/log/db1/client/ocrconfig_2216.log:
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracl e. All rights reserved. 2008-07-01 23:51:53.612: [ OCRCONF][1]ocrconfig starts… 2008-07-01 23:51:53.612: [ OCRCONF][1]Upgrading OCR data 2008-07-01 23:51:53.630: [ OCRRAW][1]propriogid:1: INVALID FORMAT 2008-07-01 23:51:53.631: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT 2008-07-01 23:51:53.631: [ OCRRAW][1]propri
发现在格式化OCR的盘时出错。第一个反应是?设备权限的问题,折腾几次后发现这个并不存在问题。最终定位到问题是由于ocr和voting disk对应的?设备用了cylinder 0,而Solaris上?设备的cylinder 0是要预留给系统使用的,因此才会导致格式化OCR失败。解决办法便是重建OCR和VOTING DISK对应的?设备,跳过CYLINDER 0。
文章评论

共有 0 条评论