EM 13.2: One-off Monitoring Agent Plugin Patches Are Not Applied as part of the Enterprise Manager 13c Cloud Control Agent Push Deployment (Doc ID 2301853.1)

Last updated on SEPTEMBER 05, 2017

Applies to:

Enterprise Manager Base Platform - Version 13.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Enterprise Manager (EM) 13.2 Cloud Control installed on Oracle Linux 6 x86-64

Patches for the EM 13.2 Cloud Control Agent can be applied in the process of Agent deployment as described in this reference:

Enterprise Manager Cloud Control Advanced Installation and Configuration Guide
Release 13.2
Appendix C Applying Patches to Oracle Management Agents While Deploying or Upgrading Them

These EM 13.2 Cloud Control Agent patches are staged in <Middleware>/oneoffs/ in order to take advantage of patching during deployment:

p26302989_132000_Generic.zip [Patch 26302989: EM-AGENT Bundle Patch 13.2.0.0.170731]
p26404894_132200_Generic.zip [Patch 26404894: em db plugin bundle patch 13.2.2.0.170731 (Agent Monitoring)]
p25987111_132200_Generic.zip [Patch 25987111: EM SI Plugin Bundle Patch 13.2.2.0.170531 (Agent side - monitoring)]

 

During deployment, the one-offs are copied to the target Agent:

/u01/app/Middleware/oneoffs> ls -lrt
total 23160
drwxr-x--- 4 oracle oinstall 4096 May 22 11:50 25987111
drwxr-x--- 4 oracle oinstall 4096 May 22 11:50 25987091
drwxrwxr-x 4 oracle oinstall 4096 Jul 13 10:13 26302989
drwxr-x--- 4 oracle oinstall 4096 Jul 13 10:19 26404894
-rw-rw-r-- 1 oracle oinstall 8051 Jul 31 10:27 PatchSearch.xml
-rwxr-xr-x 1 oracle oinstall 434668 Aug 25 12:26 p26404894_132200_Generic.zip
-rwxr-xr-x 1 oracle oinstall 21534524 Aug 25 12:26 p26302989_132000_Generic.zip
-rwxr-xr-x 1 oracle oinstall 1627584 Aug 25 12:26 p25987111_132200_Generic.zip
-rwxr-xr-x 1 oracle oinstall 26133 Aug 25 12:26 applypatchesonapplicablehome.pl

 

But not all of them are applied during deployment, as an inventory query on the new Agent Oracle Home shows:

Interim patches (3) :

Patch 26302989 : applied on Fri Aug 25 12:28:05 IST 2017
Unique Patch ID: 21418127
Patch description: "EM-AGENT Bundle Patch 13.2.0.0.170731"
Created on 10 Jul 2017, 12:24:36 hrs PST8PDT
Bugs fixed:
26302989, 26121439, 24798029, 25786643, 25632008, 26113746, 23756848
26084422, 25704980, 25603661, 25829879, 25950674, 25136887, 25924717
25070243, 25907307, 25922043, 25607480, 25740081, 25450062, 25460315
25656802, 25337437, 25484249, 23638365, 25580746, 25718287, 25414194
23478148, 25297713, 25342677, 25125856, 25113676, 24598039, 25291403
25214037, 25105153, 25105107, 25185188, 24672237, 24653896, 24934732
23268700, 25105555, 24415605, 24303614, 24697787, 24588124, 24456370
24447221, 24841013, 24923633, 22504387

Patch 25610702 : applied on Fri Aug 25 12:27:59 IST 2017
Unique Patch ID: 21418127
Created on 28 Feb 2017, 09:35:34 hrs PST8PDT
Bugs fixed:
25610702

Patch 24470104 : applied on Fri Aug 25 12:26:34 IST 2017
Unique Patch ID: -1471524899
Created on 18 Aug 2016, 05:54:59 hrs PST8PDT
Bugs fixed:
24011099, 19030178

Notice that Patch 26302989 is installed with the Agent, but Patch 26404894 and Patch 25987111 are not.

 

This error is seen in the <agent base directory>/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch<date_time>_1.log:

[Aug 25, 2017 12:27:19 PM] OPatch invoked as follows: 'checkComponents -phbasedir /u01/app/Middleware/oneoffs/25987111 -oh /u01/app/Middleware/agent_13.2.0.0.0 -invPtrloc /u01/app/Middleware/agent_13.2.0.0.0/oraInst.loc '
[Aug 25, 2017 12:27:19 PM] OUI-67077:
Oracle Home : /u01/app/Middleware/agent_13.2.0.0.0
Central Inventory : /u01/app/oraInventory
from : /u01/app/Middleware/agent_13.2.0.0.0/oraInst.loc
OPatch version : 13.8.0.0.0
OUI version : 13.8.0.0.0
OUI location : /u01/app/Middleware/agent_13.2.0.0.0/oui
Log file location : /u01/app/Middleware/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2017-08-25_12-27-12PM_1.log
[Aug 25, 2017 12:27:19 PM] Patch history file: /u01/app/Middleware/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch_history.txt
[Aug 25, 2017 12:27:19 PM] OPatch detects the Middleware Home as "/u01/app/Middleware"
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-1] : after installInventory.getAllCompsVect() call : 35 (MB)
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-2] : after loading rawOneOffList35 (MB)
[Aug 25, 2017 12:27:25 PM] Invoking utility "checkcomponents"
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-1] : after installInventory.getAllCompsVect() call : 37 (MB)
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-2] : after loading rawOneOffList37 (MB)
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-3] : before loading cooked one off : 38 (MB)
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-4] : after filling cookedOneOffs and when inventory is loaded.. : 38 (MB)
[Aug 25, 2017 12:27:25 PM] Prereq checkComponents returned without execution.
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-1] : after installInventory.getAllCompsVect() call : 38 (MB)
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-2] : after loading rawOneOffList38 (MB)
[Aug 25, 2017 12:27:25 PM] [OPSR-MEMORY-3] : before loading cooked one off : 39 (MB)
[Aug 25, 2017 12:27:26 PM] [OPSR-MEMORY-4] : after filling cookedOneOffs and when inventory is loaded.. : 21 (MB)
[Aug 25, 2017 12:27:26 PM] OUI-67073:UtilSession failed: None of the Oracle Homes registered in central inventory are applicable for the input patch(es).
[Aug 25, 2017 12:27:26 PM] Finishing UtilSession at Fri Aug 25 12:27:26 IST 2017
[Aug 25, 2017 12:27:26 PM] Stack Description: java.lang.RuntimeException: None of the Oracle Homes registered in central inventory are applicable for the input patch(es).
[Aug 25, 2017 12:27:26 PM] StackTrace: oracle.opatch.opatchutil.checkComponents.checkComponents(checkComponents.java:125)
[Aug 25, 2017 12:27:26 PM] StackTrace: oracle.opatch.opatchutil.OUSession.checkcomponents(OUSession.java:2702)
[Aug 25, 2017 12:27:26 PM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Aug 25, 2017 12:27:26 PM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[Aug 25, 2017 12:27:26 PM] StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Aug 25, 2017 12:27:26 PM] StackTrace: java.lang.reflect.Method.invoke(Method.java:606)
[Aug 25, 2017 12:27:26 PM] StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:335)
[Aug 25, 2017 12:27:26 PM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2588)
[Aug 25, 2017 12:27:26 PM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:640)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms