Page 8 of 13
++ Step 3) Use the "ssh" command to test the remote port
The "ssh" command provides an additional test that "ping" cannot provide: ssh tries to
connect to a port that you can specify. In addition, ssh is more thorough in its method of
connectivity.
Ping is like calling a phone number and checks only if there is a ringtone at the other end,
while ssh is like calling a phone number and checks is someone picking up and answering.
NOTE: There are many other utilities for testing port availability, but because most users
have already "ssh" installed on a client machine, "ssh" will be explored as a tool for testing
connectivity in this Technote.
+ ATTENTION: Entries will be added to the error log and informational FDC files can be
generated! (But they will not hurt the queue manager!)
When you test this method to a MQ server, the queue manager will dump errors in its error
log and if configured to do so, then the queue manager can generated an informational
FDC, since the data coming in over the communication is not MQ formatted data. See the
following technote for details:
https://www.ibm.com/support/pages/node/133357
IBM MQ FDC with Probe IDs CO618001 CO052000, Major Errorcode rrcE_BAD_DATA_RECEIVED
A sample of the errors in the error log of the queue manager is:
AMQ9207E: The data received from host '9.46.74.79' on channel '????' is not
valid.
EXPLANATION:
Incorrect data format received from host '9.46.74.79' over TCP/IP. It may be
that an unknown host is attempting to send data.
An FFST file might be generated containing the invalid data received. It will
not be generated if this is the beginning of a conversation with the remote
side, and the format is a simple known format (example: a GET request from an
HTTP web browser). If you want to override this, to cause FFST files to be
written for any bad data, including simple known formats, then set the
environment variable AMQ_BAD_COMMS_DATA_FDCS=TRUE and restart the queue
manager.
The channel name is '????'; in some cases it cannot be determined and so is
shown as '????'.
AMQ9492E: The TCP/IP responder program encountered an error.
EXPLANATION:
The responder program was started but detected an error.
The host name was '9.46.74.79'; in some cases the host name cannot be
determined and so is shown as '????'.