RedHat 4 RAC 安装crs的一个小问题
2010-11-25 12:40
183 查看
RedHat 4 RAC 安装crs的一个小问题(裸设备-ocfs 同)
6month | 06 十二月, 2008 09:15故障描述如下,出现在第一次安装crs失败,再次安装时,失败后做了如下处理:
rm -f /etc/init.d/init.cssd
rm -f /etc/init.d/init.crs
rm -f /etc/init.d/init.crsd
rm -f /etc/init.d/init.evmd
find /etc -name '*init.crs*' -exec rm {} ;
rm -f /etc/inittab.crs
/etc/inittab 去除文件末尾crs部分
重启
rm -rf /u01/app/oracle/oraInventory -
rm -rf oracle 目录 或者./runInstaller 删除安装组件
rm -rf /etc/oracle/
rm -rf /etc/ora*
rm -rf <CRS安装目录>
rm -rf /tmp/*
rm -rf /var/tmp/*
还有/etc/inittab中对应的条目去处,在最后边,
rm -rf /etc/oracle
完
再次安装时执行到root.sh
后报错,
[root@Red2 ~]# /opt/ora10g/oraInventory/orainstRoot.sh
Changing permissions of /opt/ora10g/oraInventory to 770.
Changing groupname of /opt/ora10g/oraInventory to oinstall.
The execution of the script is complete
[root@Red2 ~]# /opt/ora10g/product/10.2.0/crs_1/root.sh
WARNING: directory '/opt/ora10g/product/10.2.0' is not owned by root
WARNING: directory '/opt/ora10g/product' is not owned by root
WARNING: directory '/opt/ora10g' 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
Failed to upgrade Oracle Cluster Registry configuration
解决方法1:ocfs
dd if=/dev/zero of=/dev/voting(设备名称) bs=8192 count=2560
dd if=/dev/zero of=/dev/ocr(设备名称)bs=8192 count=12800
解决方法2:裸设备
dd if=/dev/zero of=/dev/sdb1 bs=8192 count=2000
dd if=/dev/zero of=/dev/sdc1 bs=8192 count=2000
原理相同,注意在第一个节点上报错后,就不要在第二个节点上也执行root.sh 了,马上执行上述步骤修复,因为crs是很麻烦的,如果两个节点都执行晚了,再修复恐要重新安装crs了,那可是麻烦的很了,不果我没试过,有兴趣可以一试,呵呵。
-----另一个问题,比较小,细心点就不会犯了,呵!
Creating VIP application resource on (2) nodes...
Creating GSD application resource on (2) nodes...
Creating ONS application resource on (2) nodes...
Starting VIP application resource on (2) nodes...
Starting GSD application resource on (2) nodes...
Starting ONS application resource on (2) nodes.1:CRS-0215: Could not start resource 'ora.red2.ons'.
Check the log file "/opt/ora10g/product/10.2.0/crs_1/log/red2/racg/ora.red2.ons.log" for more details
查看detail:
cat ora.red2.ons.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
2008-12-06 05:15:47.281: [ RACG][3086908160] [10881][3086908160][ora.red2.ons]: Failed to get IP for localhost (2)
Failed to get IP for localhost (2)
Failed to get IP for localhost (2)
onsctl: ons failed to start
。。。。后边略,可见是ip问题
查host 结果red2的少了 127.0.0.1 倒!
引用地址:http://6month.itpub.net/
相关文章推荐
- GI/CRS静默安装时的一个问题
- RedHat EL5 安装Oracle 10g RAC之--CRS 安装
- RedHat EL5 安装Oracle 10g RAC之--CRS 安装
- 安装11G R2 RAC的一个问题
- 关于安装linux redhat后无法使用yum命令安装gcc-c++问题的解决过程
- 解决新安装的redhat不能链接wifi的问题
- Linux RedHat无法安装软件问题(No package gcc available. Nothing to do)
- 解决一个以前写的VB程序的安装问题
- 在Redhat 5.5上安装oracle 11g R2的一些问题(二)
- VMware Linux安装RAC出现Failure at final check of Oracle CRS stack 10的解决
- vmware安装redhat 6.0初次启动网卡无法启动问题
- 在Ubuntu下安装SAP GUI碰到的一个笨问题
- CTEX安装中的一个问题的解决
- Redhat 5.4 + ASM + RAW+ Oracle 10g RAC 安装文档
- vmware server 1.0 redhat5.4 Oracle 10G RAC 安装文档!
- Redhat安装Mplayer问题汇总
- redhat 下 oracle 10G RAC 集群 详细安装
- 在RedHat AS 4下安装Oracle 10G RAC遇到的问题集
- RAC crs 卸载后,再次安装Oracle, crs 目录还存在的问题
- 更新CentOS安装gcc遇到的一个问题