我的clamav刚安装上后不能更新病毒库和扫描文件?
-
- 帖子: 34
- 注册时间: 2016-10-06 10:43
- 系统: vista,xubuntu
我的clamav刚安装上后不能更新病毒库和扫描文件?
求助!
我的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:~$
我的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刚安装上后不能更新病毒库和扫描文件?
可能原因 后台恰好正在更新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 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 34
- 注册时间: 2016-10-06 10:43
- 系统: vista,xubuntu
Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
请问您说的“更新完是:sudo freshclam"吗?vickycq 写了:先临时停止 clamav-freshclam 服务 sudo systemctl stop clamav-freshclamcat8080 写了: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).
更新完后再启动之 sudo systemctl start clamav-freshclam
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
是的。成功运行的截图 https://www.howtoforge.com/images/how-t ... /pic_1.pngcat8080 写了:请问您说的“更新完是:sudo freshclam"吗?
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 34
- 注册时间: 2016-10-06 10:43
- 系统: vista,xubuntu
Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
kong@kong-x:~$ sudo systemctl stop clamav-freshclamcat8080 写了:请问您说的“更新完是:sudo freshclam"吗?vickycq 写了:先临时停止 clamav-freshclam 服务 sudo systemctl stop clamav-freshclamcat8080 写了: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).
更新完后再启动之 sudo systemctl start 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%]
进度正在下载可是非常的缓慢……
-
- 帖子: 34
- 注册时间: 2016-10-06 10:43
- 系统: vista,xubuntu
Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
图片没有打开 难道是因为我没有翻qiang?vickycq 写了:是的。成功运行的截图 https://www.howtoforge.com/images/how-t ... /pic_1.pngcat8080 写了:请问您说的“更新完是:sudo freshclam"吗?
-
- 帖子: 34
- 注册时间: 2016-10-06 10:43
- 系统: vista,xubuntu
Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
还是无法升级:
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:~$
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刚安装上后不能更新病毒库和扫描文件?
可能原因 由于众所周知的原因,您所处的地区无法连接到 /etc/clamav/freshclam.conf 中预置的任何服务器cat8080 写了:还是无法升级
Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working.
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 34
- 注册时间: 2016-10-06 10:43
- 系统: vista,xubuntu
Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
虽然遗憾,但是同样谢谢您!!vickycq 写了:可能原因 由于众所周知的原因,您所处的地区无法连接到 /etc/clamav/freshclam.conf 中预置的任何服务器cat8080 写了:还是无法升级
Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working.
-
- 帖子: 34
- 注册时间: 2016-10-06 10:43
- 系统: vista,xubuntu
Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
再次感谢您!!换个时间段终于升级成功!!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
能在命令行下扫描文件!