Unable to start socket Listeners on 3030 and 3031

I am install sensu-agent in windows server 2012. I have downloaded and installed the service but when i start or run the service I prompted the following error. Please guide me accordingly. I have allow both ports as well.

C:\Program Files\Sensu\sensu-agent\bin>sensu-agent.exe start
{“component”:“cmd”,“level”:“warning”,“msg”:“config attribute id has been depreca
ted, please use name instead”,“time”:“2020-05-28T02:34:41-07:00”}
{“component”:“cmd”,“level”:“warning”,“msg”:“config attribute keepalive-timeout h
as been deprecated, please use keepalive-warning-timeout instead”,“time”:“2020-0
5-28T02:34:41-07:00”}
{“component”:“cmd”,“level”:“warning”,“msg”:“config attribute id has been depreca
ted, please use name instead”,“time”:“2020-05-28T02:34:41-07:00”}
{“component”:“cmd”,“level”:“warning”,“msg”:“config attribute keepalive-timeout h
as been deprecated, please use keepalive-warning-timeout instead”,“time”:“2020-0
5-28T02:34:41-07:00”}
{“component”:“agent”,“error”:“listen udp 127.0.0.1:3030: bind: Only one usage of
each socket address (protocol/network address/port) is normally permitted.”,“le
vel”:“error”,“msg”:“unable to start socket listeners”,“time”:“2020-05-28T02:34:4
1-07:00”}
{“component”:“agent”,“error”:“listen tcp 127.0.0.1:3031: bind: Only one usage of
each socket address (protocol/network address/port) is normally permitted.”,“le
vel”:“fatal”,“msg”:“the agent API has crashed”,“time”:"2020-05-28T02:34:41-07:00
"}

That error sounds like you’ve already got something listening on 3030/3031. What does netstat -abon show you?

1 Like