[clamav-users] clamonsacc not working on centos7
Joël Labby
joel at nwavedigital.com
Wed Jul 28 06:08:14 UTC 2021
I've found the solution:
The OnAccessIncludePath has to be commented in my case.
everything seems to work like a charm :-)
Le 28/07/21 à 07:32, Joël Labby via clamav-users a écrit :
>
> 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>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users at lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
--
<http://www.nwavedigital.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210728/33a4e33f/attachment-0001.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/33a4e33f/attachment-0001.jpg>
More information about the clamav-users
mailing list