Cannot start dcmd service on data collector after ungraceful termination when the DX Netops Performance Management Data Collector runs as non-root
After the restart, the data directory and karaf.out are owned by root and the only process that starts is the IcmpDaemon.
Running status checks of the dcmd service using systemctl shows an active running service, but only the IcmpDaemon services remains running. It should also have the Data Collector apache-karaf server service running.
All DX NetOps Performance Management releases 21.2.7 and older
When Data Aggregator or Data Collectors running as a non-root sudo user are shut down ungracefully (default paths shown):
Result is sudo install owner unable to write to those directories causing failure during the startup of the dcmd or dadaemon services.
This was resolved by engineering via defect DE517827. The fix is included in the The fix for this issue is included in DX Netops Performance Management releases 21.2.8 and newer.
The fix is referenced in the DX Netops Performance Management 21.2.8 Fixed Issues List
The entry for the problem states: