Troubleshooting
Problem
tacmd CreateNode command to create a node on the endpoint with SSH option fails with "unable to connect to TCP socket, errno=79" error message
Symptom
The command fails to create a node (monitoring agent)
tacmd createnode -o JLOG_LEVEL=DEBUG_MAX -h ssh://tivtest:22 -d /opt/IBM/ITM -u root -w xxxxxx -p SERVER=ttemsrem1 PROTOCOL=IP.PIPE PORT=1918
The most recent trace log (trace_cn.log) from the RTEMS server shows, the SSH connection to the endpoint is using port 1918) instead of default SSH port 22.
<Trace Level="INFO">
<Time Millis="1387290640631"> 2013-12-17 09:30:40.631-05:00</Time>
<Server Format="IP">ttemsrem1.customer.com</Server>
<ProductId>IBM Tivoli Monitoring</ProductId>
<Component>CreateNode</Component>
<ProductInstance>1</ProductInstance>
<LogText><![CDATA[Setting port no for SSH protocol [1918]]]></LogText>
<Source FileName="CreateNodeHost" Method="connect"/>
<Thread>pool-1-thread-1</Thread>
<Principal></Principal>
</Trace>
<Time Millis="1387290640631"> 2013-12-17 09:30:40.631-05:00</Time>
<Server Format="IP">ttemsrem1.customer.com</Server>
<ProductId>IBM Tivoli Monitoring</ProductId>
<Component>CreateNode</Component>
<ProductInstance>1</ProductInstance>
<LogText><![CDATA[Setting port no for SSH protocol [1918]]]></LogText>
<Source FileName="CreateNodeHost" Method="connect"/>
<Thread>pool-1-thread-1</Thread>
<Principal></Principal>
</Trace>
The error trace shown in Tivoli Monitoring Server RAS1 log
(52AB0763.000E-49:kdyctrl.cpp,3158,"queueThread") The deployment status record was updated successful for transaction=[1386940259534938000030733]
(52AB0784.0000-4A:kdycsock.cpp,170,"ClientSocket::open") unable to connect to TCP socket, errno=79.
(52AB0784.0001-4A:kdyjsrv.cpp,577,"sendQueueElem") Failed to connect return code is [79]. Current server started count [3]. Manage Server is probably down. Restart the manage server.
(52AB0784.0002-4A:kdyjsrv.cpp,630,"sendQueueElem") Failed to start server or send data for the current transaction=[1386940259534938000030733], incrementing retry count to=[1]
(52AB0784.0003-4A:kdyjsrv.cpp,428,"commandQueueThread") Sent failed. Requeue the element
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"All Editions","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
10 July 2024
UID
ibm10729933