[clamav-users] clamonsacc not working on centos7

Joël Labby joel at nwavedigital.com
Wed Jul 28 05:32:16 UTC 2021


No Selinux is desactivated.

But I made a step into this problem...

I've commented the line

#LocalSocket /run/clamd.scan/clamd.sock

And Clanonacc can now run.

I just have another concern.

I've set it like this :

OnAccessIncludePath /home/afifd

but when I start the process I can see in the log :

ClamFanotif: recursively watching the mount point '/home/user'

and

ClamWorker: performing scanning on file 
'/var/clamav/tmp/clamav-eee4bd3426e13922b0708f8cae552dfa.tmp'

So the path defined doesn't seem to work.

I've also tried to define

OnAccessExcludePath /var/clamav/tmp

If you have any idea.. You are welcome :-)

Thanks

joel

Le 27/07/21 à 20:06, G.W. Haywood via clamav-users a écrit :
> Hi there,
>
> On Tue, 27 Jul 2021, Joël Labby via clamav-users wrote:
>
>> ...
>> I can use clamscan to scan a file
>>
>> but clamonacc return this error :
>>
>> ERROR: ClamClient: Could not connect to clamd, Couldn't connect to 
>> server
>> ERROR: Clamonacc: daemon is local, but a connection could not be 
>> established
>>
>> any idea ?
>
> Are you running SELinux?
>
-- 
<http://www.nwavedigital.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210728/7f4c5288/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Joel.jpg
Type: image/jpeg
Size: 47308 bytes
Desc: not available
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210728/7f4c5288/attachment.jpg>


More information about the clamav-users mailing list