How to check for missing dependencies on redhat servers for detection server.
search cancel

How to check for missing dependencies on redhat servers for detection server.

book

Article ID: 191059

calendar_today

Updated On:

Products

Data Loss Prevention Enforce

Issue/Introduction

Network Monitor is failing to start with error failure in main.cpp

Environment

Release : 15.x/16.x

Component : redhat 7/8/9

Cause

missing dependencies is causing networkmonitor to not load correctly.

Resolution

The following script will check for each dependency in the list below. 




#!/bin/bash

for i in compat-openldap compat-db libpng compat-libtiff3 gtk+-devel gtk2-devel gstreamer libstdc++.so.5 libX11 libXext libXi libXrender libXtst wget unzip apr apr-util expat libicu

do

        if rpm -q $i > /dev/null; then

        echo "$i present"

        else echo "$i missing"

        fi

done

~            

Additional Information

if any package is showing as missing install that package with yum.