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.
Release : 20.2
Component : PERFORMANCE MANAGEMENT INTEGRATIONS
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