Oracle Study之--Oracle 11gR2 RAC crs启动故障(CRS-4000)

Oracle Study之--Oracle 11gR2 RAC crs启动故障(CRS-4000)


系统环境:

    操作系统:RedHat EL5

    Cluster:  Oracle 11gR2 Grid

    Oracle:   Oracle 11gR2 

在启动一个node的CRS时出现以下错误错误现象:

[root@node1 ~]# crsctl start crs  
Failure at scls_scr_getval with code 1  
Internal Error information:   
  Category: -2  
 Operation: opendir  
  Location: scrsearch2  
  Other: cant open scr home dir scls_scr_getval  
  System Dependent information: 2  
CRS-4000: Command Start Failed, or completed with errors.

查看错误原因:

1、主机名

[root@node1 node1]# hostname
node1

2、查看hosts文件

[root@node1 node1]# cat /etc/hosts# Do not remove the following line, or varIoUs programs# that require network functionality will fail.

  1. 127.0.0.1        localhost  
    ::1             localhost6.localdomain6 localhost6  
    192.168.8.21    wqy1  
    10.10.10.101    wqy1-priv  
    192.168.8.23  wqy1-vip  
      
    192.168.8.22    wqy2  
    10.10.10.102    wqy2-priv  
    192.168.8.24  wqy2-vip  
      
    192.168.8.25  rac-scan  
      
    192.168.8.26    wqy3  
    10.10.10.103    wqy3-priv  
    192.168.8.27  wqy3-vip

从以上可以了解,主机名应该为wqy1,应该是主机名错误,导致CRS启动失败!

3、重新修改主机名

[root@node1 node1]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=wqy1

[root@node1 node1]# hostname wqy1

4、重新启动CRS service

[root@wqy1 ~]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.


[root@wqy1 ~]# crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

---至此,问题得以解决

相关文章

这篇文章主要介绍“hive和mysql的区别是什么”,在日常操作中...
这篇“MySQL数据库如何改名”文章的知识点大部分人都不太理解...
这篇文章主要介绍“mysql版本查询命令是什么”的相关知识,小...
本篇内容介绍了“mysql怎么修改字段的内容”的有关知识,在实...
这篇文章主要讲解了“mysql怎么删除unique约束”,文中的讲解...
今天小编给大家分享一下mysql怎么查询不为空的字段的相关知识...