Hoje ao aplicar o patch Patch 34795383 Release 5 Update 12 (13.5.0.12), encontrei o erro abaixo ao realizar o analyze:
[oracle@srv010]$ $OMS_HOME/OMSPatcher/omspatcher apply -analyze /u01/instaladores/34795383/
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.5.10.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/emcc/middleware
Log file location : /u01/app/oracle/emcc/middleware/cfgtoollogs/omspatcher/opatch2023-07-17_22-08-40PM_1.log
OMSPatcher log file: /u01/app/oracle/emcc/middleware/cfgtoollogs/omspatcher/34795383/omspatcher_2023-07-17_22-08-41PM_analyze.log
Please enter OMS weblogic admin server URL(t3s://EXADATACOD024:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
Enter SYS Password :
Checking if current repository database is a supported version
Log file location: /u01/app/oracle/emcc/middleware/cfgtoollogs/omspatcher/34795383/omspatcher_2023-07-17_22-08-41PM_analyze.log
Recommended actions: Please verify the error details and try again.
OMSPatcher failed with error code 231 <=================
Verifiquei a versão do utilitário omspatcher, era a versão mais atual:
[oracle@srv010 ~]$ export ORACLE_HOME=/u01/app/oracle/emcc/middleware
[oracle@srv010 ~]$ $OMS_HOME/OMSPatcher/omspatcher version
OMSPatcher Version: 13.9.5.10.0
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020
Olhei os logs gerados pelo analyze, não encontrei nenhum erro, simplesmente ele encerrava sem erros:
[oracle@srv010 ~]$cat omspatcher_2023-07-18_08-55-48AM_analyze.log
[Jul 18, 2023 8:55:48 AM] OMSPatcher has successfully verified min_patching_tool_version check
[Jul 18, 2023 8:56:19 AM] Printing DB plugins.....
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.emas, version=13.5.1.0.0, plugin_Name=Oracle Fusion Middleware, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.emas.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.si, version=13.5.1.0.0, plugin_Name=Systems Infrastructure, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.si.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.vi, version=13.5.1.0.0, plugin_Name=Oracle Virtual Infrastructure, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.vi.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.em.smis, version=13.1.1.0.0, plugin_Name=Microsoft IIS, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.em.smis.oms.plugin_13.1.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.vt, version=13.5.1.0.0, plugin_Name=Oracle Virtualization, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.vt.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.bda, version=13.5.1.0.0, plugin_Name=Oracle Big Data Appliance, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.bda.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.db, version=13.5.1.0.0, plugin_Name=Oracle Database, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.db.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.cfw, version=13.5.1.0.0, plugin_Name=Oracle Cloud Framework, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.cfw.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.smf, version=13.5.1.0.0, plugin_Name=Oracle Storage Management Framework, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.smf.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.em.satc, version=13.2.1.0.0, plugin_Name=Apache Tomcat, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.em.satc.oms.plugin_13.2.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.am, version=13.5.1.0.0, plugin_Name=Zero Data Loss Recovery Appliance, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.am.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.ssa, version=13.5.1.0.0, plugin_Name=Oracle Cloud Application, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.ssa.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.emct, version=13.5.1.0.0, plugin_Name=Oracle Consolidation Planning and Chargeback, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.emct.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.emfa, version=13.5.1.0.0, plugin_Name=Oracle Fusion Applications, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.emfa.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.em.savf, version=13.5.1.0.0, plugin_Name=Oracle Audit Vault and Database Firewall, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.em.savf.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.orhc, version=13.4.1.0.0, plugin_Name=Oracle ORAchk Healthchecks, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.orhc.oms.plugin_13.4.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.empa, version=13.5.1.0.0, plugin_Name=Oracle Siebel, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.empa.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:19 AM] CurrentDeployPlugin [pluginID=oracle.sysman.xa, version=13.5.1.0.0, plugin_Name=Oracle Exadata, destination_type=OMS, content_Type=Plugin, plugin_Home=/u01/app/oracle/emcc/middleware/plugins/oracle.sysman.xa.oms.plugin_13.5.1.0.0, rev_Version=0]
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.cfw.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.am.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.emct.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.em.savf.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.db.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.bda.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.orhc.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.vi.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.si.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.ssa.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.vt.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.smf.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.emfa.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.emas.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.empa.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.em.satc.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.sysman.xa.oms.plugin, Value = Plugin
[Jul 18, 2023 8:56:20 AM] Key = oracle.em.smis.oms.plugin, Value = Plugin
Sistema operacional do repositório usado no Oracle Database e do Oracle Enterprise Manager Cloud Control:
[oracle@srv010 ~]$ cat /etc/*-release | grep PRETTY
PRETTY_NAME="Oracle Linux Server 7.9"
[oracle@srv010 ~]$ uname -a
5.4.17-2102.201.3.el7uek.x86_64
Versão do Oracle Database usado no repositório:
[oracle@srv010 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.36
Copyright (c) 2023, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/19.0.0.0/dbhome_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/19.0.0.0/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.36
OUI version : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.0.0.0/dbhome_1/cfgtoollogs/opatch/opatch2023-07-22_14-07-56PM_1.log
Lsinventory Output file location : /u01/app/oracle/product/19.0.0.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2023-07-22_14-07-56PM.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: srv010
ARU platform id: 226
ARU platform description:: Linux x86-64
Installed Top-level Products (1):
Oracle Database 19c 19.0.0.0.0
There are 1 products installed in this Oracle Home.
Interim patches (2) :
Patch 32545013 : applied on Fri Feb 17 12:09:04 BRT 2023
Unique Patch ID: 24175065
Patch description: "Database Release Update : 19.11.0.0.210420 (32545013)"
Created on 16 Apr 2021, 07:40:05 hrs UTC
Como o erro era estranho e o log não tinha nenhum indicativo do problema, resolvi abrir chamado e verificar com a Oracle, foi indicado por eles que fosse aplicado o Release Update 19.12.0.0.0 Patch 3290485, após aplicação do RU 19.12, o analyze executou sem erros, a aplicação do patch Patch 34795383 Release 5 Update 12 (13.5.0.12) foi executada com sucesso:
[oracle@srv010 34795383]$ $OMS_HOME/OMSPatcher/omspatcher apply -analyze
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.5.10.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/emcc/middleware
Log file location : /u01/app/oracle/emcc/middleware/cfgtoollogs/omspatcher/opatch2023-07-22_15-43-21PM_1.log
OMSPatcher log file: /u01/app/oracle/emcc/middleware/cfgtoollogs/omspatcher/34795383/omspatcher_2023-07-22_15-43-23PM_analyze.log
Please enter OMS weblogic admin server URL(t3s://srv010:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
Enter SYS Password :
Checking if current repository database is a supported version
Current repository database version is supported
Prereq "checkComponents" for patch 34706719 passed.
Prereq "checkComponents" for patch 34601404 passed.
Prereq "checkComponents" for patch 34430473 passed.
Prereq "checkComponents" for patch 34430509 passed.
Prereq "checkComponents" for patch 34706773 passed.
Prereq "checkComponents" for patch 34601397 passed.
Prereq "checkComponents" for patch 34706733 passed.
Prereq "checkComponents" for patch 34706727 passed.
Prereq "checkComponents" for patch 34706723 passed.
Prereq "checkComponents" for patch 34706739 passed.
Prereq "checkComponents" for patch 34706742 passed.
Prereq "checkComponents" for patch 34706730 passed.
Prereq "checkComponents" for patch 34706752 passed.
Prereq "checkComponents" for patch 34706749 passed.
Prereq "checkComponents" for patch 34601400 passed.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) "34601400,34706749,34706752,34706719,34601397,34706723,34706727,34706730,34430509,34430473,34706733,34706739,34706742,34706773,34601404" and Oracle Home "/u01/app/oracle/emcc/middleware"...
Sub-patch(es) "34601400,34706749,34706752,34706719,34601397,34706723,34706727,34706730,34430509,34430473,34706733,34706739,34706742,34706773,34601404" are successfully analyzed for Oracle Home "/u01/app/oracle/emcc/middleware"
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/app/oracle/emcc/middleware/cfgtoollogs/omspatcher/2023-07-22_15-43-21PM_SystemPatch_34795383_1"
Prerequisites analysis summary:
-------------------------------
The following sub-patch(es) are applicable:
Featureset Sub-patches Log file
---------- ----------- --------
oracle.sysman.top.oms 34601400,34706749,34706752,34706719,34601397,34706723,34706727,34706730,34430509,34430473,34706733,34706739,34706742,34706773,34601404 34601400,34706749,34706752,34706719,34601397,34706723,34706727,34706730,34430509,34430473,34706733,34706739,34706742,34706773,34601404_opatch2023-07-22_15-43-47PM_1.log
Log file location: /u01/app/oracle/emcc/middleware/cfgtoollogs/omspatcher/34795383/omspatcher_2023-07-22_15-43-23PM_analyze.log
Link com os passos completos para aplicar patch no Oracle Enterprise Manager Cloud Control 13:
https://www.cesardba.com.br/aplicando-patch-13-5-0-8-no-oracle-enterprise-manager-cloud-control-13-5c/