分类: Oracle
2011-05-25 15:58:22
今天不小心重新启动了机器,导致用vmware做的2node redhat 4AS的 其中一起机器重启后运行crs_stat -t时出现
CRS-0184: Cannot communicate with the CRS daemon错误。
使用$ORA_CRS_HOME/bin/crsctl stop crs和$ORA_CRS_HOME/bin/crsctl start crs后,仍然不起作用,查看$ORA_CRS_HOME/log/rac1/crsd/crsd.log发现:
2009-09-04 03:11:29.256: [ CRSEVT][3676748720]0CAAMonitorHandler :: 0:Could not join /u01/app/oracle/product/10.2.0/crs_1/bin/racgwrap(check)
category: 1234, operation: scls_process_join, loc: childcrash, OS error: 0, other: Abnormal termination of the child
2009-09-04 03:11:29.261: [ CRSEVT][3676748720]0CAAMonitorHandler :: 0:Action Script. /u01/app/oracle/product/10.2.0/crs_1/bin/racgwrap(check) timed out for ora.rac1.vip! (timeout=60)
2009-09-04 03:11:29.263: [ CRSAPP][3676748720]0CheckResource error for ora.rac1.vip error code = -2
2009-09-04 03:11:32.414: [ CRSRES][3623582640]0rac1 : CRS-1019: Resource ora.test.test2.inst (application) cannot run on rac1
2009-09-04 03:11:34.534: [ CRSRES][3676748720]0startRunnable: setting CLI values
2009-09-04 03:11:34.584: [ CRSRES][3676748720]0Attempting to start `ora.test.test1.inst` on member `rac1`
2009-09-04 03:11:35.692: [ CRSEVT][3740548016]0CAAMonitorHandler :: 0:Could not join /u01/app/oracle/product/10.2.0/crs_1/bin/racgwrap(start)
category: 1234, operation: scls_process_join, loc: childcrash, OS error: 0, other: Abnormal termination of the child
2009-09-04 03:11:35.691: [ CRSEVT][3740548016]0CAAMonitorHandler :: 0:Action Script. /u01/app/oracle/product/10.2.0/crs_1/bin/racgwrap(start) timed out for ora.rac2.vip! (timeout=60)
2009-09-04 03:11:35.693: [ CRSAPP][3740548016]0StartResource error for ora.rac2.vip error code = -2
2009-09-04 03:12:09.148: [ CRSRES][3751037872]0Start of `ora.rac1.gsd` on member `rac1` succeeded.
2009-09-04 03:12:38.965: [ CRSEVT][3740548016]0CAAMonitorHandler :: 0:Could not join /u01/app/oracle/product/10.2.0/crs_1/bin/racgwrap(stop)
category: 1234, operation: scls_process_join, loc: childcrash, OS error: 0, other: Abnormal termination of the child
2009-09-04 03:12:38.971: [ CRSEVT][3740548016]0CAAMonitorHandler :: 0:Action Script. /u01/app/oracle/product/10.2.0/crs_1/bin/racgwrap(stop) timed out for ora.rac2.vip! (timeout=60)
2009-09-04 03:12:38.972: [ CRSAPP][3740548016]0StopResource error for ora.rac2.vip error code = -2
2009-09-04 03:12:39.005: [ CRSRES][3740548016]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1803
2009-09-04 03:12:39.005: [ CRSRES][3740548016][ALERT]0`ora.rac2.vip` on member `rac1` has experienced an unrecoverable failure.
2009-09-04 03:12:39.007: [ CRSRES][3740548016]0Human intervention required to resume its availability.
2009-09-04 03:12:39.345: [ CRSRES][3740548016]0CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.rac2.vip'
后到上搜索了一下,还真有解决办法:
the reason why it was unable to start was that each time reboots it creates a socket at /tmp/.oracle or /var/tmp/.oracle directory .
Also if there are previously existing sockets they cannot be reused or deleted automatically from this directory .oracle.
Therefore the solution to above problem was obtained by deleting all the files ins
the reason why it was unable to start was that each time server reboots it creates a socket at /tmp/.oracle or /var/tmp/.oracle directory .
Also if there are previously existing sockets they cannot be reused or deleted automatically from this directory .oracle.
Therefore the solution to above problem was obtained by deleting all the files inside .oracle directoery in /var/tmp or /tmp.
ide .oracle directoery in /var/tmp or /tmp.
然后重新启动机器就可以了。