DA fails to start properly with Error; Unable to update instance pid...

Document ID : KB000009183
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When the Data Aggregator (DA) is started, it fails to synchronise and come online and instead throws an error similar to the following in the <HOME_IMDataAggregator>/apache-karaf-2.4.3/data/karaf.out;

Unable to update instance pid: Unable to find root instance in /opt/CA/IMDataAggregator/apache-karaf-2.4.3/instances/instance.properties 

 

Environment:
CAPM 2.8 and 3.x
Cause:

This error indicates that the configuration that the DA is trying to start with conflicts with configuration of a previous running instance that was not cleared properly when it was shutdown.

Resolution:

First shutdown any running instances of the DA and the ActiveMQ;

service dadaemon stop

service activemq stop

 

Then, delete the DA data sub-directory under the apache-karaf directory - <HOME_IMDataAggregator>/apache-karaf-2.4.3/data. For example;

cd  /opt/CA/IMDataAggregator/apache-karaf-2.4.3

rm -rf  /opt/CA/IMDataAggregator/apache-karaf-2.4.3/data 

 

Then restart the dadaemon and ActiveMQ.

NOTE: Use the rm -r command with caution as this will recursively delete all directories specified and their contents.

Additional Information: