runInstaller hangs at 76% while upgrading GI as TMP is set to shared location (Doc ID 1944803.1)
APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.2.0.4 and laterInformation in this document applies to any platform.
SYMPTOMS
Upgrade GI to 11.2.0.4 from 11.2.0.3, runInstaller hangs at 76% after "Saving Cluster Inventory" and "Calling isDriveOnCFS" message in install log
Last messages in installActions log
FINER: 11/11/14 3:23:22 PM EST: Done copying oracle home to remote nodes.
FINEST: 11/11/14 3:23:23 PM EST: <<<Slept for:3000
INFO: 11/11/14 3:23:23 PM EST: InstallProgressMonitor: Completed phase 16
FINEST: 11/11/14 3:23:23 PM EST: OiifbLinearIterator:Result of doOperation(false) on:0
FINER: 11/11/14 3:23:23 PM EST: OiifbCondIterator:In iterate - loop.. : elem is class oracle.sysman.oii.oiif.oiifw.OiifwClusterSaveInventoryWCCE
FINEST: 11/11/14 3:23:23 PM EST: OiifbLinearIterator:Calling doOperation(false) on:class oracle.sysman.oii.oiif.oiifw.OiifwClusterSaveInventoryWCCE
INFO: 11/11/14 3:23:23 PM EST: Saving Cluster Inventory
INFO: 11/11/14 3:23:23 PM EST: InstallProgressMonitor: Starting phase 512
INFO: 11/11/14 3:23:23 PM EST: Saving Cluster Inventory
INFO: 11/11/14 3:23:23 PM EST: Saving Cluster Inventory
INFO: 11/11/14 3:23:23 PM EST: Calling isDriveOnCFS:/apps/oracle/product/rac/oraInventory
FINER: 11/11/14 3:23:23 PM EST: In isDriveOnCFS() : sVolName :/apps/oracle/product/rac/oraInventory
FINER: 11/11/14 3:23:23 PM EST: In isDriveOnCFS()/isPathOnNonCFS : sVolName :/apps/oracle/product/rac/oraInventory/:returning false
INFO: 11/11/14 3:23:23 PM EST: Calling isDriveOnCFS:/apps/crs11204A
FINER: 11/11/14 3:23:23 PM EST: In isDriveOnCFS() : sVolName :/apps/crs11204A
FINER: 11/11/14 3:23:23 PM EST: In isDriveOnCFS()/isPathOnNonCFS : sVolName :/apps/crs11204A/:returning false
orainstall err log
Exception on Toolkit thread: java.lang.NoClassDefFoundError: sun/awt/X11/XSelectionClearEvent
java.lang.NoClassDefFoundError: sun/awt/X11/XSelectionClearEvent
at sun.awt.X11.XSelection$SelectionEventHandler.dispatchEvent(XSelection.java:737)
at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:406)
at sun.awt.X11.XToolkit.run(XToolkit.java:491)
at sun.awt.X11.XToolkit.run(XToolkit.java:436)
at java.lang.Thread.run(Thread.java:637)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: java/awt/KeyboardFocusManager$1
at java.awt.KeyboardFocusManager.retargetFocusGained(KeyboardFocusManager.java:2715)
at java.awt.KeyboardFocusManager.retargetFocusEvent(KeyboardFocusManager.java:2865)
at java.awt.Component.dispatchEventImpl(Component.java:3915)
at java.awt.Container.dispatchEventImpl(Container.java:2023)
at java.awt.Component.dispatchEvent(Component.java:3882)
at sun.awt.X11.XWindow$1.run(XWindow.java:333)
CAUSE
Ct has env variable TMP pointing to shared location, not local file system
ie)
echo $TMP
/stage01/tempdir
/stage01/tempdir is shared file system, not local mount
Universal Installer and OPatch User's Guide
TEMP/TMP Directory
On both UNIX and Windows installations, temporary copies of Oracle Universal Installer and JRE are placed in the TEMP or TMP directory in a subdirectory named /OraInstall<timestamp> so that these applications can be launched when you change CD-ROMs. Note that temporary files are created for single-CD installations as well. On both UNIX and Windows, Oracle Universal Installer looks for %TEMP% then %TMP%. If neither is set, Oracle Universal Installer defaults to /tmp on UNIX and c:\temp on Windows
Note:
The TEMP/TMP directory should not be a cluster file system or a shared location
------------------------------------------------------------------------------------------------------------------
Setting tmp shared location may cause problem with remote file copy/ hang at inventory saving step
In 12c, installer may validate tmp location at pre-req check step
SOLUTION
set TMP env variable to local file system with free space (At least 1 GB), not shared location
ie)
echo $TMP
/tmp
REFERENCES
http://docs.oracle.com/cd/E11882_01/em.112/e12255/oui4_product_install.htm#OUICG192BUG:19679530 - GI 11.2.0.4 INSTALLATION HANGS DURING UPGRADE FROM 11.2.0.2