Events stop generating after DX NetOps 25.4.5 Upgrade
search cancel

Events stop generating after DX NetOps 25.4.5 Upgrade

book

Article ID: 440951

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

After upgrading the DX NetOps environment to version 25.4.5, event generation stops
* The Data Aggregator logs (`netops-data-aggregator.log`) may show error:

  `java.lang.UnsatisfiedLinkError: /tmp/bc-fips-jni_.../libbc-probe.so: failed to map segment from shared object`

Environment

* **Components:** Data Aggregator (DA), Data Collector (DC)
* **Version:** 25.4.5 or earlier
* **OS Configuration:** FIPS enabled with the `/tmp` directory mounted as `noexec`.

Cause

This is an issue already fixed in version 25.4.6+

In version 25.4.5, the transition to Spring Boot requires the execution of JNI libraries (specifically for FIPS compliance) from the temporary directory. If the `/tmp` directory is mounted with the `noexec` flag, the JVM cannot load these shared objects, causing the application to fail during initialization or event processing.

Resolution

To resolve this issue, manually configure an alternative temporary directory for the Java Virtual Machine. This configuration is built-in as the default in version 25.4.6 and later.

### Data Aggregator (DA) Configuration
Log in to the DA machine.
 Edit the file: `/apps/IMDataAggregator/scripts/dadaemon`.

1. Add variable AFTER APP_USER= line
TMP_DIR="<newlocation>"

2. modify init() function:

AFTER:
    export APP_OPTS="-Xmx${IM_MAX_MEM}"

ADD:
    # override java tmpdir if TMP_DIR is set
    if [ -n "${TMP_DIR}" -a -d "${TMP_DIR}" ]; then
        export APP_OPTS="${APP_OPTS} -Djava.io.tmpdir=${TMP_DIR}"
    fi

 

Also, we should make similar changes on the Data Collectors.  This change will need to be done on the DA and all DCs that used IATEMPDIR.  The equivalent file to look for on the DC is called:
 
.../scripts/dcmd

 

 

Make the same changes there.

Restart the services and retest.