One option to try, as root, run the command:

   find /etc -name "*clam*.conf" -print

Most likely the file is in /etc/clamav

Regards
        Mark.

On 23/07/18 09:04, Aziz wrote:
Hi users,

I'm trying to install Clamav in my Centos 7 to use it with Postfix, however I can't get Clamav deamon clamd to run, which is causing the following error :

/*/var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: Connection refused*/


When I try to start clamd the system doesn't find it :
/*
[root@mail clamd.d]# systemctl start clamd
Failed to start clamd.service: Unit not found.*/


Also when running clamd from : [root@mail clamd.d]# /usr/sbin/clamd I got this error :

*ERROR: Can't open/parse the config file /etc/clamd.conf*


The file /etc/clamd.conf doesn't exist .


Anyone has a hint on how to resolve this ?


Thank you


_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to