FYI - Linux Malware Detect failing on AlmaLinux 8/9

Started by Starburst, December 26, 2024, 08:48:29 AM

Previous topic - Next topic

Starburst

So, just saw an issue if you are running Linux Malware Detect (aka Security Maldet Scan in the CWP Security tab).

The scanner shows installed and running OK, but it is not.

From the CLI, if you run:
systemctl status maldet

You will see it failed.
It is missing 2 needed dependencies installed - ed & inotify-tools.

To install these run:
dnf install ed inotify-tools

Then:
systemctl restart maldet

And now to make sure everything is OK, and running:
systemctl status maldet

cyberspace

Hi,

Thanks. Is it for new systems or does maldet crash after some update ? Just checked maldet on a few AlmaLinux systems controlled by me and found maldet is working fine:


# systemctl status maldet
● maldet.service - Linux Malware Detect monitoring - maldet
   Loaded: loaded (/usr/lib/systemd/system/maldet.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2024-10-04 15:24:32 EEST; 2 months 22 days ago

Starburst

Did you installed it thru CWP?

Seems like that way it missed some dependencies.
Should give you more of a status showing your user home paths.

cyberspace

Yes, it was installed via CWP.

Most likely I installed the packages required by maldet for some other software installed on the server. That is why I don't have the problem with maldet.