重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛
标题: 应用OJVM补丁包 [打印本页]
作者: jiawang 时间: 2025-12-4 14:34
标题: 应用OJVM补丁包
查看当前数据库应用情况:
[oracle@hisce OPatch]$ ./opatch lspatches
32916816;OCW RELEASE UPDATE 19.12.0.0.0 (32916816)
32904851;Database Release Update : 19.12.0.0.210720 (32904851)
OPatch succeeded.
[oracle@hisce OPatch]$
先解压补丁包,再应用ojvm补丁
[oracle@hisce OPatch]$ $ORACLE_HOME/OPatch/opatch apply /setup/32876380/
Oracle Interim Patch Installer version 12.2.0.1.25
Copyright (c) 2025, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/19.12.0/db_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/19.12.0/db_1/oraInst.loc
OPatch version : 12.2.0.1.25
OUI version : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.12.0/db_1/cfgtoollogs/opatch/opatch2025-12-04_10-09-27AM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 32876380
Do 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 = '/u01/app/oracle/product/19.12.0/db_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '32876380' to OH '/u01/app/oracle/product/19.12.0/db_1'
Patching component oracle.javavm.server, 19.0.0.0.0...
Patching component oracle.javavm.server.core, 19.0.0.0.0...
Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...
Patching component oracle.rdbms, 19.0.0.0.0...
Patching component oracle.javavm.client, 19.0.0.0.0...
Patch 32876380 successfully applied.
Log file location: /u01/app/oracle/product/19.12.0/db_1/cfgtoollogs/opatch/opatch2025-12-04_10-09-27AM_1.log
OPatch succeeded.
验证:
[oracle@hisce OPatch]$ ./opatch lspatches
32876380;OJVM RELEASE UPDATE: 19.12.0.0.210720 (32876380)
32916816;OCW RELEASE UPDATE 19.12.0.0.0 (32916816)
32904851;Database Release Update : 19.12.0.0.210720 (32904851)
OPatch succeeded.