My Oracle Support Banner

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 NOVEMBER 29, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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

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


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