My Oracle Support Banner

EM 13c : When Attempting To Analyze Patch Failing With Error :"Not able to set prereq OPatchPatch patches for prereq tests" (Doc ID 2660546.1)

Last updated on MARCH 12, 2021

Applies to:

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

Symptoms

When attempting to analyze any patch getting the below error :

opatch<timestamp>.log

java.lang.RuntimeException: Not able to set prereq OPatchPatch patches for prereq tests.
  at java.io.FileOutputStream.open(Native Method)
  at java.io.FileOutputStream.(FileOutputStream.java:221)
  at java.io.FileOutputStream.(FileOutputStream.java:171)
  at java.io.FileWriter.(FileWriter.java:90)
  at oracle.opatch.opatchsdk.OPatchContext.setPrereqPatchesToTest(OPatchContext.java:1471)
  at oracle.opatch.opatchsdk.OPatchContext.setPrereqPatchesToTest(OPatchContext.java:1463)
  at oracle.opatchauto.oms.nodeframework.OracleHomePatchMapUtil.getListOfCompatibleHomesForPatch(OracleHomePatchMapUtil.java:735)
  at oracle.opatchauto.oms.nodeframework.OracleHomePatchMapUtil.getApplyPatchOHMap(OracleHomePatchMapUtil.java:390)
  at oracle.opatchauto.oms.OMSApplySession.process(OMSApplySession.java:381)
  at oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:691)
  at oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:814)
Not able to set prereq OPatchPatch patches for prereq tests.
java.lang.RuntimeException: java.lang.RuntimeException: Not able to set prereq OPatchPatch patches for prereq tests.
  at oracle.opatchauto.oms.nodeframework.OracleHomePatchMapUtil.getListOfCompatibleHomesForPatch(OracleHomePatchMapUtil.java:791)
  at oracle.opatchauto.oms.nodeframework.OracleHomePatchMapUtil.getApplyPatchOHMap(OracleHomePatchMapUtil.java:390)
  at oracle.opatchauto.oms.OMSApplySession.process(OMSApplySession.java:381)
  at oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:691)
  at oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:814)
Caused by: java.lang.RuntimeException: Not able to set prereq OPatchPatch patches for prereq tests.
  at java.io.FileOutputStream.open(Native Method)
  at java.io.FileOutputStream.(FileOutputStream.java:221)
  at java.io.FileOutputStream.(FileOutputStream.java:171)
  at java.io.FileWriter.(FileWriter.java:90)
  at oracle.opatch.opatchsdk.OPatchContext.setPrereqPatchesToTest(OPatchContext.java:1471)
  at oracle.opatch.opatchsdk.OPatchContext.setPrereqPatchesToTest(OPatchContext.java:1463)
  at oracle.opatchauto.oms.nodeframework.OracleHomePatchMapUtil.getListOfCompatibleHomesForPatch(OracleHomePatchMapUtil.java:735)
  ... 4 more
java.lang.RuntimeException: Not able to set prereq OPatchPatch patches for prereq tests.
[ Error during Get weblogic Admin Server information Phase]. Detail: OMSPatcher was not able to find right interview inputs.
OMSPatcher failed: OPatch was not able to get Patch-Oracle Home map.
Log file location:<OMS_HOME>cfgtoollogs/omspatcher/Patch number/omspatcher_<timestamp_analyze.log

Recommended actions: Please correct the interview inputs and run opatchauto again.

OMSPatcher failed with error code 231

 

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.