Troubleshooting
Problem
During the inventory job on IBM Storage Defender Copy Data Management(SCDM), Oracle database discovery may result in failure.
Following errors are observed in the job logs.
INFO asyncTaskExecutor-84 com.catalogic.ecx.remoteexecutor.impl.RemoteExecutorImplSsh 1745407627219 [10.20.10.163] Return code 256: echo fakepass | sudo -kS -l
INFO asyncTaskExecutor-84 com.catalogic.ecx.remoteexecutor.impl.RemoteExecutorImplSsh 1745407627219 [10.20.10.163] Output = sudo: Please use single character options
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
ERROR asyncTaskExecutor-84 com.catalogic.ecx.remoteexecutor.impl.RemoteExecutorImplSsh 1745407627219 [10.20.10.163] Prerequisite check failure: User oracle does not have sudo privileges, see documentation for requirements
Cause
If the version of sudo command is below the recommended level, all the parameters/switches needed for the "echo fakepass | sudo -kS -l" command are not executed as expected, resulting in error as follows.
INFO asyncTaskExecutor-84 com.catalogic.ecx.remoteexecutor.impl.RemoteExecutorImplSsh 1745407627219 [10.20.10.163] Output = sudo: Please use single character options
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
Environment
IBM Storage Defender Copy Data Management all versions on all supported platforms.
Diagnosing The Problem
Please run the command "echo fakepass | sudo -kS -l" manually with the user ID which is used for Oracle database communication in IBM Storage Defender Copy Data Management.
If same errors is observed, check the sudo version with command "sudo -V".
Resolving The Problem
If the currently installed sudo version is below the minimum requirement as per the documentation, please upgrade the sudo version at least to the minimum required version.
Once the sudo version is upgraded, please run the inventory job for Oracle database from IBM Storage Defender Copy Data Management.
Related Information
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB69","label":"Storage TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCY00","label":"IBM Storage Copy Data Management"},"ARM Category":[{"code":"a8m3p000000hBYSAA2","label":"Troubleshooting"}],"ARM Case Number":"TS019138274","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.2.20;2.2.21;2.2.22;2.2.23;2.2.24;2.2.25;2.2.26;2.2.27"}]
Historical Number
TS019138274
Was this topic helpful?
Document Information
Modified date:
03 July 2025
UID
ibm17238650