zoukankan      html  css  js  c++  java
  • 【案例】Oracle 12.1 CRS-1153: There was an error setting Oracle Clusterware to rolling patch mode. (文档 ID 1943498.1)

    此贴记录一个真实案例, 通过查找MOS文档,解决了问题。

    现象:

    Oracle 12.1 RAC 环境打补丁(opatchauto apply)时失败,提示CRS-1153  CRS-4000。

    日志示例如下:

    [root@racnode1 19392646]# /ocw/c102/OPatch/opatchauto apply -oh /ocw/c102 -ocmrf /mnt/OP/ocm.rsp

    ....

    Configuration Validation: Successful 

    Patch Location: /mnt/OP/C102PSU1/19392646
    Grid Infrastructure Patch(es): 19303936 19392590 19392604
    RAC Patch(es): 19303936 19392604

    Patch Validation: Successful

    Stopping CRS ... Failed
    Command "/ocw/c102/perl/bin/perl -I/ocw/c102/perl/lib -I/ocw/c102/crs/install /ocw/c102/crs/install/rootcrs.pl -prepatch" execution failed:
    Died at /ocw/c102/crs/install/crspatch.pm line 751.


    For more details, please refer to the log file "/ocw/c102/cfgtoollogs/opatchauto/19392646/opatch_gi_2014-10-19_11-41-35_deploy.debug.log".

    Apply Summary:

    Following patch(es) failed to be installed:
    GI Home: /ocw/c102: 19303936, 19392590, 19392604

    opatchauto failed with error code 2.

     

    2014-10-19_11-42-02 :
    Executing command:
    /ocw/c102/perl/bin/perl -I/ocw/c102/perl/lib -I/ocw/c102/crs/install /ocw/c102/crs/install/rootcrs.pl -prepatch
    2014-10-19_11-42-08 :

    COMMAND EXECUTION FAILURE :
    Using configuration parameter file: /ocw/c102/crs/install/crsconfig_params
    Oracle Clusterware active version on the cluster is [12.1.0.2.0]. The cluster upgrade state is [ROLLING PATCH]. The cluster active patch level is [0].
    PROC-28: Oracle Cluster Registry already in current version
    CRS-1153: There was an error setting Oracle Clusterware to rolling patch mode.
    CRS-4000: Command Start failed, or completed with errors.
    2014/10/19 11:42:06 CLSRSC-430: Failed to start rolling patch mode


    ERROR:
    Died at /ocw/c102/crs/install/crspatch.pm line 751.

    2014-10-19_11-42-08 :
    Failed to run this command :
    /ocw/c102/perl/bin/perl -I/ocw/c102/perl/lib -I/ocw/c102/crs/install /ocw/c102/crs/install/rootcrs.pl -prepatch
    oracle.opatch.gi.RunExecutionSteps.runGenericShellCommands(RunExecutionSteps.java:874)
    oracle.opatch.gi.RunExecutionSteps.processAllSteps(RunExecutionSteps.java:197)
    oracle.opatch.gi.GIPatching.processPatchingSteps(GIPatching.java:756)
    oracle.opatch.gi.OPatchautoExecution.main(OPatchautoExecution.java:125)
    Command "/ocw/c102/perl/bin/perl -I/ocw/c102/perl/lib -I/ocw/c102/crs/install /ocw/c102/crs/install/rootcrs.pl -prepatch" execution failed:
    Died at /ocw/c102/crs/install/crspatch.pm line 751.

     
    原因:未公开的BUG
     

    The issue happens if the cluster is already in rolling patch mode, it's due to unpublished bug:

    BUG 19499021 - 12.1.0.2.1GIPSU: OPATCHAUTO HIT CLSRSC-430: FAILED TO START ROLLING PATCH MODE

    解决办法:执行以下命令并重新安装补丁

    The fix is included in 12.1.0.2 GI PSU1, the workaround is to stop rolling patch and re-run opatchauto:

    # crsctl stop rollingpatch
     
     
    -- END --
     
  • 相关阅读:
    CDH5.2安装更换hive元数据存储数据库遇到的问题
    SSH 互信
    【记录】Java NIO实现网络模块遇到的BUG
    Http2协议简介
    synchronized(this) 与 synchronized(class) 理解
    【记录】spring boot 图片上传与显示
    Cookie-Session机制
    linux利用用户组给用户赋予不同的权限
    java .equals()和==的区别
    String直接赋值和使用new的区别
  • 原文地址:https://www.cnblogs.com/fengaix6/p/10699635.html
Copyright © 2011-2022 走看看