[BlueOnyx:27270] Re: empty /var/log/maillog → and other files
Meaulnes Legler @ MailList
bluelist at waveweb.ch
Mon Sep 30 00:49:05 -05 2024
Thank you Michael, the logfiles are growing again
Best regards
.. Meaulnes Legler
⌣ Zurich, Switzerland
+41¦0 44 260-1660
On 28.09.24 18:59, Michael Stauber via Blueonyx wrote:
> 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.
>
More information about the Blueonyx
mailing list