[BlueOnyx:25490] Re: /var/log/maillog and /var/log/messages zero file siza
Meaulnes Legler
bluelist at waveweb.ch
Fri Jul 1 13:19:26 -05 2022
thank you so much, Michael!
again, I had a server problem while traveling on vacations, this time
crossing Scotland... and since I cannot send you a bottle, I'll drink
myself a glass of Single Malt to your health — it's disinfecting,
revitalizing, curing etc
best regards
で⊃ Meaulnes Legler
Zurich, Switzerland
On 30.06.22 20:50, Michael Stauber wrote:
> Hi Meaulnes,
>
>> on one mailserver, the SMTP limps, some messages cannot get out or
>> throw an «Undelivered Mail Returned to Sender» error. I wanted to go
>> to see what's going on in /var/log/maillog and /var/log/messages and
>> noticed, that since three days they have *zero bytes* file size.
>
> This is an issue that sometimes happens on EL7 and EL8. The best way to
> shake logging loose again is this:
>
> rm /var/log/journal/*/*
> rm /var/lib/rsyslog/imjournal.state
> systemctl restart systemd-journald
> systemctl restart rsyslog
>
> I just did that on your affected server and it's now logging again.
>
> I had gotten your offlist email, but due to traveling and then
> recovering from the flu I wasn't working much.
>
> I don't why airlines think it's a great idea to let people wait for
> hours in 40°C terminals and then cool them down to a shivering 18°C in
> flight. /sigh
>
More information about the Blueonyx
mailing list