PSU Patch Analyze command failed with OPATCHAUTO-72050: System instance creation failed While Using opatchauto

(Doc ID 2342568.1)

Last updated on FEBRUARY 02, 2018

Applies to:

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

Symptoms

opatchauto apply -analyze fails with:


/opt/oracle/cloud/product/12.1.0/grid/OPatch/opatchauto apply /opt/oracle/grid/stage/psu/psu_12.1.0.2.171017_26635815/26635815 -oh /opt/oracle/cloud/product/12.1.0/grid -analyze

OPatchauto session is initiated at Thu Dec 21 16:00:46 2017

System initialization log file is /opt/oracle/cloud/product/12.1.0/grid/cfgtoollogs/opatchautodb/systemconfig2017-12-21_04-00-49PM.log.

Failed:
Verifying shared storage accessibility

Checking shared storage accessibility...

ERROR: /opt/oracle/cloud/product/12.1.0/grid
PRVG-10130 : Unable to determine whether file path "/opt/oracle/cloud/product/12.1.0/grid" is shared by nodes "node1,node2"
PRKC-1025 : Failed to create a file under the filepath /opt/oracle/cloud/product/12.1.0/grid because the filepath is not executable or writable
OPATCHAUTO-72050: System instance creation failed.
OPATCHAUTO-72050: Failed while retrieving system information.
OPATCHAUTO-72050: Please check log file for more details.

OPatchauto session completed at Thu Dec 21 16:00:55 2017
Time taken to complete the session 0 minute, 9 seconds

Topology creation failed.



Review log file systemconfig2017-12-21_04-00-49PM.log

 

cat /opt/oracle/cloud/product/12.1.0/grid/cfgtoollogs/opatchautodb/systemconfig2017-12-21_04-00-49PM.log
2017-12-21 16:00:49,635 INFO [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - crsType: CRS
2017-12-21 16:00:49,644 INFO [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - running: false
2017-12-21 16:00:49,659 INFO [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - crsType: CRS
2017-12-21 16:00:49,660 INFO [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - running: false
2017-12-21 16:00:50,573 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - ENTRY
2017-12-21 16:00:50,578 INFO [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - crsType: CRS
2017-12-21 16:00:50,579 FINE [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - PRCI-1107 : Failed to check CRS running state for CRS home /opt/oracle/db/product/12.1.0/dbhome_2=====>RDBMS_HOME
PRCT-1011 : Failed to run "crsctl". Detailed error: Cannot run program "/opt/oracle/db/product/12.1.0/dbhome_2/bin/crsctl": error=2, No such file or directory=====>RDBMS_HOME

Cannot run program "/opt/oracle/db/product/12.1.0/dbhome_2/bin/crsctl": error=2, No such file or directory======>crsctl program can't run from RDBMS_HOME
2017-12-21 16:00:50,579 INFO [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - running: false
2017-12-21 16:00:50,580 INFO [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - Checking for Exadata. Looking for /opt/oracle.cellos/ORACLE_CELL_OS_IS_SETUP file.
2017-12-21 16:00:50,580 INFO [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - This is not an Exadata environment
2017-12-21 16:00:51,268 CONFIG [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Found local home at /opt/oracle/cloud/product/12.1.0/grid
2017-12-21 16:00:51,268 CONFIG [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Found local home at /opt/oracle/db/product/12.1.0/dbhome_1
2017-12-21 16:00:51,268 CONFIG [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Found local home at /opt/oracle/db/product/12.1.0/dbhome_2
2017-12-21 16:00:51,269 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - ENTRY
2017-12-21 16:00:51,269 FINE [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - CRS stack is down. Now getting crs version by OUI.
2017-12-21 16:00:51,269 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - ENTRY
2017-12-21 16:00:51,302 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - RETURN
2017-12-21 16:00:51,306 FINE [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Home=/opt/oracle/cloud/product/12.1.0/grid
2017-12-21 16:00:51,306 FINE [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Checking whether Oracle Home "/opt/oracle/cloud/product/12.1.0/grid" is shared or not.
2017-12-21 16:00:51,308 INFO [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - crsType: CRS
2017-12-21 16:00:51,309 FINE [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - PRCI-1107 : Failed to check CRS running state for CRS home /opt/oracle/db/product/12.1.0/dbhome_2
PRCT-1011 : Failed to run "crsctl". Detailed error: Cannot run program "/opt/oracle/db/product/12.1.0/dbhome_2/bin/crsctl": error=2, No such file or directory

Cannot run program "/opt/oracle/db/product/12.1.0/dbhome_2/bin/crsctl": error=2, No such file or directory
2017-12-21 16:00:51,309 INFO [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - running: false
2017-12-21 16:00:51,355 INFO [42] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - java version "1.6.0_75"
2017-12-21 16:00:51,355 INFO [42] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Java(TM) SE Runtime Environment (build 1.6.0_75-b13)
2017-12-21 16:00:51,356 INFO [42] oracle.dbsysmodel.driver.sd

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