赞
踩
WebLogic 12.2.1.4.0使用opatch 13.9.4.2.5执行补丁更新失败、报错,为了解决这个问题,在虚拟机里面测试了 2 天多,刚开始还以为是我的批量补丁脚本有问题,于是不断的调试脚本,最后创建SR才发现是最新opatch的Bug导致(当然官方并未说明这是一个Bug)。不出意外,四月份的补丁更新,opatch可能会迎来另外一个新版本。
看官若是觉得满意,请酌情打个赏呗(^_^)
What The Fuck!!!
吐槽一下,在官方提供的解决方案中,连如何操作都没说明清楚,Oracle工程师简直作死的节奏啊!
【报错信息】
Oracle 临时补丁程序安装程序版本 13.9.4.2.5
版权所有 (c) 2021, Oracle Corporation。保留所有权利。
Oracle 主目录 :/weblogic/Oracle/Middleware/Oracle_Home
主产品清单:/weblogic/oraInventory
来自 :/weblogic/Oracle/Middleware/Oracle_Home/oraInst.loc
OPatch 版本 :13.9.4.2.5
OUI 版本 :13.9.4.0.0
日志文件位置:/weblogic/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2021-02-04_14-55-23下午_1.log
OPatch detects the Middleware Home as "/weblogic/Oracle/Middleware/Oracle_Home"
Verifying environment and performing prerequisite checks...
--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...
UtilSession 失败: Can not find opatch executable script.
Log file location: /weblogic/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2021-02-04_14-55-23下午_1.log
OPatch failed with error code 73
1. As a temporary workaround: Unset two env variables and then apply patch.
unset WEBLOGIC_CLASSPATH
unset CLASSPATH
set WEBLOGIC_CLASSPATH=
set CLASSPATH=
如果执行了上述的环境变量清理后问题仍然存在,再执行下面的步骤:
If issue persists continue with following possible solutions:
2. If "-oop" option is used in opatch apply command.
-Remove "-oop" option it is not required and cannot be used.
-Follow the "Installation Instructions" steps from patch ReadMe.
3. Apply opatch using -jre option to specify the JRE home directory path.
opatch apply -jre [JAVA_HOME/jre]
eg.
opatch apply -jre /jdk1.8.0_261/jdk/jre
4. Verify checksum of following download(s):
-WLS PSU or SPB
-if installing PSU - OPatch patch (p28186730_139425_Generic.zip)
a. Display SHA1 and SHA256 checksums of patch in Patch Download page
b. Verify the checksums on the server where the patches are to be installed.
-Applications for displaying the checksums are specific to your environment, consult your system admin for assistance.
5. Troubleshoot possible issue caused by OPatch upgrade
How to Troubleshoot Oracle Fusion Middleware OPatch Upgrade (Patch 28186730) (Doc ID 2759112.1)
看官若是觉得满意,请酌情打个赏呗(^_^)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。