Services fail to start with "Failed to get OS Statistics" error
search cancel

Services fail to start with "Failed to get OS Statistics" error

book

Article ID: 236108

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

After applying patches to Linux OS, Detection Server Services failed to start.

Following Error is seen in the Box Monitor Log:

com.vontu.boxmonitor.statistics.SystemStatsTask run
SEVERE: Failed to get OS statistics.
java.lang.UnsatisfiedLinkError: /opt/Symantec/DataLossPrevention/ServerPlatformCommon/15.8.00000/Protect/lib/native/libSystemStats.so: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /opt/Symantec/DataLossPrevention/ServerPlatformCommon/15.8.00000/Protect/lib/native/libSystemStats.so)
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
 at java.lang.Runtime.load0(Runtime.java:810)
 at java.lang.System.load(System.java:1088)
 at com.vontu.statistics.SystemStatsJNI.<init>(SystemStatsJNI.java:78)
 at com.vontu.statistics.SystemStatsJNI.getInstance(SystemStatsJNI.java:58)
 at com.vontu.boxmonitor.statistics.SystemStatsTask.run(SystemStatsTask.java:74)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)

The key piece of information in this log (In bold), is that it is trying to load the libstdc++ library located in /lib64, instead of the version that is packaged with DLP (It would be in the DLP Installation Directory instead of /lib64).

Environment

Detection Server hosted on RHEL OS

Cause

The Dynamic Linker/Loader system in RHEL should load the libraries included with DLP. However, if there are changes made to the configuration for this, it requires that the new configuration be re-loaded. When this happens, the system can become unaware of the DLP libraries that need to be loaded.

It appears that some kernel updates for RHEL can cause the configuration to need to be reloaded.

Resolution

Log in to the system as root and run the following command:

ldconfig

This will reload the dynamic linker/loader configuration, and the system will again be aware of the libraries included with DLP.