跳转到主内容

适用于Oracle数据库的SnapCenter插件发现失败、并显示错误"java.lang.StringIndexOutOf"bandsException:string index out of range:-206.

Views:
7
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用场景

适用于Oracle的SnapCenter插件(SCO)

问题描述

适用于Oracle数据库发现的SnapCenter插件失败、并显示以下错误。

SPL日志:

DEBUG Execution Monitor Thread [sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor root "test -f '/etc/oracle/olr.loc' && echo true || echo false"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.124] (Exit Value: 0):
/root/.bash_profile: line 13: unexpected token `newline', conditional binary operator expected
/root/.bash_profile: line 13: syntax error near `return'
/root/.bash_profile: line 13: `[[ himBH == *i*  || return '
false
DEBUG qtp1756732975-21 c.n.o.c.s.d.DiscoveryService - Entering method  findAllDatabaseInstances with the parameters Empty input.
DEBUG qtp1756732975-21 c.n.o.c.s.d.DiscoveryService - Completed method  findAllDatabaseInstances with the  return parameters Empty output.
DEBUG qtp1756732975-21 c.n.o.c.s.d.DiscoveryService - failed to complete method findAllDatabaseInstances  with JVM free memory 3.3 GB and used memory 1.9 GB.
ERROR qtp1756732975-21 c.n.o.c.s.d.DiscoveryService - An exception thrown during the execution of method findAllDatabaseInstances and the exception message is String index out of range: -206.
java.lang.StringIndexOutOfBoundsException: String index out of range: -206
         at java.lang.String.substring(String.java:1931)

INFO  qtp1756732975-23 c.n.s.s.p.b.o.BackupOperationResource - SCO-LOG-1074: Discovered 0 databases in /etc/oratab and srvctl config command as applicable, Ensure that all database entries are available in /etc/oratab and srvctl config command as applicable.

 

 

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.