Installing ClamAVConnector with cPanel
Apparently new stock installations of cPanel and ClamAVConnector from “Manage Plugins” fail with the default preferences.
How can you tell if you have a failed installation? By checking if freshclam exists on the server:
root@test [~]# freshclam -bash: freshclam: command not found
If this is the case, the culprit is probably cPanel’s memory settings which you can tweak via WHM under “Tweak Settings”.
The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 256 megabytes can not be specified. A value of "0" will disable the memory limits.
Set this to 512 MB, then go to “Manage Plugins” and uninstall “ClamAVConnector”. Once it’s done re-install and “freshclam” should work and there you go! Working ClamAV installation.
root@test [~]# freshclam ClamAV update process started at Mon AugĀ 9 13:41:15 2010 main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven) daily.cld is up to date (version: 11524, sigs: 109521, f-level: 53, builder: guitar) bytecode.cvd is up to date (version: 32, sigs: 8, f-level: 53, builder: edwin)
Of course, if things still don’t work, make sure “RBL: zen.spamhaus.org and rbl.spamcop.net” is checked in “Exim Configuration Editor”.
thank you. thats a killer tip and something that helped me.