Oracle 11g RAC执行root.sh时遭遇CRS-0184/PRCR-1070问题(二)

2014-11-24 14:40:40 · 作者: · 浏览: 3
看grid的主日志,也就是alert_nodename部分的描述 [root@linux1 linux1]# tail -100 alertlinux1.log | more 2013-07-16 16:27:13.688 [crsd(3913)]CRS-1201:CRSD started on node linux1. 2013-07-16 16:27:14.338 [/u01/app/11.2.0/grid/bin/oraagent.bin(3993)]CRS-5823:Could not initialize agent framework. Details at (:CRSAGF00120:) in /u01/app/11.2.0/grid/log/linux1/agent/crsd/oraagent_grid/oraagent_grid.log. 2013-07-16 16:27:14.932 [ohasd(2748)]CRS-2765:Resource 'ora.crsd' has failed on server 'linux1'. # Meatlink [ID 1230899.1] 有关于该问题的描述,就是需要添加localhost到hosts文件 # Author : Robinson

3、解决故障
[python] 
#查看本地的hosts文件,下面是更改后的hosts配置文件  
[root@linux1 bin]# more /etc/hosts | grep 127.0  
#127.0.0.1              linux1.orasrv.com linux1 localhost.localdomain localhost  #这个是安装OS时自动生成的  
#127.0.0.1               linux1.orasrv.com linux1          #这个是安装rac之前配置的,看来这个写法有问题,一定要写localhost  
127.0.0.1  localhost.orasrv.com localhost                  #添加一个新的关于localhost的解析entry  
  
#尝试启动crs  
[root@linux1 bin]# ./crsctl start res ora.crsd -init  
CRS-2672: Attempting to start 'ora.crsd' on 'linux1'  
CRS-2676: Start of 'ora.crsd' on 'linux1' succeeded  
  
#crs成功启动  
[root@linux1 bin]# ./crsctl check cluster  
CRS-4537: Cluster Ready Services is online  
CRS-4529: Cluster Synchronization Services is online  
CRS-4533: Event Manager is online  
  
[root@linux1 bin]# ./crsctl stat res -t -init  
--------------------------------------------------------------------------------  
NAME           TARGET  STATE        SERVER                   STATE_DETAILS         
--------------------------------------------------------------------------------  
Cluster Resources  
--------------------------------------------------------------------------------  
ora.asm  
      1        ONLINE  ONLINE       linux1                   Started               
ora.crsd  
      1        ONLINE  ONLINE       linux1                                         
ora.cssd  
      1        ONLINE  ONLINE       linux1                                         
ora.cssdmonitor  
      1        ONLINE  ONLINE       linux1                                         
ora.ctssd  
      1        ONLINE  ONLINE       linux1                   ACTIVE:0              
ora.diskmon  
      1        ONLINE  ONLINE       linux1                                         
ora.drivers.acfs  
      1        ONLINE  ONLINE       linux1                                         
ora.evmd  
      1        ONLINE  ONLINE       linux1                                         
ora.gipcd  
      1        ONLINE  ONLINE       linux1                                         
ora.gpnpd  
      1        ONLINE  ONLINE       linux1                                         
ora.mdnsd  
      1        ONLINE  ONLINE       linux1