大势趋007

每个人都是🏆
  新随笔  :: 管理

36635982 升级

Posted on 2024-08-24 21:29  大势趋007  阅读(28)  评论(0)    收藏  举报
[oracle@prdb19 36635982]$  /u01/app/oem/middleware/OMSPatcher/omspatcher apply . -spb_patch  

JDK update log location :: /u01/app/oem/middleware/cfgtoollogs/omspatcher/SPB_PATCH/jdk_update_Sat_Aug_24_20_52_13_2024.log
tar: ./binary_patches/jdk/linux64/jdk-8u411-linux-x64.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
There was an error while getting the java version
JDK Validation has failed. Please check logs.

--懵比!
[oracle@prdb19 36635982]$  /u01/app/oem/middleware/OMSPatcher/omspatcher apply `pwd`/  -spb_patch  

JDK update log location :: /u01/app/oem/middleware/cfgtoollogs/omspatcher/SPB_PATCH/jdk_update_Sat_Aug_24_20_56_34_2024.log

SPB JDK version :: 1.8.0.411,  Env JDK version :: 1.8.0.261

The Env version is lower as compared to JDK included in patch :: JDK will be updated
Updating the JDK now...
Stopping the OMS...
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down


Back_up Java folder :: /u01/app/oem/middleware/oracle_common/jdk_1724504250

New Java version is...
java version "1.8.0_411"
Java(TM) SE Runtime Environment (build 1.8.0_411-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.411-b25, mixed mode)

Updated Java Successfully

OPatch update log :: /u01/app/oem/middleware/cfgtoollogs/omspatcher/SPB_PATCH/opatch_update_Sat_Aug_24_20_57_30_2024.log

The Env Opatch version :: 13.9.4.2.5

The SPB Opatch version :: 13.9.4.2.15

The Environment Opatch version is low as per OPatch included in Patch :: OPatch will be updated
Updating the Opatch now.......
Updated Opatch Successfully.......
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


OMSPatcher version : 13.9.5.21.0
OUI version        : 13.9.4.0.0
Running from       : /u01/app/oem/middleware
Log file location  : /u01/app/oem/middleware/cfgtoollogs/omspatcher/opatch2024-08-24_20-58-34PM_1.log

OMSPatcher log file: /u01/app/oem/middleware/cfgtoollogs/omspatcher/SPB_PATCH/omspatcher_2024-08-24_20-58-34PM_apply.log

Please enter OMS weblogic admin server URL(t3s://prdb19:7102):> 
Please enter OMS weblogic admin server username(weblogic):> 
Please enter OMS weblogic admin server password:> 

Performing prerequisites.....

Loaded SPB properties successfully

Stopping the oms....

Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Stopping Oracle Management Server...
WebTier Successfully Stopped
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down
Running the command :: /u01/app/oem/middleware/OPatch/opatch napply -oh /u01/app/oem/middleware -phbasefile /u01/app/oem/middleware/linux64_patchlist.txt -silent

Log file to be checked to get the list of applied patches : /u01/app/oem/middleware/cfgtoollogs/opatch/opatch2024-08-24_20-59-43PM_1.log

Command ran successfully

Starting the oms....

Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
JVMD Engine is Up

Log file location: /u01/app/oem/middleware/cfgtoollogs/omspatcher/SPB_PATCH/omspatcher_2024-08-24_20-58-34PM_apply.log

OMSPatcher succeeded.
[oracle@prdb19 36635982]$