Dadaemon process shows as running but not listening to port 8581
search cancel

Dadaemon process shows as running but not listening to port 8581

book

Article ID: 48467

calendar_today

Updated On:

Products

CA Infrastructure Performance

Issue/Introduction

You cannot add the data aggregator as a data source in CAPC. When SSH'ing the data aggregator (DA), the dadaemon process shows as running as per the command:

service dadaemon status

However, the DA server is not listening to port 8581. Since this port is the DA front end web service to CAPC, user is unable to add the DA as a data source to CAPC.

The DA fails to completely start. You adjust memory, but then the DA says it has started, but you see no port listener (TCP 8581).

This appears to be occurring because the generated bundle cache is incomplete.

Cause

There are different possible causes such as:

  • The CA PM Services have a higher max Memory setting than physical Memory is available.
  • The VM cannot allocate shared memory fast enough
  • The Service did crash before or was killed

Resolution

  1. Step 1:
    /etc/init.d/dadaemon stop
    mv /opt/IMDataAggregator/apache-karaf-2.1.3/data /opt/IMDataAggregator/apache-karaf-2.1.3/data.OLD
    /etc/init.d/dadaemon start
  2. Wait for 5 minutes
  3. Next, #netstat -an should show:

    tcp 0 0 :::8581 :::* LISTEN
  4. #wget http://127.0.0.1:8581/rest;cat rest should show you a whole lot of XML.