How can I fix empty mail log information in Warden?

Warden uses the systemd-journal to lookup mail log information. If your logs are empty you might have a corrupted journal. You can check your journal for errors with the command:

journalctl --verify

Journald log retention options are controlled in file /etc/systemd/journald.conf. Here is a KB article about them:

https://tecadmin.net/clear-systemd-journal-logs/

The SystemMaxUse and MaxRetentionSec options control the journal data retention limits in /etc/systemd/journald.conf . If you make changes remember to restart the systemd-journal with the command systemctl restart systemd-journald .

Pruning the systemd-journal Examples 

// Remove all files older than 7 days
journalctl --vacuum-time=7d 

// limit the journal to 1 GB
journalctl --vacuum-size=1G 

// for more help about all the options
man journalctl
  • journalctl, logging, empty, systemd-journal
  • 0 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

How can I fix any statistics generation problems?

Missing the Warden Crontab Entry There is a crontab entry that will update Warden statistics...

How can I fix the error: "milter-reject: END-OF-MESSAGE from..." in the log and found the AV in error (cannot read /etc/clam.d/scan.conf).

Cloudlinux / Imunify360 added their own version of ClamAV to their repo which accidentally...

How can I fix the error: Can't connect to TCP port 10024 on 127.0.0.0 [Address already in use] when trying to start Amavis?

When trying to start Amavis you see this in the mail log: Oct 02 03:20:15 condor3648 systemd[1]:...

How can I fix the error: Can't connect to TCP port 10024 on ::1 [Cannot assign requested address] when trying to start Amavis?

When trying to start Amavis you see this in the mail log: Oct 02 03:20:15 condor3648 systemd[1]:...

How can I fix the error: Error [Contentfilter_Settings_Contentfilter]. Message [[QUARANTINEDIR] must be a valid directory?

This error means that Amavis was not installed correctly. Try running the Warden from the command...