【环境信息】
版本:20.03-LTS-SP3
arm/x86
【问题复现步骤】
1.安装clamav clamav-server
2.配置环境
mv /etc/clamd.d/scan.conf /etc/clamd.d/scan.conf.bak
echo " LogFile /var/log/clamd.scan
LogFileMaxSize 2M
LogTime yes
PidFile /run/clamd.scan/clamd.pid
DatabaseDirectory /var/lib/clamav
TCPAddr 0.0.0.0
TCPSocket 3310
LocalSocket /run/clamd.scan/clamd.sock
ScanOnAccess yes
OnAccessExcludeUname test
OnAccessIncludePath /opt" >/etc/clamd.d/scan.conf
systemctl restart clamd@scan.service
systemctl restart clamav-clamonacc
3.执行以下命令
clamonacc -w
【预期结果】
命令执行成功
【实际结果】
命令执行报错
Hi ssttkx, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: Others, and any of the maintainers: @jimmy_hero, @small_leek.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
验证版本:20.03-LTS-SP3-rc3
验证结果:通过
登录 后才可以发表评论