Oracle11g CRS-0184問題解決

來源:互聯網
上載者:User

Oracle11g CRS-0184問題解決

[grid@rac3 cssd]$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

[grid@rac3 cssd]$ crsctl check has
CRS-4638: Oracle High Availability Services is online
[grid@rac3 cssd]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4530: Communications failure contacting Cluster Synchronization Services daemon
CRS-4533: Event Manager is online

查看crsd日誌發現:

[grid@rac3 crsd]$ tail -f crsd.log

2014-03-26 20:55:20.743: [    GPnP][2026358512]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=4298, tl=3, f=0
2014-03-26 20:55:20.773: [  OCRAPI][2026358512]clsu_get_private_ip_addresses: no ip addresses found.
2014-03-26 20:55:20.773: [GIPCXCPT][2026358512] gipcShutdownF: skipping shutdown, count 2, from [ clsinet.c : 1732], ret gipcretSuccess (0)
2014-03-26 20:55:20.777: [GIPCXCPT][2026358512] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021], ret gipcretSuccess (0)
[  OCRAPI][2026358512]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2014-03-26 20:55:20.782: [  OCRAPI][2026358512]a_init:13!: Clusterware init unsuccessful : [44]
2014-03-26 20:55:20.783: [  CRSOCR][2026358512] OCR context init failure.  Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2014-03-26 20:55:20.783: [    CRSD][2026358512][PANIC] CRSD exiting: Could not init OCR, code: 44
2014-03-26 20:55:20.783: [    CRSD][2026358512] Done.

擷取priv-ip失敗,於是查看rac3上的priv-ip網卡是否啟用,發現沒有啟用

eth0是隨著開機自動啟用的,eth1(priv-ip)卻沒有啟用

[root@rac3 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.1.255
HWADDR=08:00:27:43:21:03
IPADDR=192.168.1.179
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
GATEWAY=192.168.1.1
TYPE=Ethernet
[root@rac3 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=none
BROADCAST=172.168.1.255
HWADDR=08:00:27:0C:A7:DE
IPADDR=172.168.1.193
NETMASK=255.255.255.0
NETWORK=172.168.1.0
ONBOOT=no    --no不會開機啟用,改為yes
HOTPLUG=no
TYPE=Ethernet

重啟rac3後一切正常。

[grid@rac3 ~]$ crs_stat -t
Name          Type          Target    State    Host       
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    11grac1   
ora....C1.lsnr application    ONLINE    ONLINE    11grac1   
ora....ac1.gsd application    OFFLINE  OFFLINE             
ora....ac1.ons application    ONLINE    ONLINE    11grac1   
ora....ac1.vip ora....t1.type ONLINE    ONLINE    11grac1   
ora....SM2.asm application    ONLINE    ONLINE    11grac2   
ora....C2.lsnr application    ONLINE    ONLINE    11grac2   
ora....ac2.gsd application    OFFLINE  OFFLINE             
ora....ac2.ons application    ONLINE    ONLINE    11grac2   
ora....ac2.vip ora....t1.type ONLINE    ONLINE    11grac2   
ora....P_DG.dg ora....up.type OFFLINE  OFFLINE             
ora.DATA_DG.dg ora....up.type OFFLINE  OFFLINE             
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac3       
ora....ER.lsnr ora....er.type ONLINE    ONLINE    11grac1   
ora.SYS_DG.dg  ora....up.type ONLINE    ONLINE    11grac1   
ora.asm        ora.asm.type  ONLINE    ONLINE    11grac1   
ora.db.db      ora....se.type OFFLINE  OFFLINE             
ora.eons      ora.eons.type  ONLINE    ONLINE    11grac1   
ora.gsd        ora.gsd.type  OFFLINE  OFFLINE             
ora....network ora....rk.type ONLINE    ONLINE    11grac1   
ora.oc4j      ora.oc4j.type  OFFLINE  OFFLINE             
ora.ons        ora.ons.type  ONLINE    ONLINE    11grac1   
ora....SM3.asm application    ONLINE    ONLINE    rac3       
ora....C3.lsnr application    ONLINE    ONLINE    rac3       
ora.rac3.gsd  application    OFFLINE  OFFLINE             
ora.rac3.ons  application    ONLINE    ONLINE    rac3       
ora.rac3.vip  ora....t1.type ONLINE    ONLINE    rac3       
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac3 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.