Author Topic: FYI - Linux Malware Detect failing on AlmaLinux 8/9  (Read 50 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
FYI - Linux Malware Detect failing on AlmaLinux 8/9
« on: December 26, 2024, 08:48:29 AM »
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:
Code: [Select]
systemctl status maldet
You will see it failed.
It is missing 2 needed dependencies installed - ed & inotify-tools.

To install these run:
Code: [Select]
dnf install ed inotify-tools
Then:
Code: [Select]
systemctl restart maldet
And now to make sure everything is OK, and running:
Code: [Select]
systemctl status maldet
« Last Edit: December 26, 2024, 09:01:06 AM by Starburst »

Offline
***
Re: FYI - Linux Malware Detect failing on AlmaLinux 8/9
« Reply #1 on: December 26, 2024, 09:31:42 AM »
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:

Code: [Select]
# 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

Offline
*****
Re: FYI - Linux Malware Detect failing on AlmaLinux 8/9
« Reply #2 on: Today at 04:36:39 AM »
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.

Offline
***
Re: FYI - Linux Malware Detect failing on AlmaLinux 8/9
« Reply #3 on: Today at 08:25:10 AM »
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.