我在debian机器上的logwatch遇到了一些问题。当cron运行它时,我收到这样一封电子邮件:
/etc/cron.daily/00logwatch:
You have old files in your logwatch tmpdir (/tmp):
logwatch.vgravfXz
logwatch.VQCUc9AZ
logwatch.CogZiLf0
The directories listed above were most likely created by a
logwatch run that failed to complete successfully. If so, you
may delete these directories.
No mail for root
run-parts: /etc/cron.daily/00logwatch exited with return code 141如果我在提示符下运行logwatch,它只会显示"no mail for root“。但它在另一台debian机器上工作得很好(杰西8.6,两者都有)。而且几台ubuntu 14和16机器也可以正常工作。这台机器有很多活动,所以我不明白为什么没有输出。
谢谢,史蒂夫
发布于 2016-12-12 02:09:26
我不知道发生了什么,但我重新安装了debian,现在logwatch工作得很好。我猜有时候,即使有一个稳定的linux发行版,擦除和重新安装也能做到这一点。不知道是什么导致了这个问题……
https://stackoverflow.com/questions/40994545
复制相似问题