2016-12-06 51 views
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機器也能正常工作。這臺機器有很多活動,所以我不明白爲什麼沒有輸出。

謝謝你,史蒂夫

回答

0

我不知道發生了什麼事情,但我重新安裝Debian和現在logwatch的偉大工程。我猜有時候,即使使用穩定的Linux發行版,擦除和全新安裝也能達到目的。不知道是什麼導致問題開始...