当前位置: 首页 > news >正文

RU 19.28安装

使用手工方式打RU19.28
参考文档: Supplemental Readme - Grid Infrastructure Release Update 12.2.0.1.x / 18c /19c (Doc ID 2246888.1)

操作步骤:
1 Stop the CRS managed resources running from DB homes.
2 Run the pre root script.
3 Patch GI home
4 Patch DB home
5 Run the post script
6 Start the CRS managed resources that were earlier running from DB homes
7 datapatch 

1 关闭掉GI和DB  (测试之前,GI和DB一直都是关闭的,没有启动 )
$ <ORACLE_HOME>/bin/srvctl stop home -o <ORACLE_HOME> -s <status file location> -n <node name>

2 Run the pre root script.                           
# <GI_HOME>/crs/install/rootcrs.sh -prepatch

[root@node19c01 install]# ./rootcrs.sh -prepatch
Using configuration parameter file: /u01/app/19.0.0/grid/crs/install/crsconfig_params
The log of current session can be found at:/u01/app/grid/crsdata/node19c01/crsconfig/crs_prepatch_apply_inplace_node19c01_2025-07-25_10-37-48AM.log
Oracle Clusterware active version on the cluster is [19.0.0.0.0]. The cluster upgrade state is [NORMAL]. The cluster active patch level is [1123884380].
2025/07/25 10:39:49 CLSRSC-4012: Shutting down Oracle Trace File Analyzer (TFA) Collector.
2025/07/25 10:39:56 CLSRSC-4013: Successfully shut down Oracle Trace File Analyzer (TFA) Collector.
2025/07/25 10:39:57 CLSRSC-347: Successfully unlock /u01/app/19.0.0/grid
2025/07/25 10:39:58 CLSRSC-671: Pre-patch steps for patching GI home successfully completed.
[root@node19c01 install]# pwd
/u01/app/19.0.0/grid/crs/install
[root@node19c01 install]# 

3 给GI打PATCH 
As the GI home owner execute:

$ <GI_HOME>/OPatch/opatch apply -oh <GI_HOME> -local <UNZIPPED_PATCH_LOCATION>/%BUGNO%/<OCW TRACKING BUG>
$ <GI_HOME>/OPatch/opatch apply -oh <GI_HOME> -local <UNZIPPED_PATCH_LOCATION>/%BUGNO%/<ACFS TRACKING BUG>
$ <GI_HOME>/OPatch/opatch apply -oh <GI_HOME> -local <UNZIPPED_PATCH_LOCATION>/%BUGNO%/<DBWLM TRACKING BUG>
$ <GI_HOME>/OPatch/opatch apply -oh <GI_HOME> -local <UNZIPPED_PATCH_LOCATION>/%BUGNO%/<DB RU TRACKING BUG>
$ <GI_HOME>/OPatch/opatch apply -oh <GI_HOME> -local <UNZIPPED_PATCH_LOCATION>/%BUGNO%/<TOMCAT RU TRACKING BUG>  su - grid 
$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/37962946     
$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/37962938     
$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/36758186    
$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/37960098     
$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/38124772  

4 Patch Oracle HOME 

$ <UNZIPPED_PATCH_LOCATION>/%BUGNO%/%OCW TRACKING BUG%/custom/scripts/prepatch.sh -dbhome <ORACLE_HOME>
$ <ORACLE_HOME>/OPatch/opatch apply -oh <ORACLE_HOME> -local <UNZIPPED_PATCH_LOCATION>/%BUGNO%/<OCW TRACKING BUG>
$ <ORACLE_HOME>/OPatch/opatch apply -oh <ORACLE_HOME> -local <UNZIPPED_PATCH_LOCATION>/%BUGNO%/<DB RU TRACKING BUG>
$ <UNZIPPED_PATCH_LOCATION>/%BUGNO%/%OCW TRACKING BUG%/custom/scripts/postpatch.sh -dbhome <ORACLE_HOME>  su - oracle 
$ /psu/37957391/37962946/custom/scripts/prepatch.sh -dbhome /u01/app/oracle/product/19.0.0/db_1     
$ /u01/app/oracle/product/19.0.0/db_1/OPatch/opatch apply -oh /u01/app/oracle/product/19.0.0/db_1 -local /psu/37957391/37962946  
$ /u01/app/oracle/product/19.0.0/db_1/OPatch/opatch apply -oh /u01/app/oracle/product/19.0.0/db_1 -local /psu/37957391/37960098 
$ /psu/37957391/37962946/custom/scripts/postpatch.sh -dbhome /u01/app/oracle/product/19.0.0/db_1    

5.    Run the post script.

# <GI_HOME>/rdbms/install/rootadd_rdbms.sh
# <GI_HOME>/crs/install/rootcrs.sh -postpatch/u01/app/19.0.0/grid/rdbms/install/rootadd_rdbms.sh      
/u01/app/19.0.0/grid/crs/install/rootcrs.sh -postpatch   

