I can run clamdscan to scan files using –fdpass. I commented out the TCP Socket and TCP Address in clamd.conf and tried to run clamonacc. This is what I’m getting now

 

[root@ip-10-64-205-168 etc]# clamonacc --log=/var/log/clamonacc.log

ERROR: Clamonacc: Version of curl is too low to use fdpassing. Please use tcp socket streaming instead

 

From: clamav-users <clamav-users-bounces@lists.clamav.net> on behalf of G.W. Haywood via clamav-users <clamav-users@lists.clamav.net>
Date: Tuesday, June 29, 2021 at 10:01 AM
To: Lopez, Carmelo via clamav-users <clamav-users@lists.clamav.net>
Cc: G.W. Haywood <clamav@jubileegroup.co.uk>
Subject: Re: [clamav-users] Not able to start clamonacc

Hi there,

On Tue, 29 Jun 2021, Lopez, Carmelo via clamav-users wrote:

> root@ip-10-64-205-19 bin]# clamconf -n
> Checking configuration files in /etc
>
> Config file: clamd.d/scan.conf
> ------------------------------
> ...
> LocalSocket = "/var/run/clamd.scan/clamd.sock"
> ...

What are the permissions on this socket, and on its parent directories?

Can you successfully run clamdscan to scan files using the local socket?
(It might be helpful to comment out the two lines for the TCP socket and
to restart the clamd and clamonacc daemons to be sure you're not using a
TCP connection by accident.)

--

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