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机器也能正常工作。这台机器有很多活动,所以我不明白为什么没有输出。
谢谢你,史蒂夫