Grid Control 11g: opatch command on OMS ORACLE_HOME reports error: "OPatch returns with error code = 1" (Doc ID 1350650.1)

Last updated on DECEMBER 02, 2014

Applies to:

Enterprise Manager Base Platform - Version: 11.1.0.1 and later   [Release: 11.1 and later ]
Information in this document applies to any platform.

Symptoms

opatch command from 11.1.0.1 OMS Home fails with following error:

On Linux machine:

[oracle@linuxtest OPatch]$ ./opatch lsinventory
Fusion Middleware Home is corrupted (WebLogic Home is not found)!
/usr/bin/java/bin/java is not a valid executable for this platform. OPatch cannot proceed!
OPatch returns with error code = 1

On Solaris SPARC machine:

[oracle@solaristest OPatch]$./opatch lsinventory

Fusion Middleware Home is corrupted (WebLogic Home is not found)!
/usr/jdk/latest/bin/sparcv9/bin/java is not a valid executable for this platform. OPatch cannot proceed!
OPatch returns with error code = 1

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms