My Oracle Support Banner

Enterprise Manager Grid Control 10g: Cannot Download and Apply Patches Online with Patch Wizard: Patch Job Failed On Cachepatchfile Step (Doc ID 742741.1)

Last updated on FEBRUARY 04, 2020

Applies to:

Enterprise Manager Base Platform - Version to [Release 10.2]
Information in this document applies to any platform.
Checked for relevance on Feb-18-2013


The Patch Wizard is used to download patches from Metalink (when using the "Online" mode) and to apply them on Agents. There are occasions where this operation could fail if the OMS sits behinds a firewall where very strict rules apply.

Typically, the Patch Job fails on the Cachepatchfile step.

The patch can be uploaded/staged manually and then applied but not in an single job that is: Stage and Apply.

There is the typical signature of this problem in the $OMS_HOME/sysman/log/emoms.trc:

2008-08-14 09:53:31,145 [JobWorker 365212:Thread-278] ERROR executeCommand.417 - CachePatchFile: Connection establishment timed  out
     at HTTPClient.HTTPConnection.getSocket(
     at HTTPClient.HTTPConnection.doConnect(
     at HTTPClient.HTTPConnection.sendRequest(
     at HTTPClient.HTTPConnection.handleRequest(
     at HTTPClient.HTTPResponse.handleResponse(
     at HTTPClient.HTTPResponse.getInputStream(
     at HTTPClient.HttpURLConnection.getInputStream(
     at oracle.sysman.eml.ecm.patch.PatchCache.savePatchZip(
     at oracle.sysman.eml.ecm.patch.PatchCache.cachePatchFile(
     at oracle.sysman.eml.ecm.patch.PatchCache.checkAndDownload(

The daily OPatch Update job fails for the same reason, as it basically tries to download the latest OPatch patches in order to store them in the Software Library.

This is an excerpt of the OPatch Update execution dump as per the following <Note 561068.1>. The getOpatchPatch step shows a failed status :

JOB_ID                              STEP_ID STEP_NAME                         STEP_TYPE STATUS               DISPATCHER_ID OMS                                       START_TIME           END_TIME             ITERATE_PARAM                                                           IDX
-------------------------------- ---------- -------------------------------- ---------- -------------------- ------------- ---------------------------------------- -------------------- -------------------- ---------------------------------------------------------------- ----------
57460371EB350CAFE040400A1FA7190A     439519 OPATCH TEST                               7 FAILED INIT                     -1 <OMS_HOSTNAME>:<EM_HTTP_UPLOAD_PORT>_Management_S       19-SEP-2008 19:50:29 19-SEP-2008 19:53:36                                                                          -1
57460371EB350CAFE040400A1FA7190A     439520  DownloadOPatchPatches                    2 FAILED INIT                     -1 <OMS_HOSTNAME>:<EM_HTTP_UPLOAD_PORT>_Management_S         19-SEP-2008 19:50:29 19-SEP-2008 19:53:36                                                                          -1
57460371EB350CAFE040400A1FA7190A     439521   getOPatchPatch                          1 FAILED INIT                     -1 <OMS_HOSTNAME>:<EM_HTTP_UPLOAD_PORT>_Management_S         19-SEP-2008 19:50:32 19-SEP-2008 19:53:36                                                                          -1


This issue might occur when very strict firewall rules are applied


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.