RAC解决单节点报 CRS-4047: No Oracle Clusterware components configured.

 

[root@his2 bin]# ./crsctl check crs  检查服务状态
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Check failed, or completed with errors.
[root@his2 bin]# ./crsctl stat res -t
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Status failed, or completed with errors.
[root@his2 bin]# ./crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force 重置crs注册表
Using configuration parameter file: /app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Network exists: 1/192.168.20.0/255.255.255.0/eth0, type static
VIP exists: /his1-vip/192.168.20.6/192.168.20.0/255.255.255.0/eth0, hosting node his1
VIP exists: /his2-vip/192.168.20.7/192.168.20.0/255.255.255.0/eth0, hosting node his2
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
ACFS-9200: Supported
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'his2'
CRS-2677: Stop of 'ora.registry.acfs' on 'his2' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'his2'
CRS-2673: Attempting to stop 'ora.crsd' on 'his2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'his2'
CRS-2673: Attempting to stop 'ora.ORACRS.dg' on 'his2'
CRS-2673: Attempting to stop 'ora.crds3db.db' on 'his2'
CRS-2677: Stop of 'ora.ORACRS.dg' on 'his2' succeeded
CRS-2677: Stop of 'ora.crds3db.db' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.ORAARCH.dg' on 'his2'
CRS-2673: Attempting to stop 'ora.ORADATA.dg' on 'his2'
CRS-2677: Stop of 'ora.ORAARCH.dg' on 'his2' succeeded
CRS-2677: Stop of 'ora.ORADATA.dg' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'his2'
CRS-2677: Stop of 'ora.asm' on 'his2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'his2' has completed
CRS-2677: Stop of 'ora.crsd' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'his2'
CRS-2673: Attempting to stop 'ora.evmd' on 'his2'
CRS-2673: Attempting to stop 'ora.asm' on 'his2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'his2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'his2'
CRS-2677: Stop of 'ora.asm' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'his2'
CRS-2677: Stop of 'ora.evmd' on 'his2' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'his2' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'his2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'his2'
CRS-2677: Stop of 'ora.cssd' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'his2'
CRS-2673: Attempting to stop 'ora.crf' on 'his2'
CRS-2677: Stop of 'ora.diskmon' on 'his2' succeeded
CRS-2677: Stop of 'ora.crf' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'his2'
CRS-2677: Stop of 'ora.drivers.acfs' on 'his2' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'his2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'his2'
CRS-2677: Stop of 'ora.gpnpd' on 'his2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'his2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node
[root@his1 ~]# su - grid
[grid@his1 ~]$ crs_stat -t         在节点1上面只能看到节点1的服务这说明节点2有问题了
Name           Type           Target    State     Host       
------------------------------------------------------------
ora....ER.lsnr ora....er.type ONLINE    ONLINE    his1       
ora....N1.lsnr ora....er.type ONLINE    ONLINE    his1       
ora.ORAARCH.dg ora....up.type ONLINE    ONLINE    his1       
ora.ORACRS.dg  ora....up.type ONLINE    ONLINE    his1       
ora.ORADATA.dg ora....up.type ONLINE    ONLINE    his1       
ora.asm        ora.asm.type   ONLINE    ONLINE    his1       
ora.crds3db.db ora....se.type ONLINE    ONLINE    his1       
ora.cvu        ora.cvu.type   ONLINE    ONLINE    his1       
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE              
ora....SM1.asm application    ONLINE    ONLINE    his1       
ora....S1.lsnr application    ONLINE    ONLINE    his1       
ora.his1.gsd   application    OFFLINE   OFFLINE              
ora.his1.ons   application    ONLINE    ONLINE    his1       
ora.his1.vip   ora....t1.type ONLINE    ONLINE    his1       
ora....network ora....rk.type ONLINE    ONLINE    his1       
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    his1       
ora.ons        ora.ons.type   ONLINE    ONLINE    his1       
ora....ry.acfs ora....fs.type ONLINE    ONLINE    his1       
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    his1       

[grid@his1 ~]$ crsctl stat res -t        在1节点上面只能看到1资源说明节点2有问题了
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
               ONLINE  ONLINE       his1                                        
ora.ORAARCH.dg
               ONLINE  ONLINE       his1                                        
ora.ORACRS.dg
               ONLINE  ONLINE       his1                                        
ora.ORADATA.dg
               ONLINE  ONLINE       his1                                        
ora.asm
               ONLINE  ONLINE       his1                     Started            
ora.gsd
               OFFLINE OFFLINE      his1                                        
ora.net1.network
               ONLINE  ONLINE       his1                                        
ora.ons
               ONLINE  ONLINE       his1                                        
ora.registry.acfs
               ONLINE  ONLINE       his1                                        
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       his1                                        
ora.crds3db.db
      1        ONLINE  ONLINE       his1                     Open               
      2        ONLINE  OFFLINE                               Instance Shutdown  
ora.cvu
      1        ONLINE  ONLINE       his1                                        
ora.his1.vip
      1        ONLINE  ONLINE       his1                                        
ora.oc4j
      1        ONLINE  ONLINE       his1                                        
ora.scan1.vip
      1        ONLINE  ONLINE       his1                 

[root@his2 bin]# /app/grid/product/11.2.0/grid/root.sh   执行roo.sh重新配置集群所有服务
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /app/grid/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /app/grid/product/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
Adding daemon to inittab
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node his1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded  

[root@his2 bin]# ./crsctl stat res -t    看结果已经恢复正常
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
               ONLINE  ONLINE       his1                                        
               ONLINE  ONLINE       his2                                        
ora.ORAARCH.dg
               ONLINE  ONLINE       his1                                        
               ONLINE  ONLINE       his2                                        
ora.ORACRS.dg
               ONLINE  ONLINE       his1                                        
               ONLINE  ONLINE       his2                                        
ora.ORADATA.dg
               ONLINE  ONLINE       his1                                        
               ONLINE  ONLINE       his2                                        
ora.asm
               ONLINE  ONLINE       his1                     Started            
               ONLINE  ONLINE       his2                                        
ora.gsd
               OFFLINE OFFLINE      his1                                        
               OFFLINE OFFLINE      his2                                        
ora.net1.network
               ONLINE  ONLINE       his1                                        
               ONLINE  ONLINE       his2                                        
ora.ons
               ONLINE  ONLINE       his1                                        
               ONLINE  ONLINE       his2                                        
ora.registry.acfs
               ONLINE  ONLINE       his1                                        
               ONLINE  ONLINE       his2                                        
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       his1                                        
ora.crds3db.db
      1        ONLINE  ONLINE       his1                     Open               
      2        ONLINE  ONLINE       his2                     Open               
ora.cvu
      1        ONLINE  ONLINE       his1                                        
ora.his1.vip
      1        ONLINE  ONLINE       his1                                        
ora.his2.vip
      1        ONLINE  ONLINE       his2                                        
ora.oc4j
      1        ONLINE  ONLINE       his1                                        
ora.scan1.vip
      1        ONLINE  ONLINE       his1            
-----------------------------------------------------------end--------------------------------------------------------
转载时候提示原作者或者以路径连接方式        请您尊重笔记
技术群:132304250

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29065182/viewspace-1070754/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29065182/viewspace-1070754/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值