Failed install: File::Scan::ClamAV

devGOD

Well-Known Member
Oct 18, 2003
122
0
166
Atlanta, GA
how do i get past this error...

Code:
 CPAN.pm: Going to build J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz

Cannot find clamd in /root/bin (or a number of other places)
 - are you sure clamav in installed?
No 'Makefile' created  JAMTUR/File-Scan-ClamAV-1.91.tar.gz
  /usr/local/bin/perl Makefile.PL -- NOT OK
Running make install
  Make had some problems, won't install
perlmod--Install done
Tested 120, 119 ok, 1 failed.
        Failed install: File::Scan::ClamAV
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Check WHM > Tweak Settings that the "Max cPanel process memory" is set to at least 512MB or unlimited. If it isn't, increase it to 512MB or unlimited.

At that point, go to WHM > Manage Plugins to see if "clamavconnector" is checked as installed. If it is, uncheck "Install and keep updated" box, then click the "Uninstall clamavconnector" button. After it uninstalls, now go back to Manage Plugins to re-install clamavconnector. It should properly install this time.

What likely happened if you did have clamavconnector previously installed is that it didn't properly complete due to a memory limitation. On systems where only 256MB is available for the cPanel processes, clamavconnector doesn't complete installing, since it requires more memory.