try running with strace

something like this

strace -s 255 -f -o /tmp/logfile command

ja upload logfile to pastebin or similar

Eero

On Tue 27. Jul 2021 at 21.09, G.W. Haywood via clamav-users <clamav-users@lists.clamav.net> wrote:
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?

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@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