[BlueOnyx:27269] Re: empty /var/log/maillog → and other files
Michael Stauber
mstauber at blueonyx.it
Sat Sep 28 11:59:04 -05 2024
Hi Meaulnes,
> sorry for bumping this, but long listing the /var/log/, I noticed that
> it's not only the maillog-202409xx.gz files that are concerned, but also
> mailman/*, ipacct, secure, cron, messages
>
> Where can I intervene?
Try this:
rm /var/log/journal/*/*
rm /var/lib/rsyslog/imjournal.state
systemctl restart systemd-journald
systemctl restart rsyslog
That should fix it. Sometimes under OpenVZ 7 Rsyslog stops logging after
a reboot of the Container due to a Systemd issue. The above commands
shake it loose again.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list