My Oracle Support Banner

OPatch Failed with Error Code 2 (Doc ID 2685851.1)

Last updated on JULY 15, 2020

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Goal

How to resolve the error: "OPatch failed with error code 2" thrown when running the "opatch lspatches" or "opatch lsinventory" commands.

The complete error stack is as below:

OPatch failed with error code 2

Solution

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
Goal
Solution


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