LibClamAV Error- Database Directory- /var/clamav not locked


If you get that message when using freshclam, check out the clamd sock file…

Usually stored under /var/run/clamav/clamd.sock

Verify the ownership on the file, directory, and verify if the owner is similar to the user running clamd.

Thanks for reading this post!

If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!