Activemq service will not start on DX Netops Performance Management Data Collector

book

Article ID: 210994

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

Activemq service will not start on DX Netops Performance Management Data Collector.

Looking at the system logs using jornalctl we see an error:

;: /opt/IMDataCollector/broker/apache-activemq-5.15.8/data/activemq.pid: Permission Denied

Looking at the /opt/IMDataCollector/ directory, the files are owned by an unknown user (we just see a PID)

The Data Collector should be running as another user as we see the following in /opt/DCM.cfg

DCM_USER=<username>

We do see the user when using the command id <username>, but the UID of that user is different than the file ownership PID.

Environment

Release : 20.2

Component : PERFORMANCE MANAGEMENT INTEGRATIONS

Resolution


Make sure activemq and dcmd services are fully stopped.

Run the following to make the files owned by the correct user:

chown -R <username>. /opt/IMDataCollector
chown root /opt/IMDataCollector/ICMPD/*

Start the dcmd service:

systemctl start dcmd