SCO or SCHANA backup fails with the error: sudo: a terminal is required to read the password
Applies to
- SnapCenter Plug-in for Oracle (SCO) 4.8 and above
- SnapCenter Plug-in for SAP HANA (SCHANA) 4.8 and above
Issue
SCO backup fails with following error in teh SPL or HANA log:
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