2014/08/25

Synology NAS 上更新AntiVirus Essential失敗的問題

最近Synology被綁架的問題蠻多的,但是更新到最新的DSM就比較安心一點了。

這幾天突然發現AntiVirus Essential好幾天都更新病毒碼失敗,讓人有點惶恐。

錯誤的訊息是
Update Failed: Your network may be down or none of the mirrors listed in /var/packages/AntiVirus/target/engine/clamav/etc/freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.

這連結連到另一個連結
連結導到了
https://github.com/vrtadmin/clamav-faq/blob/master/mirrors/MirrorProblems.md

裡面相關的敘述是
  • Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working.

It's not your lucky day. Freshclam tried every possible way to download the updates but failed. Usually this means that all the mirrors in your local pool are down or not synchronized, or something really nasty happened. Please wait a few minutes and try again. Remember to pass the -v option to freshclam.
It is also possible that you recently had a prolonged network outage and freshclam blacklisted all the mirrors: remove mirrors.dat from the DatabaseDirectory and try again.
If the problem persists, you may need to remove all files in DatabaseDirectory, and then re-run freshclam to pull a new copy of all of them.
Finally, check the "mirror status page":/mirrors.html and perhaps send the output of freshclam -v to mirror-admin at clamav dot net.

看來這個是運氣不好的日子...

不過freshclam程式啾竟在哪呢?
透過SSH登入到NAS後,
找到/var/packages/AntiVirus/target/engine/clamav/bin/ 這個目錄,
在這個目錄下依照說明執行 freshclam -v ,
就會看到程式努力的去找更新檔了。

能夠正常更新讓人鬆了一口氣。

沒有留言: