opatchauto: Unable to determine if "/.../grid" is a shared oracle home. (Doc ID 1597061.1)

Last updated on AUGUST 14, 2016

Applies to:

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

Symptoms

Applying 12.1.0.1 GI PSU with opatchauto, fails with the following:

# opatchauto apply /tmp/17272829 -ocmrf /tmp/ocm.rsp
OPatch Automation Tool
Copyright (c) 2013, Oracle Corporation. All rights reserved.

OPatchauto version : 12.1.0.1.2
OUI version : 12.1.0.1.0
Running from : /u01/app/12.1.0/grid

opatchauto log file: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/17272829/opatch_gi_2013-10-16_10-50-59_deploy.log

Parameter Validation: Successful

System Configuration Collection failed: oracle.osysmodel.driver.crs.productdriver.ProductDriverException: Unable to determine if "/u01/app/12.1.0/grid" is a shared oracle home.

opatchauto failed with error code 2.

 

From <GI_HOME>/cfgtoollogs/opatchauto/<patch>/opatch_gi_<timestamp>_deploy.debug.log

GIPatchingHelper::createSystemInstance() called
2013-10-16_11-08-25 :
GIPatchingHelper::createSystemInstance() Failed

oracle.osysmodel.driver.crs.util.OsysUtility.isSharedPath(OsysUtility.java:167)
oracle.osysmodel.driver.crs.AbstractCrsProductDriver.isShared(AbstractCrsProductDriver.java:588)
oracle.osysmodel.driver.crs.AbstractCrsProductDriver.makeHome(AbstractCrsProductDriver.java:355)
oracle.osysmodel.driver.crs.AbstractCrsProductDriver.makeCrsHomes(AbstractCrsProductDriver.java:439)
oracle.osysmodel.driver.crs.CrsProductDriver.buildConfigGraph(CrsProductDriver.java:337)
oracle.osysmodel.driver.crs.AbstractProductDriver.constructConfigGraph(AbstractProductDriver.java:104)
oracle.opatch.gi.GIPatchingHelper.createSystemInstance(GIPatchingHelper.java:262)
oracle.opatch.gi.GIPatchingSessionInfo.createSystemInstance(GIPatchingSessionInfo.java:310)
oracle.opatch.gi.GIPatchingSessionInfo.initializeConfiguration(GIPatchingSessionInfo.java:269)
oracle.opatch.gi.GIPatchingSessionInfo.initializeConfigData(GIPatchingSessionInfo.java:288)
oracle.opatch.gi.GIPatching.process(GIPatching.java:584)
oracle.opatch.GIPatchingSession.process(GIPatchingSession.java:89)
oracle.opatch.OPatchSession.main(OPatchSession.java:2871)
oracle.opatch.OPatch.main(OPatch.java:690)
System Configuration Collection failed: oracle.osysmodel.driver.crs.productdriver.ProductDriverException: Unable to determine if "/u01/app/12.1.0/grid" is a shared oracle home.

 

 

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