Data Collector shutdown due to unreachable Data Aggregator

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

Description:

Data Collector won't run and Data Aggregator will not connect to host.

/opt/IMdataCollector/apache-karaf-2.3.0/shutdown.log reads:

manager.osgishell.BundleManager 237 | 185 2.3.1.RELEASE-71 | | Unable to connect to the Data Aggregator or at host "data-agg". Shutting down the Data Collector. This may take up to 10 minutes.

DA karaf.log reads:

INFO | tenderThread-168 | 2013-11-10 19:14:07,765 | OsgiServiceFactoryBean

| r.support.OsgiServiceFactoryBean 301 | pringframework.osgi.core |
| Publishing service under classes
[{com.ca.im.dm.core.aggregator.retention.interfaces.DataRetentionTask}]
ERROR | tenderThread-169 | 2013-11-10 19:14:07,765 | RegisterDA |
.core.aggregator.impl.RegisterDA 123 | ger.core.aggregator.impl |
| UnknownHostException caught in lookupDAItem():
java.net.UnknownHostException: data-agg.company.com:
data-agg.company.com: Name or service not known
at
java.net.InetAddress.getLocalHost(InetAddress.java:1438)[:1.7.0_09]
at
com.ca.im.dm.core.aggregator.impl.RegisterDA.findOrCreateDAItem(RegisterDA.java:119)[235:com.ca.im.data-manager.core.aggregator.impl:2.3.1.RELEASE-71]
at com.ca.im.dm.core.aggregator.impl.RegisterDA.

Solution:

Notice that the Data Aggregator is looking for the host data-agg.company.com instead.

Check the hosts file, it probably looks like:

<IP> <shortHostName_for_DA>
Example: data-agg

Instead of:

<IP> <DA_FQDN> <shortHostName_for_DA>

Example: data-agg.company.com

Restart the DA:

service dadaemon restart