|
|||
|
Virus scan in Cpanel
On one of our servers, with clamavconnector installed, when using the virus scan icon in CPanel the screen just says "loading ..." and never completes the scan.
Background: this server had Mailscanner on, which I uninstalled before installing clamavconnector. I've verified that email is being virus scanned OK by using the eicar test site and doing a tail on the exim logfile. So I know that ClamAv is working OK. It's just the CPanel scan that is not working. Cpanel is 9.9.9-RELEASE 70. Anyone got any ideas? Cheers. |
|
|||
|
Magic, thanks very much, that did the trick!
Hope you don't mind me just clarifying the info for the benefit of others reading this thread in future: Problem: After uninstalling mailscanner and installing clamavconnector, mail is virus scanned but cpanel's virus scanning of files does not work. Solution: 1. Edit /etc/clamav.conf: Code:
pico /etc/clamav.conf Code:
LocalSocket xxx Code:
xxx Code:
/tmp/clamd Code:
LocalSocket /var/clamd 5. Restart exim (which will also restart clamd) using: Code:
/etc/init.d/exim restart |
|
|||
|
The process following:
Edit /etc/clamd.conf (NOT clamav.conf): Code: pico /etc/clamd.conf 2. Look for the line Code: LocalSocket xxx 3. Change the line to: Code: LocalSocket /var/clamd 4. Save the file 5. Restart exim (which will also restart clamd) using: Code: /etc/init.d/exim restart |
|
|||
|
Guys, first of all I need to tell you that in the case you have installed cPanel ClamAV connector you need just SINGLE file - /etc/clamd.conf !
E.g. for Virus Scan to work you need to REMOVE /etc/clamav.conf - it is not used by cPanel in any way. We have tested this on all servers of us and know what we are talking about. |
|
|||
|
I am having this same issue, scanning in cpanel is not longer working, but the clamd file is set exactly the way it should be, so that is not a solution. Anyone else ever have this issue and was able to actually fix it?
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|