LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav

LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav

当我尝试扫描 /home 目录时出现此错误。

[root@ip-172-31-34-67 ~]# clamscan /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.103.0
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)
Start Date: 2021:01:17 17:43:31
End Date:   2021:01:17 17:43:31
[root@ip-172-31-34-67 ~]#

它显​​示在 /var/lib/clamav 中找到的支持的数据库文件上,这可能导致了问题?

您将需要使用命令:

freshclam

创建必要的病毒库文件。

然后可以将其设置为定期更新数据库的服务。

运行 :

  • sudo service clamav-freshclam stop
  • sudo freshclam
  • sudo service clamav-freshclam start