当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 10 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 15:36 

注册: 2016-10-06 10:43
帖子: 34
系统: vista,xubuntu
送出感谢: 2
接收感谢: 0 次
求助!
我的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:~$


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 15:59 
头像

注册: 2011-03-20 13:12
帖子: 4521
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
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 用户


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 16:01 

注册: 2016-10-06 10:43
帖子: 34
系统: vista,xubuntu
送出感谢: 2
接收感谢: 0 次
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"吗?


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 16:04 
头像

注册: 2011-03-20 13:12
帖子: 4521
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
cat8080 写道:
请问您说的“更新完是:sudo freshclam"吗?

是的。成功运行的截图 https://www.howtoforge.com/images/how-to-scan-for-viruses-with-clamav-on-ubuntu/big/pic_1.png


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 16:08 

注册: 2016-10-06 10:43
帖子: 34
系统: vista,xubuntu
送出感谢: 2
接收感谢: 0 次
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%]
进度正在下载可是非常的缓慢……


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 16:12 

注册: 2016-10-06 10:43
帖子: 34
系统: vista,xubuntu
送出感谢: 2
接收感谢: 0 次
vickycq 写道:
cat8080 写道:
请问您说的“更新完是:sudo freshclam"吗?

是的。成功运行的截图 https://www.howtoforge.com/images/how-to-scan-for-viruses-with-clamav-on-ubuntu/big/pic_1.png


图片没有打开 :Cry 难道是因为我没有翻qiang?


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 16:14 

注册: 2016-10-06 10:43
帖子: 34
系统: vista,xubuntu
送出感谢: 2
接收感谢: 0 次
还是无法升级: :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:~$


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 17:12 
头像

注册: 2011-03-20 13:12
帖子: 4521
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
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 用户



_________________
评价: 3.7% cat8080
 
页首
 用户资料  
 
9 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-10 17:40 

注册: 2016-10-06 10:43
帖子: 34
系统: vista,xubuntu
送出感谢: 2
接收感谢: 0 次
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 中预置的任何服务器


虽然遗憾,但是同样谢谢您!!


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 我的clamav刚安装上后不能更新病毒库和扫描文件?
帖子发表于 : 2016-10-11 10:31 

注册: 2016-10-06 10:43
帖子: 34
系统: vista,xubuntu
送出感谢: 2
接收感谢: 0 次
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
能在命令行下扫描文件!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 10 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译