ClamAV Error

Hello. I’m still very new to TrueNAS and I like working with it so far. I have a brand new installation using TrueNAS version 25.04.1. I installed the ClamAV app with no issues. I couldn’t find a guide on how to configure ClamAV with TrueNAS but I followed this page:

I had already configured TrueNAS to send me error emails and I received my first ClamAV error message email from TrueNAS. The email stated:

ERROR: Problem with internal logger.
ERROR: Can’t open /mnt/logs/clamav-scan-06-29-2025_00-00.log in append mode (check permissions!).

In the logs, I also found this message but am unclear as to what this is referencing:

2025-06-28 17:28:39.854156+00:00Socket for clamd not found yet, retrying (1/1800) …
Socket for clamd not found yet, retrying (2/1800) …
Socket for clamd not found yet, retrying (3/1800) …
Socket for clamd not found yet, retrying (4/1800) …
Socket for clamd not found yet, retrying (5/1800) …
Socket for clamd not found yet, retrying (6/1800) …
Socket for clamd not found yet, retrying (7/1800) …
Socket for clamd not found yet, retrying (8/1800) …
Socket for clamd not found yet, retrying (9/1800) …
Socket for clamd not found yet, retrying (10/1800) …Sat Jun 28 17:28:39 2025 → Limits: Global time limit set to 120000 milliseconds.

Anyone have any ideas on what may be occurring? Is there a better document or page explaining configuring ClamAV with TrueNAS? Any thoughts at all?

Did you check permissions on /mnt/logs/clamav-scan-06-29-2025_00-00.log ? Did they go read-only? Though I don’t know why that would happen, I’m afraid.

@Miles Is there a way to delete ClamAV and then re-install to start the configuration all over from scratch?

@Miles I don’t think you need execute permissions here; you are not running logs as scripts; you are just appending and creating them. - but you might add write permissions for the group. I don’t know how to delete and reinstall ClamAV inside TrueNAS.