Skip to main content

How to apply RU patch on OEM Agent in Linux


  • Introduction: In this article we will be applying the Agent RU patch 13.5.0.27 (37784425) for OEM 13c or Oracle Managed Services (OMS) Agent of particular target in Linux OS.

  • AgentPatcher: AgentPatcher is an Oracle utility used to apply patches and updates to the Oracle Management Agent component of Oracle Enterprise Manager (OEM) Cloud Control. It is same like OPatch utlity for applying database patches.

  • Prerequisites: Below are the minimum requirements.
    • Downtime required at particular target agent end for 30 mins.
    • Minium 2GB space should be free in mount point for patch & Binary backup.
    • RU Patch 13.5.0.27 (37784425) should be applied on OMS.
    • Download the RU Patch & required AgentPatcher from below link.
    • Agent RU patch 13.5.0.27
      AgentPatcher

  • Environment:
  • OEM
    Hostname oem.oraeasy.com
    OS OL 7.3
    OEM Version 13c Release 5 (13.5.0.27)
    OMS Home /oem/app/oracle/middleware

    Target
    Hostname uat.oraeasy.com
    OS OL 8.5
    Agent Home /u01/app/oracle/agent/agent_13.5.0.0.0


  • Now start the patching agent step by step:
1. As per the patch ReadMe, AgentPatcher version should be 13.9.5.10.0. So let's update that first.

[oracle@uat ~]$ cd /u01/app/oracle/agent/agent_13.5.0.0.0
[oracle@uat agent_13.5.0.0.0]$ ls
agent.rsp    config   instantclient  jdk   lib      OPatch         oui      prereqs         replacebins.sh.template  sbin    ucp
bin          EMStage  inventory      jlib  modules  oracle_common  perl     rda             root.sh                  stage   xsds
cfgtoollogs  install  jdbc           js    ocm      oraInst.loc    plugins  replacebins.sh  root.sh.template         sysman
[oracle@uat agent_13.5.0.0.0]$

[oracle@uat patch]$ cd /tmp/patch
[oracle@uat patch]$ unzip p33355570_135000_Generic_agentpactcher.zip -d /u01/app/oracle/agent/agent_13.5.0.0.0/

[oracle@uat agent_13.5.0.0.0]$ ls
AgentPatcher  cfgtoollogs  install        jdbc  js       ocm            oraInst.loc      perl     rda             replacebins.sh.template  sbin    ucp
agent.rsp     config       instantclient  jdk   lib      OPatch         oui              plugins  readme.txt      root.sh                  stage   xsds
bin           EMStage      inventory      jlib  modules  oracle_common  PatchSearch.xml  prereqs  replacebins.sh  root.sh.template         sysman
[oracle@uat agent_13.5.0.0.0]$
[oracle@uat agent_13.5.0.0.0]$ cd AgentPatcher/
[oracle@uat AgentPatcher]$
[oracle@uat AgentPatcher]$ ls
agentpatcher  agentpatcher.bat  jlib  scripts  version.txt
[oracle@uat AgentPatcher]$
[oracle@uat AgentPatcher]$ ./agentpatcher version
set the oraclehome to proper agenthome
AgentPatcher returns with error code = 1
[oracle@uat AgentPatcher]$
[oracle@uat AgentPatcher]$ export ORACLE_HOME=/u01/app/oracle/agent/agent_13.5.0.0.0
[oracle@uat AgentPatcher]$
[oracle@uat AgentPatcher]$ ./agentpatcher version
AgentPatcher Version: 13.9.5.10.0
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020

AgentPatcher succeeded.
[oracle@uat AgentPatcher]$
2. Now take the precheck.

[oracle@uat AgentPatcher]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 13.5.0.0.0
OMS Version            : 13.5.0.0.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent_inst
Agent Log Directory    : /u01/app/oracle/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent/agent_13.5.0.0.0
Core JAR Location      : /u01/app/oracle/agent/agent_13.5.0.0.0/jlib
Agent Process ID       : 8914
Parent Process ID      : 8875
Agent URL              : https://uat.oraeasy.com:3872/emd/main/
Local Agent URL in NAT : https://uat.oraeasy.com:3872/emd/main/
Repository URL         : https://oem.oraeasy.com:4903/empbs/upload
Started at             : 2025-10-05 14:42:35
Started by user        : oracle
Operating System       : Linux version 5.4.17-2136.300.7.el8uek.x86_64 (amd64)
Number of Targets      : 9
Last Reload            : (none)
Last successful upload                       : 2025-10-05 15:27:31
Last attempted upload                        : 2025-10-05 15:27:31
Total Megabytes of XML files uploaded so far : 0.12
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 26.65%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2025-10-05 15:27:46
Last successful heartbeat to OMS             : 2025-10-05 15:27:46
Next scheduled heartbeat to OMS              : 2025-10-05 15:28:46

