Cannot start activemq on DX Netops Performance Management Data Aggregator

book

Article ID: 198828

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Cannot start activemq on DX Netops Performance Management Data Aggregator 

In the /opt/IMDataAggregator/broker/apache-activemq-5.15.2/data/activemq.log we see:

YYYY-MM-DD HH:MM:SS,### | ERROR | Failed to start Apache ActiveMQ (da_broker, ID:brokerid:1) | org.apache.activemq.broker.BrokerService | main
java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use (Bind failed)
 at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:28)[activemq-client-5.15.2.jar:5.15.2]

Cause

There is a hung activemq server process holding the port.

Environment

Release : 3.6

Component : IM Reporting / Admin / Configuration

Resolution

Kill the hung activemq process then start activemq:

service activemq start

Or reboot the Data Aggregator