The Unix Linux Agent does not start because it cannot connect to the Automation Engine server
search cancel

The Unix Linux Agent does not start because it cannot connect to the Automation Engine server

book

Article ID: 102675

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The CA Automic Linux/Unix Agent needs to connect to the communication process (CP) of the CA Automic Automation Engine using TCP/IP protocol. In the configuration of the  CA Automic Linux/Unix Agent, there's a connection parameter of the CA Automation Engine

cp=<Host of the AE server>:<port number of the CP>

The host name of the AE Server must be resolvable by the local DNS and the port number has to be connectable. These two important conditions can be both verified with the following Command Line instructions from the Agent Host.


ping <Host of the AE server> 

telnet <Host of the AE server> <port number of the CP>

Note:
The telnet utility may not be available on your Operating System, you can use some other utility to check the ports such as ssh. Please check with your System Administrator for other options.


If one of the commands fails, it means that there's an issue with the DNS resolvability and TCP connectability of the host or the port number, respectively.

Error message in the CA Automic Agent's log:
20180612/152602.204 - U02000011 Connection to Server '<Host of the AE server>:2219' initiated.
20180612/152602.205 - U02000102 Error when calling the function 'getaddrinfo', error code '0(Success)'.
20180612/152602.205 - U02000011 Connection to Server '<Host of the AE server>:2220' initiated.
20180612/152602.206 - U02000102 Error when calling the function 'getaddrinfo', error code '0(Success)'.
20180612/152602.206 - U02000011 Connection to Server '<Host of the AE server>:2218' initiated.
20180612/152602.206 - U02000102 Error when calling the function 'getaddrinfo', error code '0(Success)'.
20180612/152602.206 - U02000011 Connection to Server '<Host of the AE server>:2217' initiated.
20180612/152602.206 - U02000348 Connection to '<Hostof the AE server>:2217(ID=24)' initiated.
20180612/152632.227 - U02000064 Connecting process to Agent '<Host of the Agent>' abnormally terminated after '20' seconds.
20180612/152632.227 - U02000010 Connection to Server '*ID24(s=13,ID=24)' terminated.
20180612/152632.227 - U02000355 CP selection has been finished but no suitable CP was found. Next reconnect after '60' seconds
 
20180612/152632.227 - U02002040 Disconnected from '*IPC(LISTENER)' (socket handle = 'ID=1').
20180612/152632.227 - U02000041 Shutdown Agent 'Agent_Name'.
20180612/152632.227 - U02000001 Agent 'Agent_Name' version '12.1.1+build.1904' ended normally

Environment

Products: CA Automic UNIX/Linux Agent, CA Automic Automation Engine
Operating System: Unix/Linux 

Resolution

Please ask your Network or System Administrator to make sure that the host name and port number are resolvable and  open , respectively.