0
我在debian機器上遇到了logwatch問題。當cron的運行它,我收到一封電子郵件這樣的:logwatch no root for root no output
/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它只是說「爲根沒有郵件。」但它在另一臺debian機器(jessie 8.6兼具)上效果很好。而且幾臺Ubuntu 14和16機器也能正常工作。這臺機器有很多活動,所以我不明白爲什麼沒有輸出。
謝謝你,史蒂夫