My Oracle Support Banner

OEM 13c: Any OMSPacther Commands Failed with Error "OMSPatcher failed with error code 2" (Doc ID 3061915.1)

Last updated on JANUARY 16, 2025

Applies to:

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

Symptoms

Any OMSPatcher Commands Failed with Error "OMSPatcher failed with error code 2" 

 [OEM] $ omspatcher apply -analyze
  OMSPatcher Automation Tool
  Copyright (c) 2017, Oracle Corporation. All rights reserved.
  OMSPatcher version : 13.9.5.22.0
  OUI version : 13.9.4.0.0
  Running from : <OMS_HOME>
  Log file location : <OMS_HOME>/cfgtoollogs/omspatcher/opatch2024-11-05_09-31-14am_1.log
  OMSPatcher log file: <OMS_HOME>/cfgtoollogs/omspatcher/36761595/omspatcher_2024-11-05_09-31-49am_analyze.log
  Log file location: <OMS_HOME/cfgtoollogs/omspatcher/36761595/omspatcher_2024-11-05_09-31-49am_analyze.log
  OMSPatcher failed with error code 255
  [OEM]$

 

 [OEM] $ omspatcher lspatches
  OMSPatcher Automation Tool
  Copyright (c) 2017, Oracle Corporation. All rights reserved.
  OMSPatcher version : 13.9.5.22.0
  OUI version : 13.9.4.0.0
  Running from : <OMS_HOME>
  Log file location : <OMS_HOME>/cfgtoollogs/omspatcher/opatch2024-11-05_09-33-14am_1.log
  OMSPatcher failed with error code 2
  [OEM] $

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.