Page 1 of 1

where is clamav installed?

Posted: Tue Dec 22, 2015 2:12 pm
by baijianpeng
Today is the first time I installed VestaCP on CentOS 7. Then I created a new website and new mail account. Then I tested this email address, I can send out emails via webmail (roundcube), but can not receive emails.

When I check the log file, I found following line:
2015-12-22 16:59:49 1aBInN-0004xc-Fm malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
Then I login in my server with SSH and tried to find out if that clamav directory exists, I got:

Code: Select all

[root@i  etc]# cd /var/run/clamav/
-bash: cd: /var/run/clamav/: No such file or directory
[root@i  etc]# cd /var/clamav/
-bash: cd: /var/clamav/: No such file or directory
[root@i  etc]# 
Well, it seems that ClamAV was not there. So, where is it?

Maybe clamav was NOT insalled on my server? How can I install it individually now after my VCP set up?

If it is not possible to install it now, how can I disable clamav ?

Thank you.

Re: where is clamav installed?

Posted: Wed Dec 23, 2015 6:50 am
by skurudo
To search Clamav use locate command like

Code: Select all

locate clam
or

Code: Select all

ls /usr/sbin/clamd
ls /usr/bin/clamdscan

Re: where is clamav installed?

Posted: Wed Dec 23, 2015 6:51 am
by skurudo
baijianpeng wrote: If it is not possible to install it now, how can I disable clamav ?
We have man for this case:
https://vestacp.com/docs/#how-to-instal ... ian-ubuntu
https://vestacp.com/docs/#how-to-instal ... hel-centos

Re: where is clamav installed?

Posted: Wed Dec 23, 2015 11:03 am
by baijianpeng
Thank you! I find it with "locate" command.

Re: where is clamav installed?

Posted: Wed Dec 23, 2015 1:14 pm
by skurudo
Good luck,
Then close.