相关疑难解决方法(0)

如何更新 ClamAV 定义数据库?

如何通过终端更新 Clam Antivirus?

我已经安装了clamav,但是我想知道如何更新病毒库。

updates clamav antivirus

61
推荐指数
3
解决办法
28万
查看次数

如何停止自动freshclam执行

我有最新版本的freshclamclamav安装,并在过去(当我有Ubuntu的14.10)下只运行freshclam每天自动几次,但一直没有运行所有的时间。现在我发现如果我去终端并执行:

sudo freshclam
Run Code Online (Sandbox Code Playgroud)

我得到:

ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
Run Code Online (Sandbox Code Playgroud)

然后,能够手动运行该命令的唯一方法是freshclam终止该进程,但这既浪费时间又令人讨厌,所以我想完全停止freshclam自动更新,以便我可以进行手动更新。

所以我尝试的是安装clamtk,并在Update Assistant设置中尝试设置它以便我手动安装更新,然后我单击Apply,但这似乎,即使在重新启动后,对freshclam行为方式也没有影响。

所以我真正的问题是,我怎样才能得到它以便freshclam不自动检查更新,或者至少让它每天做几次,但并不总是在那里,所以我必须杀死它才能运行它?或者有没有办法修复clamtk以便它正确执行(我已经与开发人员取得联系clamtk并且他正在调查它,但不知道问题是什么)?


操作系统信息:

Description:    Ubuntu 15.04
Release:    15.04
Run Code Online (Sandbox Code Playgroud)

包装信息:

ClamTk:

clamtk:
  Installed: 5.18-1
  Candidate: 5.18-1
  Version table:
 *** 5.18-1 0
        100 /var/lib/dpkg/status
     5.15-1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
Run Code Online (Sandbox Code Playgroud)

蛤AV:

clamav:
  Installed: 0.98.7+dfsg-0ubuntu0.15.04.1
  Candidate: 0.98.7+dfsg-0ubuntu0.15.04.1 …
Run Code Online (Sandbox Code Playgroud)

upgrade updates process clamav services

14
推荐指数
2
解决办法
2万
查看次数

无法运行 Freshclam

root@msy-Inspiron-One-2020:/home/msy# freshclam
ERROR: Missing argument for option at line 33
ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf
Run Code Online (Sandbox Code Playgroud)

这是/usr/local/etc/freshclam.conf

#Example
DatabaseDirectory /var/lib/clamav
##

## Example config file for freshclam
## Please read the clamav.conf(5) manual before editing this file.
## This file may be optionally merged with clamav.conf.
##

# You can change the default database directory here.
#DatabaseDirectory /var/lib/clamav
DatabaseDirectory /usr/local/clamav/share/clamav

# Path to the log file (make sure it has proper permissions)
UpdateLogFile /var/log/freshclam.log

# Enable verbose …
Run Code Online (Sandbox Code Playgroud)

clamav

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

clamav ×3

updates ×2

antivirus ×1

process ×1

services ×1

upgrade ×1