ClamAV无法更新错误解决

检查ClamAV更新日志发现更新出错
-------------------------------------------------------

ClamAV update process started at Fri Mar  7 06:30:17 2008
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.91.1 Recommended version: 0.92.1
DON'T PANIC! Read http://www.clamav.net/support/faq
main.inc is up to date (version: 45, sigs: 169676, f-level: 21, builder: sven)
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: getpatch: Can't download daily-5630.cdiff from database.clamav.net
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: getpatch: Can't download daily-5630.cdiff from database.clamav.net
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: getpatch: Can't download daily-5630.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: Can't download daily.cvd from database.clamav.net
Trying again in 5 secs...
ClamAV update process started at Fri Mar  7 06:30:22 2008
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.91.1 Recommended version: 0.92.1
DON'T PANIC! Read http://www.clamav.net/support/faq
main.inc is up to date (version: 45, sigs: 169676, f-level: 21, builder: sven)
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: getpatch: Can't download daily-5630.cdiff from database.clamav.net
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: getpatch: Can't download daily-5630.cdiff from database.clamav.net
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: getpatch: Can't download daily-5630.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: Can't get information about database.clamav.net: Host not found
ERROR: Can't download daily.cvd from database.clamav.net
Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.


测试ping任何一个外网网站都报'unknown host',返回错误

检查发现/etc/nsswitch.conf 文件配置有误
原设置  hosts:      files
修改后设置  hosts:      files dns

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/94384/viewspace-600324/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/94384/viewspace-600324/

你可能感兴趣的:(ClamAV无法更新错误解决)