My Oracle Support Banner

EM 13c: Enterprise Manager 13c Cloud Control OMSPatcher lspatches Command For 13c OMS Fails With Error: OMSPatcher failed with error code 25 (Doc ID 2130062.1)

Last updated on FEBRUARY 02, 2018

Applies to:

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

Symptoms

Listing patches for the Enterprise Manager (EM) 13.1 Cloud Control OMS using "omspatcher lspatches" command fails with following error:
================
$ omspatcher lspatches
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 : /u01/app/middle13c
Log file location : /u01/app/middle13c/cfgtoollogs/omspatcher/opatch2016-04-21_11-05-36AM_1.log

OMSPatcher failed with error code 255
================

From 13c_MIDDLEWARE_HOME/cfgtoollogs/omspatcher/opatch2016-04-21_11-05-36AM_1.log:
=========================
[Apr 21, 2016 11:05:36 AM] OMSPatcher invoked as follows: 'lspatches -invPtrLoc /u01/app/middle13c/oraInst.loc '
[Apr 21, 2016 11:05:36 AM] OMSPatcher version : 13.6.0.0.0
OUI version : 13.6.0.0.0
Running from : /u01/app/middle13c
Log file location : /u01/app/middle13c/cfgtoollogs/omspatcher/opatch2016-04-21_11-05-36AM_1.log
[Apr 21, 2016 11:05:36 AM] Starting LsPatchesSession at Thu Apr 21 11:05:36 EDT 2016
[Apr 21, 2016 11:05:41 AM] Finishing LsPatchesSession at Thu Apr 21 11:05:41 EDT 2016
[Apr 21, 2016 11:05:41 AM] Stack Description: java.lang.NoSuchMethodError: oracle.opatch.opatchsdk.OPatchPatch.getESysPatchID()Ljava/lang/String;
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.ESysPatchMetadataCommit.getESysPatchIDsMap(ESysPatchMetadataCommit.java:989)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.LsPatchesSession.printInstalledPatchForAllHomes(LsPatchesSession.java:112)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.LsPatchesSession.process(LsPatchesSession.java:71)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:576)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:795)
=========================

Changes

 

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
Changes
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.