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)