Stop Errors in Introscope.log for [ERROR] [IntroscopeAgent.ArfTransport] Cannot create server socket on port - when running multiple agents
search cancel

Stop Errors in Introscope.log for [ERROR] [IntroscopeAgent.ArfTransport] Cannot create server socket on port - when running multiple agents

book

Article ID: 234812

calendar_today

Updated On:

Products

DX Application Performance Management DX APM SaaS

Issue/Introduction

Is there a way to stop the following errors coming out at agent start up - when another agent is already running for a separate product i.e. Start MQ agent, Start IIB agent - errors appear in the IIB IntroscopeAgent.log

2/01/22 12:40:03 PM GMT [ERROR] [IntroscopeAgent.ArfTransport] Cannot create server socket on port 5005: Address already in use (Bind failed)

2/01/22 12:40:03 PM GMT [ERROR] [IntroscopeAgent.CollectorAgent] CollectorAgent failed to start because: ARF Server Initialization failed.

Environment

Release : 20.2

Component : Introscope

Resolution

You could prevent the problem by defining a unique port address for each agent in this property
introscope.remoteagent.collector.tcp.port=5005
There is no way to disable the collector agent  this but as a workaround you could suppress those massages by setting the following properties
 
log4j.logger.IntroscopeAgent.ArfTransport=FATAL, console, logfile
log4j.logger.IntroscopeAgent.CollectorAgent=FATAL, console, logfile
 
This will mean only messages at level FATAL or higher will report for those components.