EM13c: OMSPatcher Analyze Command For 13c OMS Fails With Error "OMSPatcher failed with error code 73" (Doc ID 2130070.1)

Last updated on APRIL 22, 2016

Applies to:

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

Symptoms

Analyzing patch 22920724 for 13c OMS fails with following error:
===============================
$ omspatcher apply Patch_22920724_location -analyze
OMSPatcher Automation Tool
Copyright (c) 2015, Oracle Corporation. All rights reserved.


OMSPatcher version : 13.6.0.0.0
OUI version : 13.6.0.0.0
Running from :<13c_MIDDLEWARE_HOME>
Log file location :<13c_MIDDLEWARE_HOME>/cfgtoollogs/omspatcher/opatch<timestamp>_1.log

java.lang.RuntimeException: IPMReadServices or IPMRWServices has not been initialized
  at oracle.opatch.ipm.IPMReadServices.getRawInventory(IPMReadServices.java:144)
  at oracle.opatch.ipm.IPMReadServices.loadInventory(IPMReadServices.java:1016)
  at oracle.opatch.opatchsdk.OPatchContext.loadInventory(OPatchContext.java:531)
  at oracle.opatch.opatchsdk.OPatchContext.(OPatchContext.java:500)
  at oracle.opatch.opatchsdk.OPatchContext.getInstance(OPatchContext.java:182)
  at oracle.opatchauto.oms.OMSApplySession.process(OMSApplySession.java:194)
  at oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:672)
  at oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:795)
OMSPatcher failed: OMSPatcher was not able to read patches from input patch location.
Log file location: /so1/oracle/cfgtoollogs/omspatcher/opatch2016-04-20_14-40-16PM_1.log

OMSPatcher failed with error code 73
=============================

From <13c_MIDDLEWARE_HOME>/cfgtoollogs/omspatcher/opatch<timestamp>_1.log:
=================
java.lang.RuntimeException: IPMReadServices or IPMRWServices has not been initialized
at oracle.opatch.ipm.IPMReadServices.getRawInventory(IPMReadServices.java:144)
at oracle.opatch.ipm.IPMReadServices.loadInventory(IPMReadServices.java:1016)
at oracle.opatch.opatchsdk.OPatchContext.loadInventory(OPatchContext.java:531)
at oracle.opatch.opatchsdk.OPatchContext.<init>(OPatchContext.java:500)
at oracle.opatch.opatchsdk.OPatchContext.getInstance(OPatchContext.java:182)
at oracle.opatchauto.oms.OMSApplySession.process(OMSApplySession.java:194)
at oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:672)
at oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:795)
[Apr 20, 2016 2:40:17 PM] Stack Description: oracle.opatch.opatchsdk.OPatchException: Cannot access inventory of the Oracle Home..
[Apr 20, 2016 2:40:17 PM] StackTrace: oracle.opatch.opatchsdk.OPatchContext.loadInventory(OPatchContext.java:542)
[Apr 20, 2016 2:40:17 PM] StackTrace: oracle.opatch.opatchsdk.OPatchContext.<init>(OPatchContext.java:500)
[Apr 20, 2016 2:40:17 PM] StackTrace: oracle.opatch.opatchsdk.OPatchContext.getInstance(OPatchContext.java:182)
[Apr 20, 2016 2:40:17 PM] StackTrace: oracle.opatchauto.oms.OMSApplySession.process(OMSApplySession.java:194)
[Apr 20, 2016 2:40:17 PM] StackTrace: oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:672)
[Apr 20, 2016 2:40:17 PM] StackTrace: oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:795)
[Apr 20, 2016 2:40:17 PM] Stack Description: java.lang.RuntimeException: OMSPatcher was not able to read patches from input patch location.
==============================

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