clamav 0.94 -> 0.97.6 proper way

cyexx

Well-Known Member
Sep 3, 2004
70
0
156
I have searched ahead of time and no clear path with a centos cpanel server to update the clamav software just definitions which will not update now since so far out of range.

The problem is that yum does not see where cpanel installed clamav so it will not update it.

CENTOS 5.8 i686 standard
WHM 11.34.1 (build 6
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
cPanel installs ClamAV from source. Trying to install a ClamAV RPM package will likely break it, or at least break its integration with cPanel. You can update ClamAV to the latest version that cPanel supports by uninstalling it and then reinstalling it in Home » cPanel » Manage Plugins.
 

cyexx

Well-Known Member
Sep 3, 2004
70
0
156
Jared
Update

I uninstalled via the plugin and then reinstalled and the plugin page shows this
Name: clamavconnector
Author: cPanel Inc.
Installed Version: 0.97.6-3.2
Version: 0.97.6-3.2
Description: Virus Protection for Email and Filemanager Uploads
Price: free

But under ssh I get this
[email protected] [~]# /usr/local/bin/clamscan -V
ClamAV 0.94/16447/Tue Jan 8 20:19:43 2013
[email protected] [~]#
[email protected] [~]# freshclam
ClamAV update process started at Tue Jan 8 22:36:33 2013
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.94 Recommended version: 0.97.6
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
daily.cvd is up to date (version: 16447, sigs: 513768, f-level: 63, builder: guitar)
[email protected] [~]#

So please advise on this, thanks in advance
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Do you have any ClamAV RPM package installed? Does this command give any output?

Code:
# rpm -qa|grep -i clam
There should be no output. If any ClamAV package is installed, remove it and then reinstall the cPanel ClamAV plugin.

If you submit a ticket, we should be able to find the cause of this relatively quickly.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello :)

The ticket noted the existence of the following file:

Code:
/usr/local/bin/clamscan
This likely originated from a custom installation of ClamAV that was removed at some point. The correct binary (as provided by cPanel) is stored at /usr/bin/clamscan. Thus, "/usr/local/bin/clamscan" was moved out of the way to resolve this issue.

Thank you.