---------------------------------------------------------------
Agent is Running and Ready
[oracle@uat AgentPatcher]$

[oracle@uat AgentPatcher]$ ./agentpatcher lspatches
AgentPatcher Automation Tool
Copyright (c) 2021, Oracle Corporation.  All rights reserved.

AgentPatcher version : 13.9.5.10.0
OUI version        : 13.9.4.0.0
Running from       : /u01/app/oracle/agent/agent_13.5.0.0.0
Log file location  : /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2025-10-05_15-25-02PM_1.log

Component Name/Version                            Component Type      System Patch        (Sub)-Patches       Patch Description
------------------------                          -------------       -------------       --------------      ------------------
oracle.sysman.agent.ic/13.5.0.0.0                 Core                N/A                 32313251
                                                                      N/A                 32302527
                                                                      N/A                 32574981

NOTE: N/A indicates that the subpatch mentioned in the Subpatches column was applied as a one-off patch and not as part of any system patch.

AgentPatcher has saved inventory details for the above component at below location.
"/u01/app/oracle/agent/agent_13.5.0.0.0"

For more details on installed patch(es), Please do "/u01/app/oracle/agent/agent_13.5.0.0.0/OPatch/opatch lsinventory -details"

AgentPatcher succeeded.
[oracle@uat AgentPatcher]$
[oracle@uat AgentPatcher]$ echo "Agent version: $(/u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl getversion agent | grep Release)" && /u01/app/oracle/agent/agent_13.5.0.0.0/AgentPatcher/agentpatcher lspatches | grep "Platform Update"

Agent version: Oracle Enterprise Manager Cloud Control 13c Release 5
       Oracle Enterprise Manager Cloud Control Agent 13c Release 5
[oracle@uat AgentPatcher]$
3. Check the target version & its patch on OEM Console as well.

Click on Setup -> Manage Cloud Control -> Agents.

In the RU section for the target "UAT", its showing blank. It means there is no RU patch applied for this target. Click on the target name.

Here you can find all the details for that target. Click on the "Oracle Home & Patch Details" in Configuration section.

Here you can view the patch details which were installed during intial installation.

4. Now unzip the RU patch.

[oracle@uat patch]$ pwd
/tmp/patch
[oracle@uat patch]$ ls
p33355570_135000_Generic_agentpactcher.zip  p37784435_135000_Generic_Agent.zip
[oracle@uat patch]$ unzip p37784435_135000_Generic_Agent.zip
[oracle@uat patch]$ ls
37784435  p33355570_135000_Generic_agentpactcher.zip  p37784435_135000_Generic_Agent.zip  PatchSearch.xml
[oracle@uat patch]$
[oracle@uat patch]$ cd 37784435/
[oracle@uat 37784435]$
[oracle@uat 37784435]$ ls
32968787  33715858  36296415  36335380  36465441  36494123  36620434  36891601  37065576  37731009  37784462  37784503  bundle.xml
33586851  33737099  36331137  36335420  36489152  36604010  36891589  37058885  37731001  37784448  37784475  37885839  README.html
[oracle@uat 37784435]$
5. Now analyze the RU patch before applying to know any issue during patching.

