Cloning hangs at Step “Setup Inventory in progress.” OR “INFO: Setting up install inventory” (Doc ID 2271298.1)

Last updated on JUNE 02, 2017

Applies to:

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

Symptoms

 Cloning of Oracle Home Binaries 12.1.0.2 on RHEL 6 (64-Bit) hangs at the below phase –

./runInstaller -clone -waitForCompletion “ORACLE_HOME=/opt/oracle/product/12.1.0.2.160419” “ORACLE_BASE=/opt/oracle” “ORACLE_HOME_NAME=12102_160419_home” -silent -paramFile /opt/oracle/product/12.1.0.2.160419/clone/clone_oraparam.ini
Starting Oracle Universal Installer…

Checking Temp space: must be greater than 500 MB. Actual 2152021 MB Passed
Checking swap space: must be greater than 500 MB. Actual 133119 MB Passed
Preparing to launch Oracle Universal Installer from /var/opt/vgvd01/u01/oracle/installtmp/OraInstall2017-04-10_05-41-10AM. Please wait …
You can find the log of this install session at:
/opt/oracle/oraInventory/logs/cloneActions2017-04-10_05-41-10AM.log
………………………………………….. 5% Done.
………………………………………….. 10% Done.
………………………………………….. 15% Done.
………………………………………….. 20% Done.
………………………………………….. 25% Done.
………………………………………….. 30% Done.
………………………………………….. 35% Done.
………………………………………….. 40% Done.
………………………………………….. 45% Done.
………………………………………….. 50% Done.
………………………………………….. 55% Done.
………………………………………….. 60% Done.
………………………………………….. 65% Done.
………………………………………….. 70% Done.
………………………………………….. 75% Done.
………………………………………….. 80% Done.
………………………………………….. 85% Done.
……….
Copy files in progress.

Copy files successful.

Link binaries in progress.

Link binaries successful.

Setup files in progress.

Setup files successful.

Setup Inventory in progress.

 

From cloneActions<timestamp>.log,the following entries are shown –

INFO: Oracle Universal Installer version is 12.1.0.2.0

INFO: Setting variable ‘ORACLE_HOME’ to ‘/opt/oracle/product/12.1.0.2.160419’. Received the value from the command line.
INFO: Setting variable ‘ORACLE_BASE’ to ‘/opt/oracle’. Received the value from the command line.
INFO: Setting variable ‘ORACLE_HOME_NAME’ to ’12c_home’. Received the value from the command line.
INFO: Setting variable ‘PREREQ_CONFIG_LOCATION’ to ”. Received the value from variable association.
INFO: Setting variable ‘FROM_LOCATION’ to ‘/opt/oracle/product/12.1.0.2.160419/inventory/ContentsXML/comps.xml’. Received the value from a code block.
INFO: config-context initialized
INFO: Initializing install inventory
INFO: Setting up install inventory

 There is also a Java Lock file generated in the Central Inventory/locks Folder with the below stack-

oracle@bdln9161:SID=dummy101> ls -ltr
total 12
-rw-rw—- 1 oracle dba 2112 Apr 12 12:33 writer.lock.opatch
-rw-rw—- 1 oracle dba 1900 Apr 12 15:05 writer.lock.opatch.12.2.0.1.8
-rw-rw—- 1 oracle dba 1900 Apr 14 05:18 writer.lock
/opt/oracle/oraInventory/locks

oracle@bdln9161:SID=dummy101> more writer.lock
2017-04-14_05-18-01-AM
java.lang.Throwable
at oracle.sysman.oii.oiit.OiitLockHeartbeat.writeStackTrace(OiitLockHeartbeat.java:186)
at oracle.sysman.oii.oiit.OiitLockHeartbeat.<init>(OiitLockHeartbeat.java:171)
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:282)
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:187)
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:174)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:469)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initAreaControl(OiicStandardInventorySession.java:304)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:276)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:238)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:187)
at oracle.opatch.ipm.OUIInventorySession.initSession(OUIInventorySession.java:49)
at oracle.opatch.ipm.OUISessionManager.createAndInitCISession(OUISessionManager.java:111)
at oracle.opatch.ipm.OUISessionManager.setupCISession(OUISessionManager.java:181)
at oracle.opatch.ipm.OUISessionManager.instantiate(OUISessionManager.java:44)
at oracle.opatch.ipm.OUISessionManager.getOUIInventorySession(OUISessionManager.java:351)
at oracle.opatch.ipm.OHILock.grabWriterLock(OHILock.java:68)
at oracle.opatch.ipm.OHILock.lock(OHILock.java:35)
at oracle.opatch.ipm.IPMRWServices.lock(IPMRWServices.java:76)
at oracle.opatch.UtilSession.getRWServices(UtilSession.java:107)
at oracle.opatch.UtilSession.process(UtilSession.java:263)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2528)
at oracle.opatch.OPatch.process(OPatch.java:808)
at oracle.opatch.OPatch.main(OPatch.java:858)
/opt/oracle/oraInventory/locks

 

 

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