Maillog leer / bleibt leer

Aus Glaskugel
Version vom 11. März 2021, 10:00 Uhr von Standard (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „: Wenn das maillog ( /var/log/maillog ) keine Einträge zeigt und auch nicht aktiv beschrieben wird, so hilft folgende Anleitung : Copy & Paste aus talk.plesk…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
Wenn das maillog ( /var/log/maillog ) keine Einträge zeigt und auch nicht aktiv beschrieben wird, so hilft folgende Anleitung
Copy & Paste aus talk.plesk.com

1. delete all files and folders of directory "/var/log/journal". Make sure you have not deleted the journal directory itself.

rm -f /var/log/journal/*

2. Now delete the imjournal state file. You can file the file at "/var/lib/rsyslog/imjournal.state". This file holds the state of rsyslog service for reading messages from journal directory.

rm /var/lib/rsyslog/imjournal.state

3. Now restart the journal service using command "systemctl restart systemd-journald.service".

systemctl restart systemd-journald.service

4. Now restart the rsyslog service using command "systemctl restart rsyslog.service".

systemctl restart rsyslog.service