会话日志报错 Prerequisite check “CheckApplicable” failed。
详细日志报错 Copy Action:Destination File “***” is not writeable
该情况是因为上一次安装补丁失败造成的权限不对称的原因。
报错:
Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures:
Patch Target : db02->/u01/app/12.2.0/grid Type[crs]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /u01/app/12.2.0/grid, host: db02.
Command failed: /u01/app/12.2.0/grid/OPatch/opatchauto apply /soft/30116802/ -oh /u01/app/12.2.0/grid -target_type cluster -binary -invPtrLoc /u01/app/12.2.0/grid//oraInst.loc -jre /u01/app/12.2.0/grid/OPatch/jre -persistresult /u01/app/12.2.0/grid/OPatch/auto/dbsessioninfo/sessionresult_db02_crs.ser -analyzedresult /u01/app/12.2.0/grid/OPatch/auto/dbsessioninfo/sessionresult_analyze_db02_crs.ser
Command failure output:
==Following patches FAILED in apply:
Patch: /soft/30116802/30122814
Log: /u01/app/12.2.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2019-10-29_18-30-28PM_1.log
Reason: Failed during Analysis: CheckNApplyReport Failed, [ Prerequisite Status: FAILED, Prerequisite output:
The details are:
Prerequisite check "CheckApplicable" failed.]
After fixing the cause of failure Run opatchauto resume
]
OPATCHAUTO-68061: The orchestration engine failed.
OPATCHAUTO-68061: The orchestration engine failed with return code 1
OPATCHAUTO-68061: Check the log for more details.
OPatchAuto failed.
CRS-6706: Oracle Clusterware Release patch level ('xxxxxxxx') does not match Software patch level ('xxxxxxxxx'). Oracle Clusterware cannot be started
mos方案:
cluutil -ckpt -oraclebase $ORACLE_BASE -chkckpt -name ROOTCRS_PREPATCH -status
cluutil -ckpt -oraclebase $ORACLE_BASE -writeckpt -name ROOTCRS_PREPATCH -state START
/u01/app/12.2.0/grid/crs/install/rootcrs.sh –prepatch
/u01/app/12.2.0/grid/crs/install/rootcrs.sh -unlock
/u01/app/12.2.0/grid/crs/install/rootcrs.sh –lock