CRS-1153: There was an error setting Oracle Clusterware to rolling patch mode
CRS-1153: There was an error setting Oracle Clusterware to rolling patch mode.
升级PSU的时候有错误,需要回退patch,但是报错了:
错误信息:
1 2 3 4 5 6 7 8 9 10 | HQNHL-ALHR-R01:/oracle/app/12.1.0/grid/crs/install # rootcrs.pl -prepatch Using configuration parameter file: /oracle/app/12.1.0/grid/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. 2016/11/23 18:45:40 CLSRSC-430: Failed to start rolling patch mode Died at crspatch.pm line 783. HQNHL-ALHR-R01:/oracle/app/12.1.0/grid/crs/install # |
MOS 1943498.1
根据MOS:
CAUSE
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
SOLUTION
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
解决:
1 2 3 4 5 6 7 8 9 | HQNHL-ALHR-R01:~ # /oracle/app/12.1.0/grid/bin/crsctl stop rollingpatch CRS-1169: The cluster is consistent and the cluster active patch level is [0]. CRS-4000: Command Stop failed, or completed with errors. HQNHL-ALHR-R01:~ # HQNHL-ALHR-R01:~ # oerr crs 1169 1169, 0, "The cluster is consistent and the cluster active patch level is [%u]." // *Cause: The cluster has already completed the rolling patch procedure. // *Action: None. HQNHL-ALHR-R01:~ # |
重新执行/oracle/app/12.1.0/grid/crs/install/rootcrs.pl -prepatch
命令打PUS补丁即可。