[oracle@uat 37784435]$ ls
32968787  33715858  36296415  36335380  36465441  36494123  36620434  36891601  37065576  37731009  37784462  37784503  bundle.xml
33586851  33737099  36331137  36335420  36489152  36604010  36891589  37058885  37731001  37784448  37784475  37885839  README.html
[oracle@uat 37784435]$
[oracle@uat 37784435]$ export ORACLE_HOME=/u01/app/oracle/agent/agent_13.5.0.0.0
[oracle@uat 37784435]$
[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/AgentPatcher/agentpatcher apply -analyze
AgentPatcher Automation Tool
Copyright (c) 2021, Oracle Corporation.  All rights reserved.

AgentPatcher version : 13.9.5.10.0
OUI version        : 13.9.4.0.0
Running from       : /u01/app/oracle/agent/agent_13.5.0.0.0
Log file location  : /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2025-10-05_15-38-28PM_1.log

AgentPatcher log file: /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/37784435/agentpatcher_2025-10-05_15-38-35PM_analyze.log

Prereq "checkComponents" for patch 37784475 passed.

Prereq "checkComponents" for patch 36331137 passed.

Prereq "checkComponents" for patch 36296415 passed.

Prereq "checkComponents" for patch 37065576 passed.

Prereq "checkComponents" for patch 37784448 passed.

Prereq "checkComponents" for patch 36604010 passed.

Prereq "checkComponents" for patch 36620434 passed.

Prereq "checkComponents" for patch 36335380 passed.

Prereq "checkComponents" for patch 33737099 passed.

Running apply prerequisite checks for sub-patch(es) "37784475,36604010,33737099,36335380,37784448,37065576,36620434,36331137,36296415" and Oracle Home "/u01/app/oracle/agent/agent_13.5.0.0.0"...
Sub-patch(es) "37784475,36604010,33737099,36335380,37784448,37065576,36620434,36331137,36296415" are successfully analyzed for Oracle Home "/u01/app/oracle/agent/agent_13.5.0.0.0"

Complete Summary
================

All log file names referenced below can be accessed from the directory "/u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/2025-10-05_15-38-28PM_SystemPatch_37784435_1"

Prerequisites analysis summary:
-------------------------------

The following sub-patch(es) are applicable:

               Featureset                                                                        Sub-patches                                                                                                             Log file
               ----------                                                                        -----------                                                                                                             --------
  oracle.sysman.top.agent   37784475,36604010,33737099,36335380,37784448,37065576,36620434,36331137,36296415   37784475,36604010,33737099,36335380,37784448,37065576,36620434,36331137,36296415_opatch2025-10-05_15-38-52PM_1.log

The following sub-patches are not needed by any component installed in the Agent system:
37058885,32968787,36891601,33715858,37784503,36891589,37731001,37885839,36494123,37784462,36335420,33586851,36465441,36489152,37731009

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The following patches could not be applied during OPatch execution:
**********************************************************************************
  Patch               Reason
*********           *********
37058885    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
32968787    The Plugin or Core Component "oracle.sysman.bda.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
36891601    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
33715858    The Plugin or Core Component "oracle.sysman.bda.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
37784503    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36891589    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37731001    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37885839    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36494123    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37784462    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36335420    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
33586851    The Plugin or Core Component "oracle.sysman.emfa.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
36465441    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36489152    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37731009    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Log file location: /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/37784435/agentpatcher_2025-10-05_15-38-35PM_analyze.log

AgentPatcher succeeded.
[oracle@uat 37784435]$
6. Now stop the Agent.

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl status agent                                                                   
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 13.5.0.0.0
OMS Version            : 13.5.0.0.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent_inst
Agent Log Directory    : /u01/app/oracle/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent/agent_13.5.0.0.0
Core JAR Location      : /u01/app/oracle/agent/agent_13.5.0.0.0/jlib
Agent Process ID       : 8914
Parent Process ID      : 8875
Agent URL              : https://uat.oraeasy.com:3872/emd/main/
Local Agent URL in NAT : https://uat.oraeasy.com:3872/emd/main/
Repository URL         : https://oem.oraeasy.com:4903/empbs/upload
Started at             : 2025-10-05 14:42:35
Started by user        : oracle
Operating System       : Linux version 5.4.17-2136.300.7.el8uek.x86_64 (amd64)
Number of Targets      : 9
Last Reload            : (none)
Last successful upload                       : 2025-10-05 15:38:52
Last attempted upload                        : 2025-10-05 15:38:52
Total Megabytes of XML files uploaded so far : 0.13
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 26.64%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2025-10-05 15:41:49
Last successful heartbeat to OMS             : 2025-10-05 15:41:49
Next scheduled heartbeat to OMS              : 2025-10-05 15:42:50

---------------------------------------------------------------
Agent is Running and Ready
[oracle@uat 37784435]$

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl stop agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Stopping agent ... stopped.

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent is Not Running
[oracle@uat 37784435]$
7. Now take the backup of OMS_HOME by using below command.

[oracle@uat 37784435]$ tar -cvf /tmp/backup/Agent_HOME.tar /u01/app/oracle/agent/agent_13.5.0.0.0
8. Now apply the RU patch.

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/AgentPatcher/agentpatcher apply
AgentPatcher Automation Tool
Copyright (c) 2021, Oracle Corporation.  All rights reserved.

AgentPatcher version : 13.9.5.10.0
OUI version        : 13.9.4.0.0
Running from       : /u01/app/oracle/agent/agent_13.5.0.0.0
Log file location  : /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2025-10-05_15-43-42PM_1.log

AgentPatcher log file: /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/37784435/agentpatcher_2025-10-05_15-43-48PM_deploy.log

Prereq "checkComponents" for patch 37784475 passed.

Prereq "checkComponents" for patch 36331137 passed.

Prereq "checkComponents" for patch 36296415 passed.

Prereq "checkComponents" for patch 37065576 passed.

Prereq "checkComponents" for patch 37784448 passed.

Prereq "checkComponents" for patch 36604010 passed.

Prereq "checkComponents" for patch 36620434 passed.

Prereq "checkComponents" for patch 36335380 passed.

Prereq "checkComponents" for patch 33737099 passed.

Running apply prerequisite checks for sub-patch(es) "37784475,36604010,33737099,36335380,37784448,37065576,36620434,36331137,36296415" and Oracle Home "/u01/app/oracle/agent/agent_13.5.0.0.0"...
Sub-patch(es) "37784475,36604010,33737099,36335380,37784448,37065576,36620434,36331137,36296415" are successfully analyzed for Oracle Home "/u01/app/oracle/agent/agent_13.5.0.0.0"

To continue, AgentPatcher will do the following:
[Patch and deploy artifacts]   :

Do you want to proceed? [y|n]
y
User Responded with: Y

Applying sub-patch(es) "33737099,36296415,36331137,36335380,36604010,36620434,37065576,37784448,37784475"
Please monitor log file: /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/opatch/opatch2025-10-05_15-43-59PM_1.log

Complete Summary
================

All log file names referenced below can be accessed from the directory "/u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/2025-10-05_15-43-42PM_SystemPatch_37784435_1"

Patching summary:
-----------------

Binaries of the following sub-patch(es) have been applied successfully:

                          Featureset                                                                        Sub-patches                                                                                                             Log file
                          ----------                                                                        -----------                                                                                                             --------
  oracle.sysman.top.agent_13.5.0.0.0   33737099,36296415,36331137,36335380,36604010,36620434,37065576,37784448,37784475   33737099,36296415,36331137,36335380,36604010,36620434,37065576,37784448,37784475_opatch2025-10-05_15-43-59PM_1.log

The following sub-patches are not needed by any component installed in the Agent system:
37058885,32968787,36891601,33715858,37784503,36891589,37731001,37885839,36494123,37784462,36335420,33586851,36465441,36489152,37731009

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The following patches could not be applied during OPatch execution:
**********************************************************************************
  Patch               Reason
*********           *********
37058885    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
32968787    The Plugin or Core Component "oracle.sysman.bda.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
36891601    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
33715858    The Plugin or Core Component "oracle.sysman.bda.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
37784503    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36891589    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37731001    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37885839    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36494123    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37784462    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36335420    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
33586851    The Plugin or Core Component "oracle.sysman.emfa.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
36465441    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
36489152    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
37731009    The Plugin or Core Component "" for which the patch is intended is not deployed in your Enterprise Manager system.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Log file location: /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/37784435/agentpatcher_2025-10-05_15-43-48PM_deploy.log

AgentPatcher succeeded.
[oracle@uat 37784435]$
9. Now take bounce of Agent services and check its status.

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 13.5.0.0.0
OMS Version            : (unknown)
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent_inst
Agent Log Directory    : /u01/app/oracle/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent/agent_13.5.0.0.0
Core JAR Location      : /u01/app/oracle/agent/agent_13.5.0.0.0/jlib
Agent Process ID       : 19864
Parent Process ID      : 19830
Agent URL              : https://uat.oraeasy.com:3872/emd/main/
Local Agent URL in NAT : https://uat.oraeasy.com:3872/emd/main/
Repository URL         : https://oem.oraeasy.com:4903/empbs/upload
Started at             : 2025-10-05 15:48:43
Started by user        : oracle
Operating System       : Linux version 5.4.17-2136.300.7.el8uek.x86_64 (amd64)
Number of Targets      : 9
Last Reload            : (none)
Last successful upload                       : (none)
Last attempted upload                        : (none)
Total Megabytes of XML files uploaded so far : 0
Number of XML files pending upload           : 18
Size of XML files pending upload(MB)         : 0.03
Available disk space on upload filesystem    : 26.45%
Collection Status                            : Collections enabled
Heartbeat Status                             : (none)
Last attempted heartbeat to OMS              : 2025-10-05 15:52:14
Last successful heartbeat to OMS             : (none)
Next scheduled heartbeat to OMS              : 2025-10-05 15:49:24

---------------------------------------------------------------
Agent is Running and Ready
[oracle@uat 37784435]$

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl stop agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Stopping agent ... stopped.
[oracle@uat 37784435]$

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl start agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Starting agent ...................................................................................... started.
[oracle@uat 37784435]$

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 13.5.0.0.0
OMS Version            : 13.5.0.0.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent_inst
Agent Log Directory    : /u01/app/oracle/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent/agent_13.5.0.0.0
Core JAR Location      : /u01/app/oracle/agent/agent_13.5.0.0.0/jlib
Agent Process ID       : 21148
Parent Process ID      : 21114
Agent URL              : https://uat.oraeasy.com:3872/emd/main/
Local Agent URL in NAT : https://uat.oraeasy.com:3872/emd/main/
Repository URL         : https://oem.oraeasy.com:4903/empbs/upload
Started at             : 2025-10-05 15:54:56
Started by user        : oracle
Operating System       : Linux version 5.4.17-2136.300.7.el8uek.x86_64 (amd64)
Number of Targets      : 9
Last Reload            : (none)
Last successful upload                       : 2025-10-05 15:57:47
Last attempted upload                        : 2025-10-05 15:58:38
Total Megabytes of XML files uploaded so far : 0.08
Number of XML files pending upload           : 1
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 26.45%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2025-10-05 15:57:50
Last successful heartbeat to OMS             : 2025-10-05 15:57:50
Next scheduled heartbeat to OMS              : 2025-10-05 15:58:50

---------------------------------------------------------------
Agent is Running and Ready
[oracle@uat 37784435]$
10. Now do the post check.

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/AgentPatcher/agentpatcher lspatches
AgentPatcher Automation Tool
Copyright (c) 2021, Oracle Corporation.  All rights reserved.

AgentPatcher version : 13.9.5.10.0
OUI version        : 13.9.4.0.0
Running from       : /u01/app/oracle/agent/agent_13.5.0.0.0
Log file location  : /u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2025-10-05_16-02-13PM_1.log

Component Name/Version                            Component Type      System Patch        (Sub)-Patches       Patch Description
------------------------                          -------------       -------------       --------------      ------------------
oracle.sysman.si.discovery.plugin/13.5.1          Plugin              37784435            33737099            Oracle Enterprise Manager for Systems Infrastructure 13c Release 5 Plug-in Update 4 (13.5.1.4) for Oracle Management Agent (Discovery)
.0.0

oracle.sysman.agent.ic/13.5.0.0.0                 Core                N/A                 32313251
                                                                      N/A                 32302527
                                                                      N/A                 32574981
                                                                      37784435            36331137            System patch (New) Tracking bug to repackage consolidated UCP patch(ucp.jar from 19.17 + 19.17 version one-off patch(35360109) for the bug 35241630 + 19.17 version one-off patch(35525159 ) for the bug 30718769) as 13.5 EM Agent patch
                                                                      37784435            36296415            System patch(New) Tracking bug to repackage Consolidated JDBC patch (ojdbc8.jar from 19.17 + 19.17 version MLR patch for the bugs 32752229 35201760 ) as 13.5 EM Agent patch

oracle.sysman.emas.discovery.plugin/13.5          Plugin              37784435            36620434            Oracle Enterprise Manager for Fusion Middleware 13c Release 5 Plug-in Update 23 (13.5.1.23) for Oracle Management Agent (Discovery)
.1.0.0

oracle.sysman.db.discovery.plugin/13.5.1          Plugin              37784435            36335380            Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 22 (13.5.1.22) for Oracle Management Agent (Discovery)
.0.0

oracle.sysman.oh.agent.plugin/13.5.0.0.0          Plugin              37784435            37065576            Oracle Enterprise Manager for Oracle Home 13c Release 5 Plug-in Update 25 (13.5.0.25) for Oracle Management Agent

oracle.sysman.db.agent.plugin/13.5.1.0.0          Plugin              37784435            37784448            Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 27 (13.5.1.27) for Oracle Management Agent

oracle.sysman.xa.discovery.plugin/13.5.1          Plugin              37784435            36604010            Oracle Enterprise Manager for Exadata 13c Release 5 Plug-in Update 23 (13.5.1.23) for Oracle Management Agent (Discovery)
.0.0

oracle.sysman.top.agent/13.5.0.0.0                Core                37784435            37784475            Oracle Enterprise Manager 13c Release 5 Platform Update 27 (13.5.0.27) for Oracle Management Agent

NOTE: N/A indicates that the subpatch mentioned in the Subpatches column was applied as a one-off patch and not as part of any system patch.

AgentPatcher has saved inventory details for the above component at below location.
"/u01/app/oracle/agent/agent_13.5.0.0.0"

For more details on installed patch(es), Please do "/u01/app/oracle/agent/agent_13.5.0.0.0/OPatch/opatch lsinventory -details"

AgentPatcher succeeded.
[oracle@uat 37784435]$

[oracle@uat 37784435]$ /u01/app/oracle/agent/agent_13.5.0.0.0/AgentPatcher/agentpatcher lspatches|grep 37784435
oracle.sysman.si.discovery.plugin/13.5.1          Plugin              37784435            33737099            Oracle Enterprise Manager for Systems Infrastructure 13c Release 5 Plug-in Update 4 (13.5.1.4) for Oracle Management Agent (Discovery)
                                                                      37784435            36331137            System patch (New) Tracking bug to repackage consolidated UCP patch(ucp.jar from 19.17 + 19.17 version one-off patch(35360109) for the bug 35241630 + 19.17 version one-off patch(35525159 ) for the bug 30718769) as 13.5 EM Agent patch
                                                                      37784435            36296415            System patch(New) Tracking bug to repackage Consolidated JDBC patch (ojdbc8.jar from 19.17 + 19.17 version MLR patch for the bugs 32752229 35201760 ) as 13.5 EM Agent patch
oracle.sysman.emas.discovery.plugin/13.5          Plugin              37784435            36620434            Oracle Enterprise Manager for Fusion Middleware 13c Release 5 Plug-in Update 23 (13.5.1.23) for Oracle Management Agent (Discovery)
oracle.sysman.db.discovery.plugin/13.5.1          Plugin              37784435            36335380            Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 22 (13.5.1.22) for Oracle Management Agent (Discovery)
oracle.sysman.oh.agent.plugin/13.5.0.0.0          Plugin              37784435            37065576            Oracle Enterprise Manager for Oracle Home 13c Release 5 Plug-in Update 25 (13.5.0.25) for Oracle Management Agent
oracle.sysman.db.agent.plugin/13.5.1.0.0          Plugin              37784435            37784448            Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 27 (13.5.1.27) for Oracle Management Agent
oracle.sysman.xa.discovery.plugin/13.5.1          Plugin              37784435            36604010            Oracle Enterprise Manager for Exadata 13c Release 5 Plug-in Update 23 (13.5.1.23) for Oracle Management Agent (Discovery)
oracle.sysman.top.agent/13.5.0.0.0                Core                37784435            37784475            Oracle Enterprise Manager 13c Release 5 Platform Update 27 (13.5.0.27) for Oracle Management Agent
[oracle@uat 37784435]$

[oracle@uat 37784435]$ echo "Agent version: $(/u01/app/oracle/agent/agent_13.5.0.0.0/bin/emctl getversion agent | grep Release)" && /u01/app/oracle/agent/agent_13.5.0.0.0/AgentPatcher/agentpatcher lspatches | grep "Platform Update"
Agent version: Oracle Enterprise Manager Cloud Control 13c Release 5
       Oracle Enterprise Manager Cloud Control Agent 13c Release 5
oracle.sysman.top.agent/13.5.0.0.0                Core                37784435            37784475            Oracle Enterprise Manager 13c Release 5 Platform Update 27 (13.5.0.27) for Oracle Management Agent
[oracle@uat 37784435]$
11. Verify the RU version & Patch details for that Agent on OEM console as well.


Note: It will take sometime to reflect the patch details for Agent in OEM console.

See below articles related to OEM.

OEM 13.5 Installation on Linux
Add Target in OEM 13.5
Manage Database using OEM
Apply RU patch on OEM


Thank you for reading!

I hope this content has been helpful to you. Your feedback and suggestions are always welcome — feel free to leave a comment or reach out with any queries.

Abhishek Shrivastava

📧 Email: oraeasyy@gmail.com
🌐 Website: www.oraeasy.com

Follow Us

Comments