After installation of CLAMAV and try to scan I see this error. How do I solve this?
$ clamscan scan
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.98.7
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.003 sec (0 m 0 s)
Best Answer
Steps 1-3 below include commands run in a terminal. Please read carefully so that you understand what you are doing.
Remove potentially bad AV installations:
Reinstall AV:
Update AV Database:
Configure AV & Scan:
This example uses clamtk only
toggle all options under Settings tab:
Network
http://127.0.0.1
Update Assistant
You should now see updated definition count
Scan a Directory
/root
or/usr
)Final Note: typing the phrase
--help
(without quotations) following command gives some hints. With APT commands you can pass the option-y
to say yes to installing all dependencies for the requested package.This is what I had to do to get clam working, perhaps a glitch for both clamtk and clamav (problem with both). Hope this helps someone else!!!