SCOまたはSCHANAのバックアップが次のエラーで失敗します。sudo:パスワードを読み取るにはターミナルが必要です。
環境
- SnapCenter Plug-in for Oracle(SCO)4.8以降
- SnapCenter Plug-in for SAP HANA(SCHANA)4.8以降
問題
SCOバックアップが失敗し、SPLまたはHANAのログに次のエラーが記録されます。
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:01.451] (Exit Value: 1): sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
DEBUG Execution Monitor Thread [sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle"ls -ld /oracle/product/19C/bin/sqlplus | sed 's/[ ][ ]*/ /g' | cut -d' ' -f3"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:01.857] (Exit Value: 1):sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
DEBUG Execution Monitor Thread [sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor snapuser env] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:02.145] (Exit Value: 1): sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
ERROR DRes-ODIRDEV c.n.c.r.RemoteObjectFactoryFactory - REMOTE-00001: Unable to connect to spawned helper process. Error: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper