An Agent refuses to start, when looking at the Agent Log it tries several times to bind to the port 2300 (default) until it finally ends automatically with following errors:
20190106/152348.912 - U02000134 Thread 'LISTENER/CCM' started. 20190106/152348.912 - U02000102 Error when calling the function 'bind(:2300)', error code '98(Address already in use)'. 20190106/152418.912 - U02000102 Error when calling the function 'bind(:2300)', error code '98(Address already in use)'. 20190106/152418.913 - U02003073 Agent Prozess 'LISTENER,PID=29769' shutdown has been initiated. 20190106/152423.919 - U02002040 Disconnected from '*IPC(LISTENER)' (socket handle = 'ID=9'). 20190106/152423.920 - U02003059 Agent process 'LISTENER,PID=29769' has stopped with return code '0(status=0)'. 20190106/152423.920 - U02003073 Agent Prozess 'AGENT,PID=29547' shutdown has been initiated.
Component: Agent Linux/Unix/Windows
"2300" is the default port of Automic agent, the error message indicates that the port was already occupied by another process
Please review and see if there is any other process is using this port:
netstat -nap | grep 2300
netstat -nao | findstr "2300"
You can either free the port by stopping the application occupying it, or change agent's port to a different one by modifying the ini config file, in this line
[TCP/IP]
port=2300