- Forum
- Main Forum
- English Section
- Server Security
- Fixed: Linux Malware Detect / Maldet Service Failed on CWP AlmaLinux 8
×
Presentation and instructions about security tools used to prevent server hacking. Feel free to use them or ask us to protect your site hosting it to a safe, daily monitored vps senter. Freespirits will ensure great quality of services.
Fixed: Linux Malware Detect / Maldet Service Failed on CWP AlmaLinux 8
- infogate
-
Συντάκτης θέματος
- Αποσυνδεμένος
- Administrator
-
- Imagination is the beginning of creation
1 Εβδομάδα 21 Ώρες πριν - 1 Εβδομάδα 21 Ώρες πριν #343
από infogate
The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal
Hello,
I wanted to share a small fix in case it helps someone else using CWP / Control Web Panel with AlmaLinux 8.
After checking my server, I noticed that the maldet service was failing.
First, I checked the failed systemd services:
The output showed:
Then I checked the Maldet service status:
The first error was:
So I installed the missing package:
After that, I tried to restart Maldet:
But then Maldet showed another missing dependency:
So I installed inotify-tools:
Then I verified that inotifywait existed:
It returned:
After that, I restarted Maldet again:
Then I checked the service status:
This time Maldet started correctly:
The log also showed:
Finally, I checked failed services again:
Result:
So in my case, the fix was simply to install the missing Maldet monitor-mode dependencies:
This was tested on:
I hope this helps someone who sees Maldet failing with one of these errors:
or:
After installing the required packages and restarting Maldet, the service started normally.
I wanted to share a small fix in case it helps someone else using CWP / Control Web Panel with AlmaLinux 8.
After checking my server, I noticed that the maldet service was failing.
First, I checked the failed systemd services:
systemctl --failed --no-pagerThe output showed:
maldet.service loaded failed failed Linux Malware Detect monitoring - maldetThen I checked the Maldet service status:
systemctl status maldet -l --no-pagerThe first error was:
maldet: {mon} could not find monitor mode dependency 'ed' in PATH, please apt/yum/dnf install ed and try again.So I installed the missing package:
dnf install -y edAfter that, I tried to restart Maldet:
systemctl restart maldetBut then Maldet showed another missing dependency:
maldet: {mon} could not find inotifywait command, install yum package inotify-toolsSo I installed inotify-tools:
dnf install -y inotify-toolsThen I verified that inotifywait existed:
which inotifywaitIt returned:
/usr/bin/inotifywaitAfter that, I restarted Maldet again:
systemctl restart maldetThen I checked the service status:
systemctl status maldet -l --no-pagerThis time Maldet started correctly:
Active: active (running)The log also showed:
inotify startup successful
inotify monitoring log: /usr/local/maldetect/logs/inotify_logFinally, I checked failed services again:
systemctl --failed --no-pagerResult:
0 loaded units listed.So in my case, the fix was simply to install the missing Maldet monitor-mode dependencies:
dnf install -y ed inotify-tools
systemctl restart maldetThis was tested on:
CWP / Control Web Panel
AlmaLinux 8
Linux Malware Detect v1.6.6I hope this helps someone who sees Maldet failing with one of these errors:
could not find monitor mode dependency 'ed'or:
could not find inotifywait commandAfter installing the required packages and restarting Maldet, the service started normally.
The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal
Last edit: 1 Εβδομάδα 21 Ώρες πριν by infogate.
Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.
- Forum
- Main Forum
- English Section
- Server Security
- Fixed: Linux Malware Detect / Maldet Service Failed on CWP AlmaLinux 8
Χρόνος δημιουργίας σελίδας: 0.077 δευτερόλεπτα