IBM Support

DSMICFGX/DSMUPGDX: "CTGRI0000E Could not establish a connection ..."

Troubleshooting


Problem

The upgrade and instance creation wizards might fail with authentication failure after entering the instance userid and password while SSH protocol is setup and user connection works fine with SSH.

Symptom

The dsmicfgx.trc or dsmupgdx.trc shows error like below:
at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
Caused by: com.ibm.tivoli.remoteaccess.RemoteAccessAuthException: CTGRI0000E Could not establish a connection to the target machine with the authorization credentials that were provided.
at com.ibm.tivoli.remoteaccess.SSHProtocol.beginSessionImpl(SSHProtocol.java:757)
at com.ibm.tivoli.remoteaccess.BaseProtocol$BeginSession.invoke(BaseProtocol.java:1755)
at com.ibm.tivoli.remoteaccess.util.ThreadedOperation$OperationThread.run(ThreadedOperation.java:154)
Caused by: java.net.ConnectException: AUTHENTICATION_FAILED

Cause

SSH is setup using ssh keys. SSH password authentication must be active.

Environment

AIX, HP-UX, Linux and Solaris

Diagnosing The Problem

Look in dsmicfgx.trc or dsmupgdx.trc if these messages appear:
CTGRI0000E Could not establish a connection to the target machine with the authorization credentials that were provided.
[....]
Caused by: java.net.ConnectException: AUTHENTICATION_FAILED

Then try to connect to the instance user, using SSH. If it does not prompt for password , that is a problem.

Also look in file /etc/ssh/sshd_config if the entry "PasswordAuthentication" is set to "no".

Resolving The Problem

Look at the system SSH documentation how to enable SSH password authentication at least for the time the wizard needs to be used.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.3;7.1","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21665957