RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
Oracle10gRAC运行root.sh时报错怎么办

本篇内容主要讲解“Oracle10g RAC运行root.sh时报错怎么办”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Oracle10g RAC运行root.sh时报错怎么办”吧!

成都创新互联成都网站建设按需求定制网站,是成都网站建设公司,为成都电动窗帘提供网站建设服务,有成熟的网站定制合作流程,提供网站定制设计服务:原型图制作、网站创意设计、前端HTML5制作、后台程序开发等。成都网站营销推广热线:18982081108

这种情况下配置有些注意事项。 否则会在执行root.sh命令的时候,报错:

 

[root@rac1 init.d]# /u01/app/oracle/product/crs/root.sh

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

PROT-1: Failed to initialize ocrconfig

Failed to upgrade Oracle Cluster Registry configuration

 

一般出现这个问题的原因有几种:

 

(1) Bug

       这种情况参考:

       Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1]

 

(2) raw 设备的权限问题

crwxrwxr-x 1 oracle oinstall 162, 4 Aug 22 11:19 raw4
crwxrwxr-x 1 oracle oinstall 162, 3 Aug 22 11:19 raw3
crw-r----- 1 root   oinstall 162, 1 Aug 22 14:53 raw1
crw-r--r-- 1 oracle oinstall 162, 2 Aug 22 14:55 raw2

      

权限要设置成如下:

chown root.oinstall /dev/raw/raw[1-2]
chown oracle.oinstall /dev/raw/raw[3-5]


chmod 775 /dev/raw/raw[1-2] 
chmod 775 /dev/raw/raw[3-5]

 

可以在udev的规则里设置, 也可以把权限添加到/etc/rc.d/rc.local  中。

 

(3) raw 设备读写问题

本次遇到的问题主要是因为bug引起(p4679769)
下载该patch后,将文件覆盖crs/bin目录下的clsfmt.bin文件
清空ocr、voting disk的raw,再次运行./root.sh后恢复正常

到此,相信大家对“Oracle10g RAC运行root.sh时报错怎么办”有了更深的了解,不妨来实际操作一番吧!这里是创新互联网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!


新闻名称:Oracle10gRAC运行root.sh时报错怎么办
文章分享:http://scyingshan.cn/article/jpjiji.html