6 启动crs (打完后,自动启动)
7 datapatch (在其中一个节点执行)

打完后的效果 :

[grid@node19c01 OPatch]$ ./opatch lspatches
38124772;TOMCAT RELEASE UPDATE 19.0.0.0.0 (38124772)
37960098;Database Release Update : 19.28.0.0.250715 (37960098)
37962938;ACFS RELEASE UPDATE 19.28.0.0.0 (37962938)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)OPatch succeeded.
[grid@node19c01 OPatch]$ [grid@node19c02 OPatch]$ ./opatch lspatches
38124772;TOMCAT RELEASE UPDATE 19.0.0.0.0 (38124772)
37960098;Database Release Update : 19.28.0.0.250715 (37960098)
37962938;ACFS RELEASE UPDATE 19.28.0.0.0 (37962938)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)OPatch succeeded.
[grid@node19c02 OPatch]$ [oracle@node19c01 OPatch]$ ./opatch lspatches
37960098;Database Release Update : 19.28.0.0.250715 (37960098)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)OPatch succeeded.
[oracle@node19c01 OPatch]$ [oracle@node19c02 OPatch]$ ./opatch lspatches
37960098;Database Release Update : 19.28.0.0.250715 (37960098)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)OPatch succeeded.
[oracle@node19c02 OPatch]$ 

#### 安装各个补丁的log  
--ocw log 

[grid@node19c01 37957391]$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/37962946 
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/19.0.0/grid
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/19.0.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_10-47-38AM_1.logVerifying environment and performing prerequisite checks...--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/19.0.0/grid
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/19.0.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_10-51-47AM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   37962946  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/19.0.0/grid')Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '37962946' to OH '/u01/app/19.0.0/grid'
ApplySession: Optional component(s) [ oracle.has.db.cvu, 19.0.0.0.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 19.0.0.0.0...Patching component oracle.has.cvu, 19.0.0.0.0...Patching component oracle.rhp.common, 19.0.0.0.0...Patching component oracle.has.common.cvu, 19.0.0.0.0...Patching component oracle.rhp.crs, 19.0.0.0.0...Patching component oracle.has.db, 19.0.0.0.0...Patching component oracle.xag, 19.0.0.0.0...Patching component oracle.has.crs.cvu, 19.0.0.0.0...Patching component oracle.has.rsf, 19.0.0.0.0...Patching component oracle.has.crs, 19.0.0.0.0...Patching component oracle.has.common, 19.0.0.0.0...Patching component oracle.rhp.db, 19.0.0.0.0...
Patch 37962946 successfully applied.
Sub-set patch [37654975] has become inactive due to the application of a super-set patch [37962946].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_10-51-47AM_1.logOPatch succeeded.
[grid@node19c01 37957391]$ 

-- acfs  log 

[grid@node19c01 37957391]$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/37962938
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/19.0.0/grid
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/19.0.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_10-59-10AM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   37962938  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/19.0.0/grid')Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '37962938' to OH '/u01/app/19.0.0/grid'Patching component oracle.usm, 19.0.0.0.0...
Patch 37962938 successfully applied.
Sub-set patch [37643161] has become inactive due to the application of a super-set patch [37962938].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_10-59-10AM_1.logOPatch succeeded.
[grid@node19c01 37957391]$ 

--dbwlm  log 

[grid@node19c01 37957391]$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/36758186 
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/19.0.0/grid
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/19.0.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_11-05-22AM_1.logVerifying environment and performing prerequisite checks...The following patch(es) are duplicate patches with patches installed in the Oracle Home.[ 36758186]
You have already installed same patch(es) with same UPI(s) or same version(s).
These patch(es) will be skipped.OPatch Session completed with warnings.
Log file location: /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_11-05-22AM_1.logOPatch completed with warnings.
[grid@node19c01 37957391]$ 

-- 上面的warnings,详细log信息如下 : 

[Jul 25, 2025 11:08:25 AM] [INFO]   Following patches are not required:  36758186
[Jul 25, 2025 11:08:25 AM] [INFO]   Following patches are auto rollbackable:
[Jul 25, 2025 11:08:25 AM] [INFO]   Finished checking prereq checkConflictAgainstOHWithDetail
[Jul 25, 2025 11:08:51 AM] [WARNING]OUI-67652:The following patch(es) are duplicate patches with patches installed in the Oracle Home.[ 36758186]You have already installed same patch(es) with same UPI(s) or same version(s).These patch(es) will be skipped.
[Jul 25, 2025 11:08:51 AM] [INFO]   UtilSession: N-Apply done.
[Jul 25, 2025 11:08:51 AM] [INFO]   --------------------------------------------------------------------------------
[Jul 25, 2025 11:08:51 AM] [INFO]   The following warnings have occurred during OPatch execution:
[Jul 25, 2025 11:08:51 AM] [INFO]   1) OUI-67652:The following patch(es) are duplicate patches with patches installed in the Oracle Home.[ 36758186]You have already installed same patch(es) with same UPI(s) or same version(s).These patch(es) will be skipped.
[Jul 25, 2025 11:08:51 AM] [INFO]   --------------------------------------------------------------------------------
[Jul 25, 2025 11:08:51 AM] [SEVERE] OUI-67008:OPatch Session completed with warnings.
[Jul 25, 2025 11:08:51 AM] [INFO]   Finishing UtilSession at Fri Jul 25 11:08:51 CST 2025
[Jul 25, 2025 11:08:51 AM] [INFO]   Log file location: /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_11-05-22AM_1.log[Jul 25, 2025 1:32:34 PM] [INFO]    Finished checking prereq checkConflictAgainstOHWithDetail
[Jul 25, 2025 1:33:05 PM] [WARNING] OUI-67652:The following patch(es) are duplicate patches with patches installed in the Oracle Home.[ 36758186]You have already installed same patch(es) with same UPI(s) or same version(s).These patch(es) will be skipped.
[Jul 25, 2025 1:33:05 PM] [INFO]    UtilSession: N-Apply done.
[Jul 25, 2025 1:33:05 PM] [INFO]    --------------------------------------------------------------------------------
[Jul 25, 2025 1:33:05 PM] [INFO]    The following warnings have occurred during OPatch execution:
[Jul 25, 2025 1:33:05 PM] [INFO]    1) OUI-67652:The following patch(es) are duplicate patches with patches installed in the Oracle Home.[ 36758186]You have already installed same patch(es) with same UPI(s) or same version(s).These patch(es) will be skipped.
[Jul 25, 2025 1:33:05 PM] [INFO]    --------------------------------------------------------------------------------
[Jul 25, 2025 1:33:05 PM] [SEVERE]  OUI-67008:OPatch Session completed with warnings.
[Jul 25, 2025 1:33:05 PM] [INFO]    Finishing UtilSession at Fri Jul 25 13:33:05 CST 2025
[Jul 25, 2025 1:33:05 PM] [INFO]    Log file location: /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_13-29-09PM_1.log

