Thanks Mark for your feedback. It seems that the file doesn't exist at all, here is the output :
*[root@mail /]# find /etc -name "*clam*.conf" -print/etc/clamd.d/clamsmtp.conf/etc/freshclam.conf/etc/tnc/clamavimc.conf/etc/mail/clamav-milter.conf/etc/clamsmtpd.conf* BR On Mon, Jul 23, 2018 at 9:21 AM, <mark.li...@thurning-instruments.co.uk> wrote: > 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