====== Patch EM 13.5.0.1 to 13.5.0.23 ======
==== Liens utiles ====
[[https://www.dbi-services.com/blog/oem-cloud-control-release-update-to-13-5-0-23/]]
\\
==== 1/ Prérequis ====
* Database 19.11 ou plus. Si 19.18, patch 35046819 nécessaire
* OMSPatcher version 13.9.5.24.0 (p19999993)
\\
==== 2/ Patchs nécessaires ====
__**OPATCH 13.9.4.2.18 FOR EM 13.5**__
* //p28186730_OPATCHforEM_1394218_Generic//
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=463796156094105&patchId=28186730&_adf.ctrl-state=190g4qf49j_25]]
__**OMSPatcher:**__
* //p19999993_OMSPatcher_13.9.5.24_Generic//
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=52342143096241&patchId=19999993&_adf.ctrl-state=tlnoofkqn_225]]
__**OMS:**__
* p36494040_EnterpriseManager_13.0.5.23_Generic.zip
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=52221199505139&patchId=36494040&_adf.ctrl-state=tlnoofkqn_183]]
* p36494050_OracleManagementAgent_13.0.5.23_Generic.zip
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=52271866440374&patchId=36494050&_adf.ctrl-state=tlnoofkqn_204]]
__**jdbs:**__
* p35430934_JDBS_122140_Generic.zip
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=52198840992424&patchId=35430934&_adf.ctrl-state=tlnoofkqn_162]]
* p31657681_JDBS_191000_Generic.zip
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=52180515852868&patchId=31657681&_adf.ctrl-state=tlnoofkqn_141]]
* p34153238_JDBC_122140_Generic.zip
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=383316859190028&patchId=34153238&_adf.ctrl-state=3ykpzmjwz_30]]
__**AGENT:**__
* p36494050_135000_Generic.zip
* [[https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=18076780598095&patchId=36494050&_adf.ctrl-state=17r7th3xlx_52]]
\\
==== 3/ Patching ====
* Variables de base:
export OMS_HOME=/u01/app/oracle/product/EnterpriseManager/oms_home
export ORACLE_HOME=$OMS_HOME
export PATH=$ORACLE_HOME/bin:$PATH
export PATH=$OMS_HOME/OMSPatcher:$PATH
export PATH=$OMS_HOME/OPatch:$PATH
\\
* Liste des Patchs dans /u01/Downloads
[oracle@oem1 oms_home]$ ll /u01/Downloads/
total 10087948
-rwxr-----. 1 oracle oinstall 1897494675 Jan 30 11:49 em13500_linux64-2.zip
-rwxr-----. 1 oracle oinstall 2130750885 Jan 30 11:52 em13500_linux64-3.zip
-rwxr-----. 1 oracle oinstall 1454982045 Jan 30 11:53 em13500_linux64-4.zip
-rwxr-----. 1 oracle oinstall 1494500710 Jan 30 11:55 em13500_linux64-5.zip
-rwxr-----. 1 oracle oinstall 1586801533 Jan 30 11:47 em13500_linux64.bin
drwxr-----. 2 oracle oinstall 4096 Jan 30 17:44 EM_InstallConfFiles
-rwxr-----. 1 oracle oinstall 1322136 Feb 7 14:42 p19999993_OMSPatcher_13.9.5.23.0.zip
-rwxr-----. 1 oracle oinstall 468428 Feb 7 14:43 p28186730_OPATCHforEM_1394218_Generic.zip
-rwxr-----. 1 oracle oinstall 468428 Feb 7 14:43 p31657681_JDBC_191000_Generic.zip
-rwxr-----. 1 oracle oinstall 58787 Feb 7 14:43 p34153238_JDBC_122140_Generic.zip
-rwxr-----. 1 oracle oinstall 1418389 Feb 7 14:43 p35430934_JDBC_122140_Generic.zip
-rwxr-----. 1 oracle oinstall 1489782451 Feb 7 14:44 p36494040_EnterpriseManager_13.0.5.23_Generic.zip
-rwxr-----. 1 oracle oinstall 272446111 Feb 7 14:45 p36494050_OracleManagementAgent_13.0.5.23_Generic.zip
drwxr-----. 10 oracle oinstall 4096 Jan 30 20:08 tmp
* Mise a jour OMSPatch
cd /u01/app/oracle/product/EnterpriseManager/oms_home
mv OMSPatcher/ OMSPatcher.old
unzip /u01/Downloads/p19999993_OMSPatcher_13.9.5.23.0.zip
[oracle@oem1 oms_home]$ OMSPatcher/omspatcher version
OMSPatcher Version: 13.9.5.23.0
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020
OMSPatcher succeeded.
* Patch OPatch EM (on utilise le JDK de l'ORACLE_HOME BDD)
cd /u01/Downloads/
unzip p28186730_OPATCHforEM_1394218_Generic.zip
cd 6880880/
/u01/app/oracle/product/19.0.0/dbhome_1/jdk/bin/java -jar /u01/Downloads/6880880/opatch_generic.jar -silent oracle_home=/u01/app/oracle/product/EnterpriseManager/oms_home
[oracle@oem1 6880880]$ /u01/app/oracle/product/EnterpriseManager/oms_home/OPatch/opatch version
OPatch Version: 13.9.4.2.18
OPatch succeeded.
* Opatch EM
unzip p31657681_JDBC_191000_Generic.zip
unzip p34153238_JDBC_122140_Generic.zip
unzip p35430934_JDBC_122140_Generic.zip
/u01/app/oracle/product/EnterpriseManager/oms_home/bin/emctl stop oms -force -all
cd /u01/Downloads/31657681
/u01/app/oracle/product/EnterpriseManager/oms_home/OPatch/opatch apply -silent
cd /u01/Downloads/34153238
/u01/app/oracle/product/EnterpriseManager/oms_home/OPatch/opatch apply -silent
cd /u01/Downloads/35430934
/u01/app/oracle/product/EnterpriseManager/oms_home/OPatch/opatch apply -silent
/u01/app/oracle/product/EnterpriseManager/oms_home/OPatch/opatch lsinv | grep applied
Patch 35430934 : applied on Sun Feb 02 21:53:39 CET 2025
Patch 34153238 : applied on Sun Feb 02 21:52:56 CET 2025
Patch 31657681 : applied on Sun Feb 02 21:51:28 CET 2025
Patch 32458315 : applied on Sat Feb 01 21:22:41 CET 2025
Patch 32412974 : applied on Sat Feb 01 21:22:05 CET 2025
Patch 31818221 : applied on Sat Feb 01 21:21:54 CET 2025
Patch 31808404 : applied on Sat Feb 01 21:21:47 CET 2025
Patch 31708760 : applied on Sat Feb 01 21:21:41 CET 2025
Patch 31666198 : applied on Sat Feb 01 21:21:35 CET 2025
Patch 30152128 : applied on Sat Feb 01 21:21:29 CET 2025
Patch 26626168 : applied on Sat Feb 01 21:21:23 CET 2025
Patch 122146 : applied on Sat Feb 01 21:21:12 CET 2025
Patch 32253037 : applied on Sat Feb 01 21:20:25 CET 2025
* OMSPatch
oracle@oem1 Downloads]$ /u01/app/oracle/product/EnterpriseManager/oms_home/bin/emctl start oms -admin_only
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Starting Admin Server only...
Admin Server Successfully Started
[oracle@oem1 Downloads]$ /u01/app/oracle/product/EnterpriseManager/oms_home/bin/emctl status oms
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
WebTier is Down
Oracle Management Server is Down
JVMD Engine is Down
unzip /u01/Downloads/p36494040_EnterpriseManager_13.0.5.23_Generic.zip
cd /u01/Downloads/36494040
* dry run
/u01/app/oracle/product/EnterpriseManager/oms_home/OMSPatcher/omspatcher apply -analyze
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.5.23.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/EnterpriseManager/oms_home
Log file location : /u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/opatch2025-02-02_22-09-26PM_1.log
OMSPatcher log file: /u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/37057635/omspatcher_2025-02-02_22-09-30PM_analyze.log
Please enter OMS weblogic admin server URL(t3s://oem1.labo.local:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
Enter DB user name : sys
Enter 'sys' password :
Checking if current repository database is a supported version
Current repository database version is supported
Prereq "checkComponents" for patch 37051009 passed.
Prereq "checkComponents" for patch 36752903 passed.
Prereq "checkComponents" for patch 37051110 passed.
Prereq "checkComponents" for patch 37051018 passed.
Prereq "checkComponents" for patch 37051029 passed.
Prereq "checkComponents" for patch 37051095 passed.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) "37051009,37051095,37051018,36752903,37051110,37051029" and Oracle Home "/u01/app/oracle/product/EnterpriseManager/oms_home"...
Sub-patch(es) "37051009,37051095,37051018,36752903,37051110,37051029" are successfully analyzed for Oracle Home "/u01/app/oracle/product/EnterpriseManager/oms_home"
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/2025-02-02_22-09-26PM_SystemPatch_37057635_1"
Prerequisites analysis summary:
-------------------------------
The following sub-patch(es) are applicable:
Featureset Sub-patches Log file
---------- ----------- --------
oracle.sysman.top.oms 37051009,37051095,37051018,36752903,37051110,37051029 37051009,37051095,37051018,36752903,37051110,37051029_opatch2025-02-02_22-10-04PM_1.log
The following sub-patches are not needed by any component installed in the OMS system:
35582217,34430509,36752930,37051051,35854914,36752809,36329046,36752861,36752891
Log file location: /u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/37057635/omspatcher_2025-02-02_22-09-30PM_analyze.log
OMSPatcher succeeded.
* Patch
[oracle@oem1]$ /u01/app/oracle/product/EnterpriseManager/oms_home/OMSPatcher/omspatcher apply
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.5.23.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/EnterpriseManager/oms_home
Log file location : /u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/opatch2025-02-07_16-50-21PM_1.log
OMSPatcher log file: /u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/36494040/omspatcher_2025-02-07_16-50-29PM_apply.log
Please enter OMS weblogic admin server URL(t3s://gvacoeoem.corp.sch.ch:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
Enter DB user name : sys
Enter 'sys' password :
Checking if current repository database is a supported version
Current repository database version is supported
Prereq "checkComponents" for patch 36487738 passed.
Prereq "checkComponents" for patch 36329231 passed.
Prereq "checkComponents" for patch 36487989 passed.
Prereq "checkComponents" for patch 36487743 passed.
Prereq "checkComponents" for patch 36487747 passed.
Prereq "checkComponents" for patch 36487829 passed.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) "36487738,36487747,36487989,36487829,36487743,36329231" and Oracle Home "/u01/app/oracle/product/EnterpriseManager/oms_home"...
Sub-patch(es) "36487738,36487747,36487989,36487829,36487743,36329231" are successfully analyzed for Oracle Home "/u01/app/oracle/product/EnterpriseManager/oms_home"
To continue, OMSPatcher will do the following:
[Patch and deploy artifacts] : Apply sub-patch(es) [ 36329231 36487738 36487743 36487747 36487829 36487989 ]
Apply RCU artifact with patch "/u01/app/oracle/product/EnterpriseManager/oms_home/.omspatcher_storage/36487738_Aug_3_2024_00_57_51/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/EnterpriseManager/oms_home/.omspatcher_storage/36329231_May_8_2024_02_03_34/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/EnterpriseManager/oms_home/.omspatcher_storage/36487989_Aug_3_2024_02_10_51/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/EnterpriseManager/oms_home/.omspatcher_storage/36487743_Aug_3_2024_02_08_52/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/EnterpriseManager/oms_home/.omspatcher_storage/36487747_Aug_3_2024_02_09_46/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/EnterpriseManager/oms_home/.omspatcher_storage/36487829_Aug_3_2024_02_11_15/original_patch";
Register MRS artifact "commands";
Register MRS artifact "omsPropertyDef";
Register MRS artifact "targetType";
Register MRS artifact "chargeback";
Register MRS artifact "default_collection";
Register MRS artifact "assoc";
Register MRS artifact "jobTypes";
Register MRS artifact "systemStencil";
Register MRS artifact "procedures";
Register MRS artifact "discovery";
Register MRS artifact "EcmMetadataOnlyRegistration";
Register MRS artifact "swlib";
Register MRS artifact "OracleCertifiedTemplate";
Register MRS artifact "namedQuery";
Register MRS artifact "TargetPrivilege";
Register MRS artifact "CredStoreMetadata";
Register MRS artifact "storeTargetType";
Register MRS artifact "gccompliance";
Register MRS artifact "compression";
Register MRS artifact "SecurityClassManager";
Register MRS artifact "OutOfBoxRole";
Register MRS artifact "eventSpecificCustmzn";
Register MRS artifact "report";
Register MRS artifact "namedsql";
Register MRS artifact "runbooks";
Register MRS artifact "derivedAssocs"
Do you want to proceed? [y|n]
y
User Responded with: Y
Stopping the OMS.....
Please monitor log file: /u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/2025-02-07_16-56-34PM_SystemPatch_36494040_9/stop_oms_2025-02-07_16-56-34PM.log
[...]
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/2025-02-13_22-16-46PM_SystemPatch_37057635_112"
Patching summary:
-----------------
Binaries of the following sub-patch(es) have been applied successfully:
Featureset Sub-patches Log file
---------- ----------- --------
oracle.sysman.top.oms_13.5.0.0.0 36752903,37051009,37051018,37051029,37051095,37051110 36752903,37051009,37051018,37051029,37051095,37051110_opatch2025-02-13_21-27-14PM_1.log
The following sub-patches are not needed by any component installed in the OMS system:
35582217,34430509,36752930,37051051,35854914,36752809,36329046,36752861,36752891
Deployment summary:
-------------------
The following artifact(s) have been successfully deployed:
Artifacts Log file
--------- --------
SQL rcu_applypatch_original_patch_2025-02-13_21-42-18PM.log
SQL rcu_applypatch_original_patch_2025-02-13_21-45-10PM.log
SQL rcu_applypatch_original_patch_2025-02-13_21-45-29PM.log
SQL rcu_applypatch_original_patch_2025-02-13_21-45-50PM.log
SQL rcu_applypatch_original_patch_2025-02-13_21-46-15PM.log
SQL rcu_applypatch_original_patch_2025-02-13_21-46-54PM.log
MRS-commands emctl_register_commands_2025-02-13_21-47-23PM.log
MRS-commands emctl_register_commands_2025-02-13_21-47-35PM.log
MRS-commands emctl_register_commands_2025-02-13_21-47-38PM.log
MRS-omsPropertyDef emctl_register_omsPropertyDef_2025-02-13_21-47-42PM.log
MRS-omsPropertyDef emctl_register_omsPropertyDef_2025-02-13_21-47-47PM.log
MRS-omsPropertyDef emctl_register_omsPropertyDef_2025-02-13_21-47-50PM.log
MRS-targetType emctl_register_targetType_2025-02-13_21-47-53PM.log
MRS-targetType emctl_register_targetType_2025-02-13_21-48-59PM.log
MRS-targetType emctl_register_targetType_2025-02-13_21-51-21PM.log
MRS-targetType emctl_register_targetType_2025-02-13_21-52-00PM.log
MRS-targetType emctl_register_targetType_2025-02-13_22-03-49PM.log
MRS-chargeback emctl_register_chargeback_2025-02-13_22-04-26PM.log
MRS-chargeback emctl_register_chargeback_2025-02-13_22-04-29PM.log
MRS-default_collection emctl_register_default_collection_2025-02-13_22-04-32PM.log
MRS-default_collection emctl_register_default_collection_2025-02-13_22-05-05PM.log
MRS-default_collection emctl_register_default_collection_2025-02-13_22-06-35PM.log
MRS-default_collection emctl_register_default_collection_2025-02-13_22-06-50PM.log
MRS-default_collection emctl_register_default_collection_2025-02-13_22-09-03PM.log
MRS-assoc emctl_register_assoc_2025-02-13_22-09-19PM.log
MRS-assoc emctl_register_assoc_2025-02-13_22-09-22PM.log
MRS-assoc emctl_register_assoc_2025-02-13_22-09-25PM.log
MRS-jobTypes emctl_register_jobTypes_2025-02-13_22-09-29PM.log
MRS-jobTypes emctl_register_jobTypes_2025-02-13_22-09-37PM.log
MRS-jobTypes emctl_register_jobTypes_2025-02-13_22-09-41PM.log
MRS-jobTypes emctl_register_jobTypes_2025-02-13_22-09-45PM.log
MRS-jobTypes emctl_register_jobTypes_2025-02-13_22-09-53PM.log
MRS-systemStencil emctl_register_systemStencil_2025-02-13_22-09-57PM.log
MRS-systemStencil emctl_register_systemStencil_2025-02-13_22-10-01PM.log
MRS-systemStencil emctl_register_systemStencil_2025-02-13_22-10-15PM.log
MRS-systemStencil emctl_register_systemStencil_2025-02-13_22-10-25PM.log
MRS-procedures emctl_register_procedures_2025-02-13_22-10-31PM.log
MRS-procedures emctl_register_procedures_2025-02-13_22-10-35PM.log
MRS-procedures emctl_register_procedures_2025-02-13_22-10-39PM.log
MRS-procedures emctl_register_procedures_2025-02-13_22-10-44PM.log
MRS-procedures emctl_register_procedures_2025-02-13_22-10-53PM.log
MRS-discovery emctl_register_discovery_2025-02-13_22-10-58PM.log
MRS-discovery emctl_register_discovery_2025-02-13_22-11-02PM.log
MRS-discovery emctl_register_discovery_2025-02-13_22-11-05PM.log
MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2025-02-13_22-11-08PM.log
MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2025-02-13_22-11-15PM.log
MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2025-02-13_22-11-39PM.log
MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2025-02-13_22-11-45PM.log
MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2025-02-13_22-11-50PM.log
MRS-swlib emctl_register_swlib_2025-02-13_22-11-55PM.log
MRS-swlib emctl_register_swlib_2025-02-13_22-12-01PM.log
MRS-swlib emctl_register_swlib_2025-02-13_22-12-06PM.log
MRS-swlib emctl_register_swlib_2025-02-13_22-12-17PM.log
MRS-OracleCertifiedTemplate emctl_register_OracleCertifiedTemplate_2025-02-13_22-12-23PM.log
MRS-namedQuery emctl_register_namedQuery_2025-02-13_22-12-31PM.log
MRS-namedQuery emctl_register_namedQuery_2025-02-13_22-12-36PM.log
MRS-namedQuery emctl_register_namedQuery_2025-02-13_22-12-39PM.log
MRS-TargetPrivilege emctl_register_TargetPrivilege_2025-02-13_22-12-45PM.log
MRS-CredStoreMetadata emctl_register_CredStoreMetadata_2025-02-13_22-12-52PM.log
MRS-CredStoreMetadata emctl_register_CredStoreMetadata_2025-02-13_22-12-55PM.log
MRS-CredStoreMetadata emctl_register_CredStoreMetadata_2025-02-13_22-12-58PM.log
MRS-storeTargetType emctl_register_storeTargetType_2025-02-13_22-13-02PM.log
MRS-storeTargetType emctl_register_storeTargetType_2025-02-13_22-13-08PM.log
MRS-storeTargetType emctl_register_storeTargetType_2025-02-13_22-13-22PM.log
MRS-storeTargetType emctl_register_storeTargetType_2025-02-13_22-13-27PM.log
MRS-storeTargetType emctl_register_storeTargetType_2025-02-13_22-13-39PM.log
MRS-gccompliance emctl_register_gccompliance_2025-02-13_22-13-45PM.log
MRS-compression emctl_register_compression_2025-02-13_22-15-06PM.log
MRS-compression emctl_register_compression_2025-02-13_22-15-10PM.log
MRS-compression emctl_register_compression_2025-02-13_22-15-13PM.log
MRS-compression emctl_register_compression_2025-02-13_22-15-16PM.log
MRS-compression emctl_register_compression_2025-02-13_22-15-20PM.log
MRS-SecurityClassManager emctl_register_SecurityClassManager_2025-02-13_22-15-23PM.log
MRS-SecurityClassManager emctl_register_SecurityClassManager_2025-02-13_22-15-27PM.log
MRS-OutOfBoxRole emctl_register_OutOfBoxRole_2025-02-13_22-15-31PM.log
MRS-eventSpecificCustmzn emctl_register_eventSpecificCustmzn_2025-02-13_22-15-34PM.log
MRS-report emctl_register_report_2025-02-13_22-15-37PM.log
MRS-namedsql emctl_register_namedsql_2025-02-13_22-15-41PM.log
MRS-runbooks emctl_register_runbooks_2025-02-13_22-15-44PM.log
MRS-derivedAssocs emctl_register_derivedAssocs_2025-02-13_22-15-48PM.log
MRS-derivedAssocs emctl_register_derivedAssocs_2025-02-13_22-15-52PM.log
MRS-derivedAssocs emctl_register_derivedAssocs_2025-02-13_22-15-57PM.log
MRS-derivedAssocs emctl_register_derivedAssocs_2025-02-13_22-16-01PM.log
MRS-derivedAssocs emctl_register_derivedAssocs_2025-02-13_22-16-07PM.log
Log file location: /u01/app/oracle/product/EnterpriseManager/oms_home/cfgtoollogs/omspatcher/37057635/omspatcher_2025-02-13_21-26-38PM_apply.log
OMSPatcher succeeded.
[oracle@oem1 37057635]$
[oracle@oem1 37057635]$
[oracle@oem1 37057635]$ emc
emcli emcli.bat emctl emctl_ctrl_extn.properties emctl.pl emctl.prebug_34334313.orig emctl.template
[oracle@oem1 37057635]$ emctl status oms
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up
\\
== ERROR ==
OMSPatch failure:
[Jan 24, 2024 10:26:42 AM] DB user name: SYSMAN is used for db connection
[Jan 24, 2024 10:26:42 AM] Executing Stop agent ....
[Jan 24, 2024 10:26:42 AM] The agent is -------------
[Jan 24, 2024 10:26:42 AM] The command executed is /bin/emctl stop agent
[Jan 24, 2024 10:26:42 AM] ###### .getNormalMessage Cannot run program "/bin/emctl": error=2, No such file or directory
[Jan 24, 2024 10:26:42 AM] ******** getErrorMessage Cannot run program "/bin/emctl": error=2, No such file or directory
[Jan 24, 2024 10:26:42 AM] Failed to stop agent
[Jan 24, 2024 10:26:42 AM] Failed to stop agent
* Il faut désinstaller l'agent
perl $AGENT_HOME/sysman/install/AgentDeinstall.pl -agentHome $AGENT_HOME
* Le réinstaller
A FAIRE