-- dbru log 

[grid@node19c01 37957391]$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/37960098
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/19.0.0/grid
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/19.0.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_11-11-20AM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   37960098  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/19.0.0/grid')Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '37960098' to OH '/u01/app/19.0.0/grid'
ApplySession: Optional component(s) [ oracle.network.gsm, 19.0.0.0.0 ] , [ oracle.crypto.rsf, 19.0.0.0.0 ] , [ oracle.ctx, 19.0.0.0.0 ] , [ oracle.dbdev, 19.0.0.0.0 ] , [ oracle.marvel, 19.0.0.0.0 ] , [ oracle.odbc.ic, 19.0.0.0.0 ] , [ oracle.precomp.common.core, 19.0.0.0.0 ] , [ oracle.precomp.companion, 19.0.0.0.0 ] , [ oracle.rdbms.ic, 19.0.0.0.0 ] , [ oracle.rdbms.oci, 19.0.0.0.0 ] , [ oracle.rdbms.scheduler, 19.0.0.0.0 ] , [ oracle.rdbms.tg4db2, 19.0.0.0.0 ] , [ oracle.sdo, 19.0.0.0.0 ] , [ oracle.sdo.companion, 19.0.0.0.0 ] , [ oracle.tfa.db, 19.0.0.0.0 ] , [ oracle.oraolap.api, 19.0.0.0.0 ] , [ oracle.ldap.ztk, 19.0.0.0.0 ] , [ oracle.options.olap, 19.0.0.0.0 ] , [ oracle.mgw.common, 19.0.0.0.0 ] , [ oracle.oraolap, 19.0.0.0.0 ] , [ oracle.ctx.atg, 19.0.0.0.0 ] , [ oracle.oid.client, 19.0.0.0.0 ] , [ oracle.rdbms.rat, 19.0.0.0.0 ] , [ oracle.ons.cclient, 19.0.0.0.0 ] , [ oracle.rdbms.tg4sybs, 19.0.0.0.0 ] , [ oracle.rdbms.dm, 19.0.0.0.0 ] , [ oracle.xdk.xquery, 19.0.0.0.0 ] , [ oracle.xdk.companion, 19.0.0.0.0 ] , [ oracle.pg4appc, 19.0.0.0.0 ] , [ oracle.pg4appc, 19.0.0.0.0 ] , [ oracle.pg4mq, 19.0.0.0.0 ] , [ oracle.oraolap.mgmt, 19.0.0.0.0 ] , [ oracle.sqlj.sqljruntime, 19.0.0.0.0 ] , [ oracle.java.sqlj.sqljruntime, 19.0.0.0.0 ] , [ oracle.network.cman, 19.0.0.0.0 ] , [ oracle.rdbms.tg4ifmx, 19.0.0.0.0 ] , [ oracle.rdbms.tg4tera, 19.0.0.0.0 ] , [ oracle.xdk, 19.0.0.0.0 ] , [ oracle.ons.eons.bwcompat, 19.0.0.0.0 ] , [ oracle.rdbms.hs_common, 19.0.0.0.0 ] , [ oracle.options.olap.api, 19.0.0.0.0 ] , [ oracle.rdbms.drdaas, 19.0.0.0.0 ] , [ oracle.net.cman, 19.0.0.0.0 ] , [ oracle.rdbms.lbac, 19.0.0.0.0 ] , [ oracle.odbc, 19.0.0.0.0 ] , [ oracle.rdbms.dv, 19.0.0.0.0 ] , [ oracle.rdbms.hsodbc, 19.0.0.0.0 ] , [ oracle.xdk.server, 19.0.0.0.0 ] , [ oracle.rdbms.tg4msql, 19.0.0.0.0 ] , [ oracle.precomp.common, 19.0.0.0.0 ] , [ oracle.precomp.lang, 19.0.0.0.0 ] , [ oracle.jdk, 1.8.0.191.0 ] , [ oracle.jdk, 1.8.0.391.11 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 19.0.0.0.0...Patching component oracle.rdbms.util, 19.0.0.0.0...Patching component oracle.rdbms, 19.0.0.0.0...Patching component oracle.assistants.acf, 19.0.0.0.0...Patching component oracle.assistants.asm, 19.0.0.0.0...Patching component oracle.assistants.deconfig, 19.0.0.0.0...Patching component oracle.assistants.server, 19.0.0.0.0...Patching component oracle.blaslapack, 19.0.0.0.0...Patching component oracle.buildtools.rsf, 19.0.0.0.0...Patching component oracle.dbjava.ic, 19.0.0.0.0...Patching component oracle.dbjava.jdbc, 19.0.0.0.0...Patching component oracle.dbjava.ucp, 19.0.0.0.0...Patching component oracle.duma, 19.0.0.0.0...Patching component oracle.javavm.client, 19.0.0.0.0...Patching component oracle.ldap.owm, 19.0.0.0.0...Patching component oracle.ldap.rsf, 19.0.0.0.0...Patching component oracle.ldap.security.osdt, 19.0.0.0.0...Patching component oracle.network.rsf, 19.0.0.0.0...Patching component oracle.ons, 19.0.0.0.0...Patching component oracle.ons.ic, 19.0.0.0.0...Patching component oracle.oracore.rsf, 19.0.0.0.0...Patching component oracle.perlint, 5.28.1.0.0...Patching component oracle.precomp.rsf, 19.0.0.0.0...Patching component oracle.rdbms.crs, 19.0.0.0.0...Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...Patching component oracle.rdbms.deconfig, 19.0.0.0.0...Patching component oracle.rdbms.rsf.ic, 19.0.0.0.0...Patching component oracle.rhp.db, 19.0.0.0.0...Patching component oracle.rsf, 19.0.0.0.0...Patching component oracle.sdo.locator.jrf, 19.0.0.0.0...Patching component oracle.sqlplus, 19.0.0.0.0...Patching component oracle.sqlplus.ic, 19.0.0.0.0...Patching component oracle.tfa, 19.0.0.0.0...Patching component oracle.wwg.plsql, 19.0.0.0.0...Patching component oracle.xdk.rsf, 19.0.0.0.0...Patching component oracle.ldap.ssl, 19.0.0.0.0...Patching component oracle.rdbms.locator, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.core, 19.0.0.0.0...Patching component oracle.rdbms.rman, 19.0.0.0.0...Patching component oracle.oraolap.dbscripts, 19.0.0.0.0...Patching component oracle.rdbms.install.common, 19.0.0.0.0...Patching component oracle.network.aso, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.lbuilder, 19.0.0.0.0...Patching component oracle.ctx.rsf, 19.0.0.0.0...Patching component oracle.ldap.rsf.ic, 19.0.0.0.0...Patching component oracle.rdbms.install.plugins, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.core, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.ic, 19.0.0.0.0...Patching component oracle.network.listener, 19.0.0.0.0...Patching component oracle.javavm.server, 19.0.0.0.0...Patching component oracle.ldap.client, 19.0.0.0.0...Patching component oracle.install.deinstalltool, 19.0.0.0.0...Patching component oracle.network.client, 19.0.0.0.0...Patching component oracle.dbtoolslistener, 19.0.0.0.0...Patching component oracle.sdo.locator, 19.0.0.0.0...Patching component oracle.ovm, 19.0.0.0.0...Patching component oracle.xdk.parser.java, 19.0.0.0.0...Patching component oracle.jdk, 1.8.0.201.0...
Patch 37960098 successfully applied.
Sub-set patch [37642901] has become inactive due to the application of a super-set patch [37960098].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_11-11-20AM_1.logOPatch succeeded.
[grid@node19c01 37957391]$ 

-- tomcat  log 

[grid@node19c01 37957391]$ /u01/app/19.0.0/grid/OPatch/opatch apply -oh /u01/app/19.0.0/grid -local /psu/37957391/38124772
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/19.0.0/grid
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/19.0.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_11-20-11AM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   38124772  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/19.0.0/grid')Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '38124772' to OH '/u01/app/19.0.0/grid'Patching component oracle.tomcat.crs, 19.0.0.0.0...
Patch 38124772 successfully applied.
Sub-set patch [37762426] has become inactive due to the application of a super-set patch [38124772].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/19.0.0/grid/cfgtoollogs/opatch/opatch2025-07-25_11-20-11AM_1.logOPatch succeeded.
[grid@node19c01 37957391]$ 

-- oracle 补丁  

[oracle@node19c01 37957391]$ /psu/37957391/37962946/custom/scripts/prepatch.sh -dbhome /u01/app/oracle/product/19.0.0/db_1 
/psu/37957391/37962946/custom/scripts/prepatch.sh completed successfully.
[oracle@node19c01 37957391]$ 

-- ocw log for oracle 

[oracle@node19c01 37957391]$ /psu/37957391/37962946/custom/scripts/prepatch.sh -dbhome /u01/app/oracle/product/19.0.0/db_1 
/psu/37957391/37962946/custom/scripts/prepatch.sh completed successfully.
[oracle@node19c01 37957391]$ 
[oracle@node19c01 37957391]$ 
[oracle@node19c01 37957391]$ /u01/app/oracle/product/19.0.0/db_1/OPatch/opatch apply -oh /u01/app/oracle/product/19.0.0/db_1 -local /psu/37957391/37962946 
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/19.0.0/db_1
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/19.0.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatch/opatch2025-07-25_12-10-39PM_1.logVerifying environment and performing prerequisite checks...--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/19.0.0/db_1
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/19.0.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatch/opatch2025-07-25_12-16-18PM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   37962946  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.0.0/db_1')Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '37962946' to OH '/u01/app/oracle/product/19.0.0/db_1'
ApplySession: Optional component(s) [ oracle.has.cvu, 19.0.0.0.0 ] , [ oracle.rhp.crs, 19.0.0.0.0 ] , [ oracle.xag, 19.0.0.0.0 ] , [ oracle.has.crs.cvu, 19.0.0.0.0 ] , [ oracle.has.crs, 19.0.0.0.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 19.0.0.0.0...Patching component oracle.rhp.common, 19.0.0.0.0...Patching component oracle.has.common.cvu, 19.0.0.0.0...Patching component oracle.has.db, 19.0.0.0.0...Patching component oracle.has.rsf, 19.0.0.0.0...Patching component oracle.has.common, 19.0.0.0.0...Patching component oracle.rhp.db, 19.0.0.0.0...Patching component oracle.has.db.cvu, 19.0.0.0.0...
Patch 37962946 successfully applied.
Sub-set patch [37654975] has become inactive due to the application of a super-set patch [37962946].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatch/opatch2025-07-25_12-16-18PM_1.logOPatch succeeded.
[oracle@node19c01 37957391]$ 

-- dbru for Oracle 

[oracle@node19c01 37957391]$ /u01/app/oracle/product/19.0.0/db_1/OPatch/opatch apply -oh /u01/app/oracle/product/19.0.0/db_1 -local /psu/37957391/37960098 
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/19.0.0/db_1
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/19.0.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.47
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatch/opatch2025-07-25_12-23-37PM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   37960098  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.0.0/db_1')Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '37960098' to OH '/u01/app/oracle/product/19.0.0/db_1'
ApplySession: Optional component(s) [ oracle.network.gsm, 19.0.0.0.0 ] , [ oracle.assistants.asm, 19.0.0.0.0 ] , [ oracle.crypto.rsf, 19.0.0.0.0 ] , [ oracle.precomp.companion, 19.0.0.0.0 ] , [ oracle.rdbms.ic, 19.0.0.0.0 ] , [ oracle.rdbms.tg4db2, 19.0.0.0.0 ] , [ oracle.sdo.companion, 19.0.0.0.0 ] , [ oracle.tfa, 19.0.0.0.0 ] , [ oracle.ldap.ztk, 19.0.0.0.0 ] , [ oracle.options.olap, 19.0.0.0.0 ] , [ oracle.oid.client, 19.0.0.0.0 ] , [ oracle.ons.cclient, 19.0.0.0.0 ] , [ oracle.rdbms.tg4sybs, 19.0.0.0.0 ] , [ oracle.xdk.companion, 19.0.0.0.0 ] , [ oracle.pg4appc, 19.0.0.0.0 ] , [ oracle.pg4appc, 19.0.0.0.0 ] , [ oracle.pg4mq, 19.0.0.0.0 ] , [ oracle.oraolap.mgmt, 19.0.0.0.0 ] , [ oracle.java.sqlj.sqljruntime, 19.0.0.0.0 ] , [ oracle.network.cman, 19.0.0.0.0 ] , [ oracle.rdbms.tg4ifmx, 19.0.0.0.0 ] , [ oracle.rdbms.tg4tera, 19.0.0.0.0 ] , [ oracle.ons.eons.bwcompat, 19.0.0.0.0 ] , [ oracle.options.olap.api, 19.0.0.0.0 ] , [ oracle.net.cman, 19.0.0.0.0 ] , [ oracle.rdbms.tg4msql, 19.0.0.0.0 ] , [ oracle.jdk, 1.8.0.191.0 ] , [ oracle.jdk, 1.8.0.391.11 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 19.0.0.0.0...Patching component oracle.rdbms.util, 19.0.0.0.0...Patching component oracle.rdbms, 19.0.0.0.0...Patching component oracle.assistants.acf, 19.0.0.0.0...Patching component oracle.assistants.deconfig, 19.0.0.0.0...Patching component oracle.assistants.server, 19.0.0.0.0...Patching component oracle.blaslapack, 19.0.0.0.0...Patching component oracle.buildtools.rsf, 19.0.0.0.0...Patching component oracle.ctx, 19.0.0.0.0...Patching component oracle.dbdev, 19.0.0.0.0...Patching component oracle.dbjava.ic, 19.0.0.0.0...Patching component oracle.dbjava.jdbc, 19.0.0.0.0...Patching component oracle.dbjava.ucp, 19.0.0.0.0...Patching component oracle.duma, 19.0.0.0.0...Patching component oracle.javavm.client, 19.0.0.0.0...Patching component oracle.ldap.owm, 19.0.0.0.0...Patching component oracle.ldap.rsf, 19.0.0.0.0...Patching component oracle.ldap.security.osdt, 19.0.0.0.0...Patching component oracle.marvel, 19.0.0.0.0...Patching component oracle.network.rsf, 19.0.0.0.0...Patching component oracle.odbc.ic, 19.0.0.0.0...Patching component oracle.ons, 19.0.0.0.0...Patching component oracle.ons.ic, 19.0.0.0.0...Patching component oracle.oracore.rsf, 19.0.0.0.0...Patching component oracle.perlint, 5.28.1.0.0...Patching component oracle.precomp.common.core, 19.0.0.0.0...Patching component oracle.precomp.rsf, 19.0.0.0.0...Patching component oracle.rdbms.crs, 19.0.0.0.0...Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...Patching component oracle.rdbms.deconfig, 19.0.0.0.0...Patching component oracle.rdbms.oci, 19.0.0.0.0...Patching component oracle.rdbms.rsf.ic, 19.0.0.0.0...Patching component oracle.rdbms.scheduler, 19.0.0.0.0...Patching component oracle.rhp.db, 19.0.0.0.0...Patching component oracle.rsf, 19.0.0.0.0...Patching component oracle.sdo, 19.0.0.0.0...Patching component oracle.sdo.locator.jrf, 19.0.0.0.0...Patching component oracle.sqlplus, 19.0.0.0.0...Patching component oracle.sqlplus.ic, 19.0.0.0.0...Patching component oracle.tfa.db, 19.0.0.0.0...Patching component oracle.wwg.plsql, 19.0.0.0.0...Patching component oracle.xdk.rsf, 19.0.0.0.0...Patching component oracle.oraolap.api, 19.0.0.0.0...Patching component oracle.ldap.ssl, 19.0.0.0.0...Patching component oracle.rdbms.locator, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.core, 19.0.0.0.0...Patching component oracle.rdbms.rman, 19.0.0.0.0...Patching component oracle.oraolap.dbscripts, 19.0.0.0.0...Patching component oracle.mgw.common, 19.0.0.0.0...Patching component oracle.rdbms.install.common, 19.0.0.0.0...Patching component oracle.oraolap, 19.0.0.0.0...Patching component oracle.network.aso, 19.0.0.0.0...Patching component oracle.ctx.atg, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.lbuilder, 19.0.0.0.0...Patching component oracle.rdbms.rat, 19.0.0.0.0...Patching component oracle.ctx.rsf, 19.0.0.0.0...Patching component oracle.ldap.rsf.ic, 19.0.0.0.0...Patching component oracle.rdbms.install.plugins, 19.0.0.0.0...Patching component oracle.rdbms.dm, 19.0.0.0.0...Patching component oracle.xdk.xquery, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.core, 19.0.0.0.0...Patching component oracle.nlsrtl.rsf.ic, 19.0.0.0.0...Patching component oracle.sqlj.sqljruntime, 19.0.0.0.0...Patching component oracle.network.listener, 19.0.0.0.0...Patching component oracle.javavm.server, 19.0.0.0.0...Patching component oracle.ldap.client, 19.0.0.0.0...Patching component oracle.install.deinstalltool, 19.0.0.0.0...Patching component oracle.xdk, 19.0.0.0.0...Patching component oracle.network.client, 19.0.0.0.0...Patching component oracle.rdbms.hs_common, 19.0.0.0.0...Patching component oracle.rdbms.drdaas, 19.0.0.0.0...Patching component oracle.dbtoolslistener, 19.0.0.0.0...Patching component oracle.sdo.locator, 19.0.0.0.0...Patching component oracle.ovm, 19.0.0.0.0...Patching component oracle.rdbms.lbac, 19.0.0.0.0...Patching component oracle.odbc, 19.0.0.0.0...Patching component oracle.rdbms.dv, 19.0.0.0.0...Patching component oracle.rdbms.hsodbc, 19.0.0.0.0...Patching component oracle.xdk.server, 19.0.0.0.0...Patching component oracle.xdk.parser.java, 19.0.0.0.0...Patching component oracle.precomp.common, 19.0.0.0.0...Patching component oracle.precomp.lang, 19.0.0.0.0...Patching component oracle.jdk, 1.8.0.201.0...
Patch 37960098 successfully applied.
Sub-set patch [37642901] has become inactive due to the application of a super-set patch [37960098].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatch/opatch2025-07-25_12-23-37PM_1.logOPatch succeeded.
[oracle@node19c01 37957391]$ 

-- post patch log  

[oracle@node19c01 37957391]$ /psu/37957391/37962946/custom/scripts/postpatch.sh -dbhome /u01/app/oracle/product/19.0.0/db_1  
Reading /u01/app/oracle/product/19.0.0/db_1/install/params.ora..
Reading /u01/app/oracle/product/19.0.0/db_1/install/params.ora..
Found uninstantiated /u01/app/oracle/product/19.0.0/db_1/crs/sbs/srvctl.sbs file, copying to /u01/app/oracle/product/19.0.0/db_1/bin/srvctl
Parsing file /u01/app/oracle/product/19.0.0/db_1/bin/srvctl
Parsing file /u01/app/oracle/product/19.0.0/db_1/bin/srvconfig
Parsing file /u01/app/oracle/product/19.0.0/db_1/bin/cluvfy
Parsing file /u01/app/oracle/product/19.0.0/db_1/bin/kfod
Verifying file /u01/app/oracle/product/19.0.0/db_1/bin/srvctl
Verifying file /u01/app/oracle/product/19.0.0/db_1/bin/srvconfig
Verifying file /u01/app/oracle/product/19.0.0/db_1/bin/cluvfy
Verifying file /u01/app/oracle/product/19.0.0/db_1/bin/kfod
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/srvctl
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/srvconfig
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/cluvfy
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/kfod
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/diskmon.bin
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/lsnodes
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/osdbagrp
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/rawutl
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/srvm/admin/ractrans
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/srvm/admin/getcrshome
Reapplying file permissions on /u01/app/oracle/product/19.0.0/db_1/bin/crsdiag.pl
Postpatch completed successfully
[oracle@node19c01 37957391]$ 

-- rootcrs  log 

[root@node19c01 psu]# /u01/app/19.0.0/grid/rdbms/install/rootadd_rdbms.sh   
[root@node19c01 psu]# /u01/app/19.0.0/grid/crs/install/rootcrs.sh -postpatch  
Using configuration parameter file: /u01/app/19.0.0/grid/crs/install/crsconfig_params
The log of current session can be found at:/u01/app/grid/crsdata/node19c01/crsconfig/crs_postpatch_apply_inplace_node19c01_2025-07-25_12-38-06AM.log
2025/07/25 12:38:11 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service'
Oracle Clusterware active version on the cluster is [19.0.0.0.0]. The cluster upgrade state is [NORMAL]. The cluster active patch level is [880628325].
2025/07/25 12:39:19 CLSRSC-4015: Performing install or upgrade action for Oracle Trace File Analyzer (TFA) Collector.
2025/07/25 12:39:24 CLSRSC-672: Post-patch steps for patching GI home successfully completed.
[root@node19c01 psu]# 

-- datapatch log  

[oracle@node19c02 OPatch]$ ./datapatch -verbose
SQL Patching tool version 19.28.0.0.0 Production on Fri Jul 25 14:27:39 2025
Copyright (c) 2012, 2025, Oracle.  All rights reserved.Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_64398_2025_07_25_14_27_39/sqlpatch_invocation.logConnecting to database...OK
Gathering database info...done
Bootstrapping registry and package to current versions...done
Determining current state...doneCurrent state of interim SQL patches:No interim patches foundCurrent state of release update SQL patches:Binary registry:19.28.0.0.0 Release_Update 250705030417: InstalledSQL registry:Applied 19.27.0.0.0 Release_Update 250406131139 successfully on 22-APR-25 10.43.53.309378 AMAdding patches to installation queue and performing prereq checks...done
Installation queue:No interim patches need to be rolled backPatch 37960098 (Database Release Update : 19.28.0.0.250715 (37960098)):Apply from 19.27.0.0.0 Release_Update 250406131139 to 19.28.0.0.0 Release_Update 250705030417No interim patches need to be appliedInstalling patches...
Patch installation complete.  Total patches installed: 1Validating logfiles...done
Patch 37960098 apply: SUCCESSlogfile: /u01/app/oracle/cfgtoollogs/sqlpatch/37960098/27635722/37960098_apply_TEST_2025Jul25_14_29_19.log (no errors)
SQL Patching tool complete on Fri Jul 25 14:30:30 2025
[oracle@node19c02 OPatch]$ exit
logout
[root@node19c02 psu]#
SQL> select STATUS,DESCRIPTION from dba_registry_sqlpatch;SQL> select STATUS,DESCRIPTION from dba_registry_sqlpatch;STATUS
-------------------------
DESCRIPTION
--------------------------------------------------------------------------------
SUCCESS
Database Release Update : 19.3.0.0.190416 (29517242)SUCCESS
Database Release Update : 19.7.0.0.200414 (30869156)SUCCESS
Database Release Update : 19.19.0.0.230418 (35042068)STATUS
-------------------------
DESCRIPTION
--------------------------------------------------------------------------------
SUCCESS
Database Release Update : 19.20.0.0.230718 (35320081)SUCCESS
Database Release Update : 19.21.0.0.231017 (35643107)SUCCESS
Database Release Update : 19.22.0.0.240116 (35943157)STATUS
-------------------------
DESCRIPTION
--------------------------------------------------------------------------------
SUCCESS
Database Release Update : 19.23.0.0.240416 (36233263)SUCCESS
Database Release Update : 19.24.0.0.240716 (36582781)SUCCESS
Database Release Update : 19.25.0.0.241015 (36912597)STATUS
-------------------------
DESCRIPTION
--------------------------------------------------------------------------------
SUCCESS
Database Release Update : 19.26.0.0.250121 (37260974)SUCCESS
Database Release Update : 19.27.0.0.250415 (37642901)SUCCESS
Database Release Update : 19.28.0.0.250715 (37960098)12 rows selected.SQL> 

END。

http://www.dtcms.com/a/299382.html

相关文章:

  • ubuntu22.04系统 算力4090服务器 病毒防护 查杀等 运维入门(三)clamAV工具离线查杀
  • C 语言详解:特性、应用与发展
  • UniappDay03
  • 港股历史逐笔十档分钟级订单簿行情数据分析
  • ChibiOS深度解析:硬实时内核的全景剖析与FreeRTOS实战对比
  • 前端组件梳理
  • dify前端应用相关
  • Linux进程:系统运行的核心机制
  • Claude Code PowerShell 安装 MCPs 方法:以 Puppeteer 为例
  • 基于深度学习的食管癌右喉返神经旁淋巴结预测系统研究
  • Effective C++ 条款4:确定对象被使用前已先被初始化
  • Java-数构二叉树
  • 学习嵌入式的第三十一天-数据结构-(2025.7.23)网络协议封装
  • epoll_create1函数含义和使用案例
  • 深度解析【JVM】三大核心架构:运行时数据区、类加载与垃圾回收机制
  • Java大厂经典面试题
  • 复杂产品系统集成协同研发平台的研究与实现
  • @PathVariable与@RequestParam的区别
  • k8s的nodeport和ingress
  • 【区块链安全】DeFi协议安全漏洞深度分析:从闪电贷攻击到MEV套利
  • VTK交互——ImageClip
  • DH和IKE的关系理解
  • Linux下挂载磁盘报superblock错误
  • 泰山派GPIO编译 ADB下载 万用表测量GPIO电压
  • 嵌入式硬件篇---有线串口通信问题
  • Digit Queries
  • git推送文件失败
  • 深入解析Hadoop如何实现数据可靠性:三副本策略、校验和验证与Pipeline复制
  • Qt 网络编程进阶:RESTful API 调用
  • Android Studio Profiler工具使用流程