ClamAV 설치 우분투

ClamAV 설치 우분투

아래 지침에 따라 우분투에 ClamAV를 설치하려고 합니다.

blog.dutchcoders.io/installing-clamav-from-source/

바이러스 데이터베이스를 업데이트할 때 사용됩니다.

sudo freshclam -v

나는 들어가고있다 (상태

Current working dir is /usr/local/share/clamav
Max retries == 3
ClamAV update process started at Mon Apr 11 13:10:34 2016
Using IPv6 aware code
Retrieving database.clamav.net/main.cvd
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 219.94.128.99)
Ignoring mirror 219.94.128.99 (due to previous errors)
Trying host database.clamav.net (27.96.54.66)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 27.96.54.66)
Trying host database.clamav.net (203.178.137.175)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 203.178.137.175)
Trying host database.clamav.net (211.239.150.206)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 211.239.150.206)
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)
WARNING: Can't download main.cvd from database.clamav.net
Trying again in 5 secs...
ClamAV update process started at Mon Apr 11 13:13:09 2016
Using IPv6 aware code
Retrieving database.clamav.net/main.cvd
Ignoring mirror 120.29.176.126 (due to previous errors)
Ignoring mirror 211.239.150.206 (due to previous errors)
Ignoring mirror 27.96.54.66 (due to previous errors)
Ignoring mirror 203.178.137.175 (due to previous errors)
Ignoring mirror 219.94.128.99 (due to previous errors)
WARNING: Can't download main.cvd from database.clamav.net
Trying again in 5 secs...
ClamAV update process started at Mon Apr 11 13:13:15 2016
Using IPv6 aware code
Retrieving database.clamav.net/main.cvd
Ignoring mirror 27.96.54.66 (due to previous errors)
Ignoring mirror 211.239.150.206 (due to previous errors)
Ignoring mirror 120.29.176.126 (due to previous errors)
Ignoring mirror 219.94.128.99 (due to previous errors)
Ignoring mirror 203.178.137.175 (due to previous errors)
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 
/usr/local/etc/freshclam.conf is working. Check http://www.clamav.net/doc/mirrors-faq.html for possible reasons.

왜 이런 일이 발생합니까? ? 이 문제를 해결할 다른 방법이 있나요? ?

저는 ClamTK를 원하지 않습니다.

답변1

다시 한번 확인하기 위해:

  • 인터넷 연결 및 방화벽 설정을 확인하셨나요?
  • wget 또는 컬을 사용하여 문제의 서버에 연결할 수 있습니까?
  • 소스에서 빌드하는 이유는 무엇입니까?
  • apt-get을 통해 설치할 수 있는 버전을 사용해 보셨나요?

계속하기 전에 다음을 시도해 보세요.

답변2

편집하다freshclam.conf

sudo nano /etc/freshclam.conf 

다음 줄의 주석 처리를 해제하세요 #DNSDatabaseInfo current.cvd.clamav.net(예):

 DNSDatabaseInfo current.cvd.clamav.net

해당 줄 뒤에 #DatabaseMirror db.XY.clamav.net새 줄을 추가합니다 . 예를 들면 다음과 같습니다.

DatabaseMirror db.vn.clamav.net

, ... vn로 대체할 수 있습니다 .usfr

DatabaseMirror database.clamav.net댓글이 없는지 확인하세요 .

저장 및 업데이트

오류가 발생하면 다음 명령을 시도해 보십시오.

chown -R 500:500 /var/lib/clamav
chmod -R 755 /var/lib/clamav

관련 정보