[root@osb1 Oracle_Home]# ./OPatch/opatch apply ./PATCH_TOP/35247514/...Oracle Interim Patch Installer version 13.9.2.0.0
Copyright (c)2023, Oracle Corporation. All rights reserved.Oracle Home :/home/weblogic/Oracle/Middleware/Oracle_Home
Central Inventory :/home/weblogic/oraInventoryfrom :/home/weblogic/Oracle/Middleware/Oracle_Home/oraInst.loc
OPatch version :13.9.2.0.0OUI version :13.9.2.0.0
Log file location :/home/weblogic/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2023-11-02_13-44-35PM_1.logOPatch detects the Middleware Home as"/home/weblogic/Oracle/Middleware/Oracle_Home"Verifying environment and performing prerequisite checks...
Prerequisite check "CheckMinimumOPatchVersion" failed.
The details are:The OPatch being used has version 13.9.2.0.0while the followingpatch(es) require higher versions:
Patch 35247514 requires OPatch version 13.9.4.2.5.
Please download latest OPatch from My Oracle Support.UtilSession failed: Prerequisite check "CheckMinimumOPatchVersion" failed.
Log file location:/home/weblogic/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2023-11-02_13-44-35PM_1.log
二. Opatch下载
2.1 补丁位置详情查看
2.2 选择对应weblogic版本,选择Patch 28186730
2.3 下载对应Opatch补丁工具,权限下载
三. Opatch版本升级
3.1 上传文件至补丁目录
/home/weblogic/Oracle/Middleware/Oracle_Home
3.2 解压文件至PATCH_TOP名称为6880880
[root@osb1 Oracle_Home]# unzip -d PATCH_TOP/ p28186730_1394214_Generic.zip
[root@osb1 Oracle_Home]# ll PATCH_TOP/
total 20
drwxr-x---4 weblogic weblogic 4096 Nov 22201722526026
drwxr-x---4 weblogic weblogic 4096 Jun 27201827912627
drwxr-x---4 weblogic weblogic 4096 Oct 2202031961038
drwxr-xr-x 2 weblogic weblogic 4096 Oct 707:206880880
切换到weblogic用户
[weblogic@osb1 OPatch]$ ./opatch apply ../PATCH_TOP/35247514/
Oracle Interim Patch Installer version 13.9.4.2.14
Copyright (c)2023, Oracle Corporation. All rights reserved.Oracle Home :/home/weblogic/Oracle/Middleware/Oracle_Home
Central Inventory :/home/weblogic/oraInventoryfrom :/home/weblogic/Oracle/Middleware/Oracle_Home/oraInst.loc
OPatch version :13.9.4.2.14OUI version :13.9.4.0.0
Log file location :/home/weblogic/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2023-11-10_15-53-33PM_1.logOPatch detects the Middleware Home as"/home/weblogic/Oracle/Middleware/Oracle_Home"Verifying environment and performing prerequisite checks...
OPatch continues with these patches:35247514Do you want to proceed?[y|n]
y
User Responded with: Y
All checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/home/weblogic/Oracle/Middleware/Oracle_Home')Is the local system ready for patching?[y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '35787725' to OH '/home/weblogic/Oracle/Middleware/Oracle_Home'Patching component oracle.wls.core.app.server,12.2.1.3.0...
Patch 35247514 successfully applied.
Log file location:/home/weblogic/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2023-11-10_15-53-33PM_1.logOPatch succeeded.