A new remote agent installed is not starting up with the awcomm error mentioned above.
During investigation, the AgentService##.log file showed the following error:
awcomm connection error : R:UC4_TEST 192.168.1.201:2136 <- 0.0.0.0/0.0.0.0:0
As per the above error message, the AgentService process on the Remote Agent is trying to connect to the awcomm process at the Master machine installed on the IP address of 192.168.1.201 and port 2136. This connection is failing.
When the awenv.ini files were looked at the Master and Remote Agent the following was observed.
- Master's awenv.ini shows the awcomm was set to use port 2137.
- Agent's awenv.ini shows the awcomm port was set to use port 2136.
As the Remote Agents process(es) use the settings in awenv.ini to establish communication, it was trying to connect to the wrong port on the Master (where there was no awcomm process running) and failing.
The solution to this was to set 'AWCOMM_PORT=2137' in the Remote Agent's awenv.ini file and stop/start the processes.