[clamav-users] Question regarding freshclam log entry

Noel Jones njones at megan.vbhcs.org
Thu Feb 22 15:23:20 UTC 2018


On 2/22/2018 8:29 AM, J Doe wrote:
> 
>> Hello,
>>
>> I recently installed ClamAV 0.99.3 on a Ubuntu 16.04.03 LTS server and utilize it as a milter for Postfix v. 3.1.0.
>>
>> When freshclam runs according to its’ cron job and successfully downloads an update, it leaves the following note in the freshclam log:
>>
>> WARNING: clamd was NOT notified:  Can’t connect to clamd through /var/spool/postfix/var/run/clamav/clamd.sock
>>
>> My initial thought was a simple permissions error, so I checked the permissions to the clamd.sock socket:
>>
>> drwxr-xr-x    clamav clamav    /var/spool/postfix/var/run/clamav
>> srw-rw-rw    clamav clamav    /var/spool/postfix/var/run/clamd.sock 

This path doesn't match the error message above.

>>
>> $ sudo -u clamav namei -m /var/spool/postfix/var/run/clamav/clamd.sock

Yet this path does.

>> I’m pretty sure this is a minor mistake on my part; can anyone suggest a solution ?

Check your paths in clamd.conf and freshclam.conf carefully. It's
likely they don't match.




  -- Noel Jones



More information about the clamav-users mailing list