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`
 linux-gate.so.1 => (0xb7f1e000)
 libclamav.so.6 => /usr/local/lib/libclamav.so.6 (0xb7e3d000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e39000)
 libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7e25000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e0d000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cbe000)
 /lib/ld-linux.so.2 (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

Language:
English Edit question
Status:
Answered
For:
Ubuntu clamav Edit question
Assignee:
No assignee Edit question
Last query:
2009-04-20
Last reply:
2009-04-21
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.