oracle.osysmodel.driver.sdk.productdriver.ProductDriverException: Cannot detect any valid Grid Infrastructure setup due to wrong inventory_loc in oraInst.loc (Doc ID 2127426.1)

Last updated on APRIL 17, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Error while trying to execute opatch -analyze command

System Configuration Collection failed: oracle.osysmodel.driver.sdk.productdriver.ProductDriverException: Cannot detect any valid Grid Infrastructure setup.
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Stream closed
  at oracle.opatchauto.gi.GILogger.writeWithoutTimeStamp(GILogger.java:450)
  at oracle.opatchauto.gi.GILogger.printStackTrace(GILogger.java:465)
  at oracle.opatchauto.gi.OPatchauto.main(OPatchauto.java:97)
Caused by: java.io.IOException: Stream closed
  at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:98)
  at java.io.BufferedWriter.write(BufferedWriter.java:203)
  at java.io.Writer.write(Writer.java:140)
  at oracle.opatchauto.gi.GILogger.writeWithoutTimeStamp(GILogger.java:444)
  ... 2 more
 
opatchauto failed with error code 1.

Tried executing same after rebouncing CRS

# /u01/app/grid/12.1.0.2/OPatch/opatchauto apply /var/tmp/oct2015_patch/21523234 -analyze


Exception: Oralce Home's central inventory pointer location "" is not valid.
java.lang.RuntimeException: Oralce Home's central inventory pointer location "" is not valid.
  at oracle.opatchauto.gi.Crs.getInstance(Crs.java:123)

 

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