RAC上的SCO发现因使用srvcts命令而失败
适用场景
适用于 Oracle ( SCO ) 4.x 的 SnapCenter 插件
问题描述
将插件升级到4.8或更高版本后、Oracle数据库发现将停止对RAC节点运行。
发现或备份作业日志的SPL日志中出现错误:
DEBUG Execution Monitor Thread [export LC_ALL=C;srvctl config database -d RACTEST] c.n.c.e.ShellResult - EXE-00001: Shellresult [0:00:00.116] (Exit Value: 127):bash: srvctl: command not found
或者、当
srvctl
用户"oracle"可以使用命令时:DEBUG Execution Monitor Thread [export LC_ALL=C;/oracle/BASE/19/bin/srvctl config database -d RACTEST] c.n.c.e.ShellResult -EXE-00001: Shell result [0:00:00.240] (Exit Value: 1):
****ORACLE_HOME environment variable is notset.
ORACLE_HOME should be setto the main directory that containsOracle products.
Set and export ORACLE_HOME, then re-run.