本space主要想聚合Oralce技术专家的随笔和技术文章,另外整理和收集Oracle经典技术文章。

【流云】Solaris安装RAC运行root.sh失败解决一例

上一篇 / 下一篇  2008-07-22 22:42:32

前段时间一个朋友在安装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。

http://rdc.taobao.com/blog/dba/html/193_solaris_rac_install_issu.html/trackback


TAG: rac solaris

引用 删除 macer   /   2008-08-01 17:34:32
好文章呀
 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-10-11  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 21677
  • 日志数: 226
  • 建立时间: 2008-03-25
  • 更新时间: 2008-10-01

RSS订阅

Open Toolbar