runInstaller/runcluvfy.sh Hangs Forever While Checking if ASM parameter file is in use by an ASM instance on the local node (Doc ID 2078014.1)

Last updated on SEPTEMBER 29, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Upgrading 2-node 12.1.0.1 to 12.1.0.2, runInstall hangs forever during pre-req checks.

The same check in CVU hung as well:

$ runcluvfy.sh stage -pre crsinst -upgrade -rolling -src_crshome /u01/app/12.1.0.1/grid -dest_crshome /u01/app/12.1.0.2/grid -dest_version 12.1.0.2.0 -verbose

Checking ASM disk size consistency
All ASM disks are correctly sized
Checking if ASM parameter file is in use by an ASM instance on the local node
====>>>> hangs here

From CVU trace:

[main] [ 2016-01-15 09:03:06.597 EST ] [ASMCMDUtil.<init>:247] instname=+ASM1, nodename=srvmain346
[main] [ 2016-01-15 09:03:06.597 EST ] [NativeSystem.isCmdScv:534] isCmdScv: cmd=[]
[main] [ 2016-01-15 09:03:06.597 EST ] [UnixSystem.dorunRemoteExecCmd:3397] Final unix SSH command: /u01/app/12.1.0.1/grid/bin/asmcmd spget
[main] [ 2016-01-15 09:03:06.597 EST ] [RuntimeExec.runCommand:135] Calling Runtime.exec() with the command
[main] [ 2016-01-15 09:03:06.597 EST ] [RuntimeExec.runCommand:137] /bin/sh
[main] [ 2016-01-15 09:03:06.597 EST ] [RuntimeExec.runCommand:137] -c
[main] [ 2016-01-15 09:03:06.598 EST ] [RuntimeExec.runCommand:137] /u01/app/12.1.0.1/grid/bin/asmcmd spget
[main] [ 2016-01-15 09:03:06.598 EST ] [RuntimeExec.runCommand:140] runCommand: m_env =
[main] [ 2016-01-15 09:03:06.598 EST ] [RuntimeExec.runCommand:142] 0:PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
[main] [ 2016-01-15 09:03:06.598 EST ] [RuntimeExec.runCommand:142] 1:ORACLE_HOME=/u01/app/12.1.0.1/grid
[main] [ 2016-01-15 09:03:06.598 EST ] [RuntimeExec.runCommand:142] 2:LANG=en_US.UTF-8
[main] [ 2016-01-15 09:03:06.598 EST ] [RuntimeExec.runCommand:142] 3:ORACLE_SID=+ASM1
[main] [ 2016-01-15 09:03:06.598 EST ] [RuntimeExec.runCommand:207] runCommand: Waiting for the process
[Thread-474] [ 2016-01-15 09:03:06.598 EST ] [StreamReader.run:61] In StreamReader.run
[Thread-473] [ 2016-01-15 09:03:06.598 EST ] [StreamReader.run:61] In StreamReader.run

Manual run of "asmcmd spget" hangs as well:

$ env | grep ORA
ORACLE_SID=+ASM1
ORACLE_BASE=/u01/app/grid
ORACLE_HOME=/u01/app/12.1.0.1/grid

$ /u01/app/12.1.0.1/grid/bin/asmcmd spget
^C[grid@srvmain346 ~]$

However, spget inside asmcmd works:

$ /u01/app/12.1.0.1/grid/bin/asmcmd
ASMCMD> spget
+DEVOCRVOTE/rac5/ASMPARAMETERFILE/registry.253.819716237
ASMCMD> exit

 

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