12c GI rootupgrade.sh Fails on First Node With ORA-01034 if Node Number Starts From 0 (Doc ID 1917917.1)

Last updated on JANUARY 09, 2016

Applies to:

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

Symptoms

Upgrading from 11.2 to 12c Grid Infrastructure, rootupgrade.sh fails on node1:

 

Screen output

ORA-01034: ORACLE not available


2014/08/02 12:56:36 CLSRSC-164: ASM upgrade failed

2014/08/02 12:56:37 CLSRSC-305: Failed to upgrade ASM in a rolling fashion for Oracle Clusterware configuration

Died at /u01/app/grid/product/12.1.0/grid/crs/install/crsupgrade.pm line 2601.

 

<NEW_GI_HOME>/cfgtoollogs/crsconfig/rootcrs_<node>_<timestamp>.log

2014-08-02 17:03:15: Starting ASM upgrade on first node
2014-08-02 17:03:15: Executing as oracle: /u01/app/grid/product/12.1.0/grid/bin/asmca -silent -upgradeLocalASM -firstNode -nonRolling false -oldCRSHome /u01/app/grid/product/11.2.0/grid -localNode node1 -nodeListUpgrade node1:0,node2:1
2014-08-02 17:03:15: Running as user oracle: /u01/app/grid/product/12.1.0/grid/bin/asmca -silent -upgradeLocalASM -firstNode -nonRolling false -oldCRSHome /u01/app/grid/product/11.2.0/grid -localNode node1 -nodeListUpgrade node1:0,node2:1
2014-08-02 17:03:15: Invoking "/u01/app/grid/product/12.1.0/grid/bin/asmca -silent -upgradeLocalASM -firstNode -nonRolling false -oldCRSHome /u01/app/grid/product/11.2.0/grid -localNode node1 -nodeListUpgrade node1:0,node2:1" as user "oracle"
2014-08-02 17:03:15: Executing /bin/su oracle -c "/u01/app/grid/product/12.1.0/grid/bin/asmca -silent -upgradeLocalASM -firstNode -nonRolling false -oldCRSHome /u01/app/grid/product/11.2.0/grid -localNode node1 -nodeListUpgrade node1:0,node2:1"
2014-08-02 17:03:15: Executing cmd: /bin/su oracle -c "/u01/app/grid/product/12.1.0/grid/bin/asmca -silent -upgradeLocalASM -firstNode -nonRolling false -oldCRSHome /u01/app/grid/product/11.2.0/grid -localNode node1 -nodeListUpgrade node1:0,node2:1"
2014-08-02 17:03:20: Command output:
>
> ORA-01034: ORACLE not available
>
>
>End Command output
2014-08-02 17:03:20: Executing cmd: /u01/app/grid/product/12.1.0/grid/bin/clsecho -p has -f clsrsc -m 164
2014-08-02 17:03:20: Command output:
> CLSRSC-164: ASM upgrade failed
>End Command output
....
2014-08-02 17:03:20: Executing cmd: /u01/app/grid/product/12.1.0/grid/bin/clsecho -p has -f clsrsc -m 305
2014-08-02 17:03:20: Command output:
> CLSRSC-305: Failed to upgrade ASM in a rolling fashion for Oracle Clusterware configuration
>End Command output
2014-08-02 17:03:20: CLSRSC-305: Failed to upgrade ASM in a rolling fashion for Oracle Clusterware configuration
2014-08-02 17:03:20: ###### Begin DIE Stack Trace ######
2014-08-02 17:03:20: Package File Line Calling
2014-08-02 17:03:20: --------------- -------------------- ---- ----------
2014-08-02 17:03:20: 1: main rootcrs.pl 211 crsutils::dietrap
2014-08-02 17:03:20: 2: crsupgrade crsupgrade.pm 2601 main::__ANON__
2014-08-02 17:03:20: 3: crsupgrade crsupgrade.pm 1921 crsupgrade::performpost112upg
2014-08-02 17:03:20: 4: crsupgrade crsupgrade.pm 227 crsupgrade::queryClusterConfig
2014-08-02 17:03:20: 5: crsupgrade crsupgrade.pm 190 crsupgrade::CRSUpgrade
2014-08-02 17:03:20: 6: main rootcrs.pl 220 crsupgrade::new
2014-08-02 17:03:20: ####### End DIE Stack Trace #######

 

<ORACLE_BASE>/cfgtoollogs/asmca/asmca-<timestamp>.log

[main] [ 2014-08-02 17:03:19.914 BST ] [Cluster.verifyNodeList:1263] Got exception while trying to get node names from clusterware
oracle.ops.mgmt.cluster.ClusterException: PRKH-1010 : Unable to communicate with CRS services.
PRKH-3050 : Unexpected error (19) returned from Cluster Synchronization Services
[main] [ 2014-08-02 17:03:19.924 BST ] [USMInstanceRac.upgradeLocalASMFirst:1026] Local ASM instance +ASM0

....

[main] [ 2014-08-02 17:03:20.046 BST ] [USMInstanceRac.upgradeLocalASMFirst:1213] ORA-01034: ORACLE not available

 

Output of "olsnodes -n"

$ olsnodes -n

racnode1 0                     ====>> normally node number starts from 1 instead of 0
racnode2 1

 

When upgrading to 12.1.0.2, root script can also fail with:

<NEW_GI_HOME>/cfgtoollogs/crsconfig/rootcrs_<node>_<timestamp>.log

2014-09-14 17:14:53: Failed to retrieve the required information for ASM upgrade

 

 

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