No supported database files found in /var/clamav

No supported database files
Sometimes, you may get the error "No supported database files found in /var/clamav" while restarting ClamAV. Here is the solution to resolve this issue.

You may get the error “No supported database files found in /var/clamav” while restarting ClamAV.

/etc/init.d/clamd restart
Stopping Clam AntiVirus Daemon: [FAILED]
Starting Clam AntiVirus Daemon: LibClamAV Error: cli_loaddb(): No supported database files found in /var/clamav
ERROR: Can't open file or directory [FAILED]

 

Don’t panic. You are getting this error because you don’t have any virus database definitions under /var/clamav. Run the below command to fix this.

killall freshclam

 

The above command will kill all running ClamAV update processes. Now run the “freshclam” to fix this issue.

freshclam
ClamAV update process started at Wed May 22 02:45:39 2013
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Downloading daily.cvd [100%]
daily.cvd updated (version: 17258, sigs: 1297275, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]bytecode.cvd updated (version: 214, sigs: 41, f-level: 63, builder: neo)
Database updated (2341703 signatures) from db.local.clamav.net (IP: 69.12.162.28)
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.sock
connect(): No such file or directory

 

Please do not worry about the warning. You are getting this warning because you haven’t started the ClamAV yet.
Now it’s time to start the ClamAV.

/etc/init.d/clamd start
Starting Clam AntiVirus Daemon: [ OK ]

 

So that’s how you fix the ClamAV error – No supported database files found in /var/clamav.

Share this post

Services to Explore

Stay up to date!

Stay up to date with the Web Hosting, Cloud and Server Management Industry News and Tutorials!

We will send you only the relevant emails, and we respect your privacy. Please review our privacy policy for more info.

Linux Management Services

Focus on your business, and let us take care of your Linux Servers!
From what you are reading, it seems you are interested in Linux and related technologies. If you have a moment to spare, please take a look at our Linux Management Services plan, which might interest you even more!
Linux Management Plan

Value-Added Services

We have services that can help you run a successful business. With us, you don't have to worry about these areas because our experts will take care of it for you.

ServerHealers uses cookies.