Here is the permissions,

 

root@ip-10-64-205-168 run]# ls -ld clamd.scan/

drwx--x---. 2 clamscan virusgroup 80 Jun 29 16:31 clamd.scan/

[root@ip-10-64-205-168 run]# ll clamd.scan/

total 4

-rw-rw-r--. 1 root     root     5 Jun 29 16:30 clamd.pid

srw-rw-rw-. 1 clamscan clamscan 0 Jun 29 16:31 clamd.sock

 

 

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