我的clamav刚安装上后不能更新病毒库和扫描文件?

其它类软件,非上述版软件
回复
cat8080
帖子: 34
注册时间: 2016-10-06 10:43
系统: vista,xubuntu

我的clamav刚安装上后不能更新病毒库和扫描文件?

#1

帖子 cat8080 » 2016-10-10 15:36

求助!
我的clamav查毒软件不能更新和扫描文件:
更新病毒库就爆出两个错误。想扫描文件也报错:
求高手解答!!谢谢!!

kong@kong-x:~$ sudo dpkg -s clamav
[sudo] kong 的密码:
Package: clamav
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 738
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Multi-Arch: foreign
Version: 0.99.2+dfsg-0ubuntu0.16.04.1
Depends: clamav-freshclam (>= 0.99.2+dfsg) | clamav-data, libc6 (>= 2.15), libclamav7 (>= 0.99~rc1), libcurl3 (>= 7.16.2), libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.2.3.3)
Recommends: clamav-base
Suggests: clamav-docs
Description: anti-virus utility for Unix - command-line interface
Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of
this software is the integration with mail servers (attachment
scanning). The package provides a flexible and scalable
multi-threaded daemon in the clamav-daemon package, a command-line
scanner in the clamav package, and a tool for automatic updating via
the Internet in the clamav-freshclam package. The programs are based
on libclamav, which can be used by other software.
.
This package contains the command line interface. Features:
- built-in support for various archive formats, including Zip, Tar,
Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others;
- built-in support for almost all mail file formats;
- built-in support for ELF executables and Portable Executable files
compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and
obfuscated with SUE, Y0da Cryptor and others;
- built-in support for popular document formats including Microsoft
Office and Mac Office files, HTML, RTF and PDF.
.
For scanning to work, a virus database is needed. There are two options
for getting it:
- clamav-freshclam: updates the database from Internet. This is
recommended with Internet access.
- clamav-data: for users without Internet access. The package is
not updated once installed. The clamav-getfiles package allows
creating custom packages from an Internet-connected computer.
Homepage: http://www.clamav.net/
Original-Maintainer: ClamAV Team <pkg-clamav-devel@lists.alioth.debian.org>
kong@kong-x:~$ sudo freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
kong@kong-x:~$ sudo clamscan -r /home
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory

----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.99.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.004 sec (0 m 0 s)
kong@kong-x:~$
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#2

帖子 vickycq » 2016-10-10 15:59

cat8080 写了:ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
可能原因 后台恰好正在更新
先临时停止 clamav-freshclam 服务 sudo systemctl stop clamav-freshclam
更新完后再启动之 sudo systemctl start clamav-freshclam
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
cat8080
帖子: 34
注册时间: 2016-10-06 10:43
系统: vista,xubuntu

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#3

帖子 cat8080 » 2016-10-10 16:01

vickycq 写了:
cat8080 写了:kong@kong-x:~$ sudo freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
先临时停止 clamav-freshclam 服务 sudo systemctl stop clamav-freshclam
更新完后再启动之 sudo systemctl start clamav-freshclam
请问您说的“更新完是:sudo freshclam"吗?
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#4

帖子 vickycq » 2016-10-10 16:04

cat8080 写了:请问您说的“更新完是:sudo freshclam"吗?
是的。成功运行的截图 https://www.howtoforge.com/images/how-t ... /pic_1.png
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
cat8080
帖子: 34
注册时间: 2016-10-06 10:43
系统: vista,xubuntu

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#5

帖子 cat8080 » 2016-10-10 16:08

cat8080 写了:
vickycq 写了:
cat8080 写了:kong@kong-x:~$ sudo freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
先临时停止 clamav-freshclam 服务 sudo systemctl stop clamav-freshclam
更新完后再启动之 sudo systemctl start clamav-freshclam
请问您说的“更新完是:sudo freshclam"吗?
kong@kong-x:~$ sudo systemctl stop clamav-freshclam
kong@kong-x:~$ sudo freshclam
ClamAV update process started at Mon Oct 10 16:07:24 2016
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 27.96.54.66)
Trying host db.local.clamav.net (203.178.137.175)...
Downloading main.cvd [ 7%]
进度正在下载可是非常的缓慢……
cat8080
帖子: 34
注册时间: 2016-10-06 10:43
系统: vista,xubuntu

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#6

帖子 cat8080 » 2016-10-10 16:12

vickycq 写了:
cat8080 写了:请问您说的“更新完是:sudo freshclam"吗?
是的。成功运行的截图 https://www.howtoforge.com/images/how-t ... /pic_1.png
图片没有打开 :Cry 难道是因为我没有翻qiang?
cat8080
帖子: 34
注册时间: 2016-10-06 10:43
系统: vista,xubuntu

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#7

帖子 cat8080 » 2016-10-10 16:14

还是无法升级: :Cry

kong@kong-x:~$ sudo systemctl stop clamav-freshclam
kong@kong-x:~$ sudo freshclam
ClamAV update process started at Mon Oct 10 16:07:24 2016
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 27.96.54.66)
Trying host db.local.clamav.net (203.178.137.175)...
nonblock_recv: recv timing out (30 secs)
WARNING: getfile: Download interrupted: Operation now in progress (IP: 203.178.137.175)
WARNING: Can't download main.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Mon Oct 10 16:14:25 2016
Trying host db.local.clamav.net (211.239.150.206)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 211.239.150.206)
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 Mon Oct 10 16:15:32 2016
WARNING: Can't download main.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Mon Oct 10 16:15:37 2016
WARNING: Can't download main.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Mon Oct 10 16:15:42 2016
ERROR: Can't download main.cvd from db.local.clamav.net
Giving up on db.local.clamav.net...
ClamAV update process started at Mon Oct 10 16:15:44 2016
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.
kong@kong-x:~$
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#8

帖子 vickycq » 2016-10-10 17:12

cat8080 写了:还是无法升级
Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working.
可能原因 由于众所周知的原因,您所处的地区无法连接到 /etc/clamav/freshclam.conf 中预置的任何服务器
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
cat8080
帖子: 34
注册时间: 2016-10-06 10:43
系统: vista,xubuntu

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#9

帖子 cat8080 » 2016-10-10 17:40

vickycq 写了:
cat8080 写了:还是无法升级
Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working.
可能原因 由于众所周知的原因,您所处的地区无法连接到 /etc/clamav/freshclam.conf 中预置的任何服务器
虽然遗憾,但是同样谢谢您!!
cat8080
帖子: 34
注册时间: 2016-10-06 10:43
系统: vista,xubuntu

Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?

#10

帖子 cat8080 » 2016-10-11 10:31

vickycq 写了:
cat8080 写了:ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
可能原因 后台恰好正在更新
先临时停止 clamav-freshclam 服务 sudo systemctl stop clamav-freshclam
更新完后再启动之 sudo systemctl start clamav-freshclam
再次感谢您!!换个时间段终于升级成功!! :Haha :Haha
能在命令行下扫描文件!
回复