Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: LibClamAV Error: cli_loaddb(): No supported database files found in /var/clamav  (Read 7557 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
You may face the following error while restarting ClamAV.

Code: [Select]
/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 process. Now run the “freshclam” to fix this issue.

freshclam

Code: [Select]
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 star the ClamAV.

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

That’s it!! Issue fixed. :)