Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use ClamAV 0.97.8/17494 on CentOS 6.4. It's good but can't find viruses in rar files. It can detect same virus file as it is or in a zip file but in rar file ClamAV reports no virus.

ScanArchive=yes option is already enabled

I searched a lot on google but couldn't find a solution.

Does anyone know if there is a fix for this?


Package unrar-4.2.3-1.el6.rf.i686 already installed and latest version


ClamAV was installed using yum install clamav clamd

#ldd $(which clamscan) =>  (0x008fb000) => /usr/lib/ (0x0051a000) => /lib/ (0x00ddc000) => /lib/ (0x002d3000) => /lib/ (0x00490000) => /lib/ (0x00dc3000) => /lib/ (0x004a6000) => /lib/ (0x00489000)
/lib/ (0x002ad000)
share|improve this question
Was this installed from RPM or built from source? Can you ldd $(which clamscan) and check for missing libraries? (Show up in bold.) – Aaron Copley Jul 12 '13 at 19:35
@AaronCopley I edited my question – Ergec Jul 13 '13 at 4:37

Do you have unrar installed? It isn't part of the standard Centos Repos. Installation instructions are available online.

share|improve this answer
yes it's installed – Ergec Jul 12 '13 at 17:53

Most distributions exclude rar 3.0 support from ClamAV packages as the ClamAv authors had no legal right to include it. If you want rar support in ClamAV then you need to build it from the unmodified source which can be downloaded from the ClamAV website.

share|improve this answer

Had this problem. Upgraded to 0.97.7, no problem with it now, it can find the virus in the RAR files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.