首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ClamAV Daemon ubuntu

ClamAV Daemon ubuntu
EN

Ask Ubuntu用户
提问于 2016-04-12 08:43:01
回答 1查看 3.1K关注 0票数 2

我正试图按照

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

除了最后一步,一切都很完美,

夹紧&

当我运行上面的命令时,它将显示

错误:请定义服务器类型(本地和/或TCP)。

当我使用命令

数独扫描-v

我得到的输出是

错误:无法查找: Servname不支持ai_socktype

我遵循了启动ClamAV守护进程时出错中的所有解决方案,但没有希望。还有别的办法解决这个问题吗?

EN

回答 1

Ask Ubuntu用户

发布于 2016-04-12 10:21:22

通过按下面的方式编辑clamd.conf,这个问题解决了

代码语言:javascript
复制
# Log additional information about the infected file, such as its
# size and hash, together with the virus name.
#ExtendedDetectionInfo yes

# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Default: disabled
PidFile /var/run/clamd.pid

# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
TemporaryDirectory /var/tmp

# Path to the database directory.
# Default: hardcoded (depends on installation options)
DatabaseDirectory /usr/local/share/clamav

# Only load the official signatures published by the ClamAV project.
# Default: no
#OfficialDatabaseOnly no

# The daemon can work in local mode, network mode or both. 
# Due to security reasons we recommend the local mode.

# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
LocalSocket /tmp/clamd.socket

现在,如果我输入‘箝位&’,它是显示

3. 12859

然后“sudo service clamav-daemon start”显示。

3.完成夹紧

然后显示“拼贴扫描-v”

/usr/local/等: OK -扫描摘要-扫描摘要

然后显示“拼贴扫描-V”

ClamAV 0.99.1/21490/Tue 4月12日08:04:23 2016年

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/756512

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档