SCO在4.8和4.9中的发现失败、并显示用户Oracle不存在错误
适用场景
适用于Oracle (SCO) 4.8、4.8P1和4.9的SnapCenter插件
问题描述
Oracle数据库发现、在检查作业D详细信息时显示:
Discovery failed for object <object_name> with error PL-SCO-20006: Discovery of database files failed for database <database_name> on host <host_name> with error Operation Exception occured during oracle databaseconnection, reason: Unexpected Operation occured
如果用户"oracle"不存在,则尝试通过用户"oracle"尝试从4.8
中获取sqlplus可执行文件的所有者和组的新代码将失败,从而阻止使用sqlplus检查中找到的数据库
中获取sqlplus可执行文件的所有者和组的新代码将失败,从而阻止使用sqlplus检查中找到的数据库
/etc/oratab
:DEBUG Execution Monitor Thread [sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle "ls -ld '/oracle/<SID>/19/bin/sqlplus' | sed 's/[ ][ ]*/ /g' | cut -d' ' -f3"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.169]
(Exit Value: 1):
su: user oracle does not exist
对于默认为on grid用户的RAC系统、也可能发生同样的情况:
ORACLE-40100: Error executing olsnodes command "sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor grid export LC_ALL=C\; /u01/app/grid/product/19.3.0/bin/olsnodes -l".
The command returned: [su: user grid does not exist].