To identify the cause of the error, create CLIv2 trace file by setting the following environment variables.
For non-Windows:
$ export THREADONOFF=1
$ export THREADONOFF=1
For Windows:
C:\> set COPANOMLOG=<filename>
C:\> set THREADLOGGING=1
“THREADONOFF=1” or “THREADLOGGING=1” is used for creating separate trace files based on the process ID and thread ID. For more information about the CLIv2 trace file or additional environment variables, see CLI Files and Setup.
$ export COPANOMLOG=<filename>