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: and” is checked in “Exim Configuration Editor”.

1 Comment

  1. matt says:

    thank you. thats a killer tip and something that helped me.

Post a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog is powered by WordPress and designed by Chico Web Design