Skip to main content
NetApp Knowledge Base

Oracle RAC database discovery fails with error "findLocalClusterNodeSidFromDatabaseName and the exception message is String index out of range: -13"

Views:
36
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:
10/21/2024, 6:43:47 AM

Applies to

  • SnapCenter plug-in for Oracle (SCO)
  • Oracle RAC Database

Issue

Oracle RAC database discovery fails with following error.

DEBUG Execution Monitor Thread [sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor prodcrs /bin/sh -c 'export LC_ALL=C\; /u01/app/grid/product/12.1.0.2/bin/srvctl -V'] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:04.580] (Exit Value: 0):
bash: CRS: command not found
srvctl version: 12.1.0.2.0
DEBUG    DRes-prodalt c.n.o.c.c.NonRootConfiguration - Grid owner :  prodcrs
DEBUG Execution Monitor Thread [sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor prodcrs '""'] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.064] (Exit Value: 1):
bash: CRS: command not found

DEBUG   DRes-prodalt1 c.n.o.c.c.NonRootConfiguration - Login Banner Output : bash: CRS: command not found
DEBUG   DRes-prodalt1 c.n.o.c.p.UnixOraclePlatform - Exception occured during identifying the grid version.String index out of range: -2
DEBUG   DRes-prodalt1 c.n.o.c.s.d.a.ASMDatabaseService - Exit the getLocalAsmInstanceSid.
DEBUG   DRes-prodalt1 c.n.o.c.s.d.a.ASMDatabaseService - Completed method  getLocalAsmInstanceSid within 4.747463 seconds.
DEBUG   DRes-prodalt1 c.n.p.s.u.ASMContextBuildHelper - ASM instance SID was not found in oratab
DEBUG    DRes-prodalt c.n.o.c.p.UnixOraclePlatform - Exception occured during identifying the grid version.String index out of range: -2
 
DEBUG Execution Monitor Thread [sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor prodcrs /bin/sh -c 'export LC_ALL=C\; /u01/app/grid/product/12.1.0.2/bin/olsnodes -l'] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.581] (Exit Value: 0):
bash: CRS: command not found
<RAC node name>
 
ERROR    DRes-prodalt c.n.o.c.s.d.c.ClusterDatabaseService - An exception thrown during the execution of method findLocalClusterNodeSidFromDatabaseName and the exception message is String index out of range: -13.
java.lang.StringIndexOutOfBoundsException: String index out of range: -13
  at java.lang.String.substring(String.java:1931)

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.