ITPub博客

首页 > 数据库 > Oracle > CRS-0215: Could not start resource 'ora.rac.rac2.inst'.

CRS-0215: Could not start resource 'ora.rac.rac2.inst'.

原创 Oracle 作者:apporacle 时间:2015-05-06 21:04:24 0 删除 编辑
问题说明

    OS : AIX 6.1
    DB : Oracle 10.2.0.5
    在双节点10gR2 RAC,硬件维护其中的节点2,重启节点2后,节点2的实例无法启动
    rac2:/home/oracle$ srvctl start instance -d rac -i rac2      
    PRKP-1001 : Error starting instance rac2 on node rac2
    CRS-0215: Could not start resource 'ora.rac.rac2.inst'.

问题分析
    
    检查db的alert日志,发现并没有相关的启动信息记录
    检查crs的alert日志
    rac2:/home/oracle$ tail -200  alertrac2.log 发现
    CRS-1012:The OCR service started on node rac2.
    1970-01-01 13:06:38.118
    CRS-1401:EVMD started on node rac2.
    1970-01-01 13:06:40.745
    CRS-1201:CRSD started on node rac2.
    1970-01-01 13:06:57.017
    CRS-1205:Auto-start failed for the CRS resource ora.rac.rac2.inst. Details in /opt/oracle/product/10.2/crs/log/rac2/crsd/crsd.log.

   可以看到,crs的alert日志记录的时间明显是有问题的
    检查当前主机的时间
    rac2:/home/oracle$ date
    Thu Jan  1 14:46:21 CST 1970
    
    怀疑是主机时间问题造成的节点2实例无法启动
    再检查下crsd的日志
    root@rac2:/>more /opt/oracle/product/10.2/crs/log/rac2/crsd/crsd.log 
    1970-01-01 14:32:12.606: [  OCRUTL][4375]u_freem: mem passed is null
    1970-01-01 14:32:14.220: [  CRSAPP][11343]32StartResource error for ora.rac.rac2.inst error code = 1
    1970-01-01 14:32:16.209: [  CRSRES][11343]32Start of `ora.rac.rac2.inst` on member `rac2` failed.
    1970-01-01 14:44:11.989: [  OCRUTL][6431]u_freem: mem passed is null
    1970-01-01 14:44:12.331: [  CRSRES][11383]32startRunnable: setting CLI values
    1970-01-01 14:44:12.351: [  CRSRES][11383]32Attempting to start `ora.rac.rac2.inst` on member `rac2`
    1970-01-01 14:44:13.729: [  OCRUTL][4632]u_freem: mem passed is null
    1970-01-01 14:44:15.375: [  CRSAPP][11383]32StartResource error for ora.rac.rac2.inst error code = 1
    1970-01-01 14:44:17.342: [  CRSRES][11383]32Start of `ora.rac.rac2.inst` on member `rac2` failed.

解决方法
    
    将节点2的主机时间设置为与节点1相同,aix下使用smit system 进行修改




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

请登录后发表评论 登录
全部评论

注册时间:2013-06-28

  • 博文量
    35
  • 访问量
    230158