OPatch Failed with Error Code 2
(Doc ID 2685851.1)
Last updated on OCTOBER 03, 2023
Applies to:Oracle WebLogic Server - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
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
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