My Oracle Support Banner

An Error Occurred When Running OPatch Command: opatch cound not create/open history file for writing. opatch failed with error code 2 (Doc ID 2804136.1)

Last updated on DECEMBER 14, 2023

Applies to:

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

Symptoms

An error occurred when running opatch command:

<OPatch_HOME>> ./opatch lspatches

OPatch could not create/open history file for writing.

OPatch failed with error code 2

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.