注意: この記事は1年以上前に掲載されたものです。情報が古い場合がありますのでお気を付け下さい。
なんか、最近、ClamAVのウィルス定義ファイルのアップデートが失敗するらしく、デーモンからの警告メールが度々来ている。その状況の中、できる限り調べてみた。
まずは、root権原及びclamav権原でfreshclam
を叩いてみたのだが、以下のようなメッセージで明らかにアップデートに失敗していることが確認できた。
ClamAV update process started at Sun Mar 20 11:01:12 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download main.cvd
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 120.29.176.126)
WARNING: Can't download main.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Sun Mar 20 11:01:48 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download main.cvd
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 120.29.176.126)
WARNING: Can't download main.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Sun Mar 20 11:02:25 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download main.cvd
Trying host db.local.clamav.net (120.29.176.126)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 120.29.176.126)
WARNING: Can't download main.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Sun Mar 20 11:03:02 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download main.cvd
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 120.29.176.126)
WARNING: Can't download main.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Sun Mar 20 11:03:38 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from db.local.clamav.net
ERROR: getpatch: Can't download main-56.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download main.cvd
Trying host db.local.clamav.net (120.29.176.126)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 120.29.176.126)
ERROR: Can't download main.cvd from db.local.clamav.net
Giving up on db.local.clamav.net...
ClamAV update process started at Sun Mar 20 11:04:10 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getpatch: Can't download main-56.cdiff from database.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from database.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from database.clamav.net
WARNING: getpatch: Can't download main-56.cdiff from database.clamav.net
ERROR: getpatch: Can't download main-56.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download main.cvd
Trying host database.clamav.net (120.29.176.126)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 120.29.176.126)
ERROR: Can't download main.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 /etc/clamav/freshclam.conf is working. Check http://www.clamav.net/doc/mirrors-faq.html for possible reasons.
どうやら、公式ミラーが死んでいるような感じになっているのか、ClamAVのバージョンが古いのかのどちらかになっている可能性があるが、前者の方が印象的には強いのかもしれない。
割と面倒な状態になっているので、対処したいところではあるが・・・。
ウェブマスター。本ブログでITを中心にいろいろな情報や意見などを提供しています。主にスマートフォン向けアプリやウェブアプリの開発を携わっています。ご用の方はコメントかコンタクトフォームにて。