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 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.
Checked for relevance on Feb-18-2013

Symptoms

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 em.jobs executeCommand.417 - CachePatchFile:
java.io.InterruptedIOException: Connection establishment timed  out
     at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3283)
     at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4040)
     at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3019)
     at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2859)
     at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:769)
     at HTTPClient.HTTPResponse.getInputStream(HTTPResponse.java:577)
     at HTTPClient.HttpURLConnection.getInputStream(HttpURLConnection.java:548)
     at oracle.sysman.eml.ecm.patch.PatchCache.savePatchZip(PatchCache.java:621)
     at oracle.sysman.eml.ecm.patch.PatchCache.cachePatchFile(PatchCache.java:252)
     at oracle.sysman.eml.ecm.patch.PatchCache.checkAndDownload(PatchCache.java:560)
     at oracle.sysman.emdrep.jobs.commands.CachePatchFile.executeCommand(CachePatchFile.java:287)
     at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:825)
     at  oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:708)
     at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260) 
    

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

Cause

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
Symptoms
Cause
Solution
References

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