12c 打补丁 出了一些问题 记录一下 :
[oracle@gc12c 13242773]$ opatch apply
-bash: opatch: command not found
没有设置环境变量
===================================
[oracle@gc12c 13242773]$ /u01/oracle/middleware/oms/OPatch/opatch apply
OPatch Version : 11.1.0.9.5
OUI Version : 11.2.0.3.0
The OUI version is not applicable for current OPatch version.
OPatch failed with error code 1
估计12C的 opatch版本与补丁不符。
========================================
[oracle@gc12c 13242773]$ /u01/oracle/middleware/oms/OPatch/opatch apply
OPatch Version : 11.1.0.9.5
OUI Version : 11.2.0.3.0
The OUI version is not applicable for current OPatch version.
OPatch failed with error code 1
[oracle@gc12c 13242773]$ /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch apply
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights r