clamav anti virus installation

Asked by somit on 2009-04-19

 i installed new version,but still getting problem.I go through the clamav document.I entered some of the command instructed by clamav and i got the following result.please advice me further,what to do?
:~$ whereis freshclam
freshclam: /usr/bin/freshclam /usr/local/bin/freshclam /usr/local/etc/freshclam.conf /usr/share/man/man1/freshclam.1.gz
~$ whereis clamscan
clamscan: /usr/bin/clamscan /usr/local/bin/clamscan /usr/share/man/man1/clamscan.1.gz
~$ ldd `which freshclam` => (0xb7f1e000) => /usr/local/lib/ (0xb7e3d000) => /lib/tls/i686/cmov/ (0xb7e39000) => /lib/tls/i686/cmov/ (0xb7e25000) => /lib/tls/i686/cmov/ (0xb7e0d000) => /lib/tls/i686/cmov/ (0xb7cbe000)
 /lib/ (0xb7f1f000)
:~$ freshclam
ERROR: Please edit the example config file /usr/local/etc/freshclam.conf
ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf

Question information

English Edit question
Ubuntu clamav Edit question
No assignee Edit question
Last query:
Last reply:
Hemanth (hemanth-hm) said : #1

How did you install the new version ? { From the source ? }

Chaker ZAAFOURI (zaafouri) said : #2

But the error contain the solution. Please edit the example config file /usr/local/etc/freshclam.conf
     "ERROR: Please edit the example config file /usr/local/etc/freshclam.conf
     ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf"

somit (sovitkumar) said : #3

well i am not getting.kindly, please provide full instruction along wit command.I downloaded from Clamav.

Jeruvy (jeruvy) said : #4

The latter error occurs because freshclam requires ROOT privileges and running 'freshclam' as normal user doesn't work.
So try running with 'sudo'

'sudo freshclam'

You will probably still get the 'edit the example config file' message, but the latter should disappear.
You should also review the documentation inthe clamav package you downloaded for instructions on how to edit and configure the file.

Can you help with this problem?

Provide an answer of your own, or ask somit for more information if necessary.

To post a message you must log in.