Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
I have installed clamav antivirus,and while scanning it shows the following warning LibClamAV Warning: ************************************************** LibClamAV Warning: *** The virus database is older than 7 days! *** LibClamAV Warning: *** ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41

    Exclamation How to update clamav virus definitions?


    I have installed clamav antivirus,and while scanning it shows the following warning
    LibClamAV Warning: **************************************************
    LibClamAV Warning: *** The virus database is older than 7 days! ***
    LibClamAV Warning: *** Please update it as soon as possible. ***
    LibClamAV Warning: **************************************************

    And so i have tried to update the virus database as root,using this command
    # freshclam
    bash: freshclam: command not found


    but i cant,can you pls say me how to update the virus database...

    Thanks in advance.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    Update the database with the command: freshclam
    Then, enable daily updating with the command: freshclam -d -c 1
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You tried freshclam and it said command not found?

    If you type which freshclam what is the output?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    Quote Originally Posted by reed9 View Post
    You tried freshclam and it said command not found?

    If you type which freshclam what is the output?
    Ah! I missed that freshclam wasn't found. It should be in /usr/bin, but it needs to be executed by root, or with sudo.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41
    [root@karthick karthick]# which freshclam
    /usr/bin/which: no freshclam in (/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/karthick/bin)
    [root@karthick karthick]#

  7. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    If you are missing freshclam, then clamav did not get installed properly. What distributeion+version of Linux are you using? And how did you install clamav?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #7
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41
    I am using fedora 10 and i have installed clamav using yum command "yum install clamav"

  9. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    Execute this command as root:
    Code:
    yum list | grep clam
    and post the results here.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  10. #9
    Linux Newbie
    Join Date
    Feb 2009
    Posts
    101
    mabey there is one compile version.

    find / -name freshclam

  11. #10
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41
    [root@karthick karthick]# yum list | grep clam

    clamav.i386 0.94.2-1.fc10 installed
    clamav-data.i386 0.94.2-1.fc10 installed
    clamav-filesystem.i386 0.94.2-1.fc10 installed
    clamav-lib.i386 0.94.2-1.fc10 installed
    clamav-data-empty.i386 0.94.2-1.fc10 updates
    clamav-devel.i386 0.94.2-1.fc10 updates
    clamav-milter.i386 0.94.2-1.fc10 updates
    clamav-milter-core.i386 0.94.2-1.fc10 updates
    clamav-milter-sendmail.i386 0.94.2-1.fc10 updates
    clamav-milter-sysv.i386 0.94.2-1.fc10 updates
    clamav-server.i386 0.94.2-1.fc10 updates
    clamav-server-sysv.i386 0.94.2-1.fc10 updates
    clamav-update.i386 0.94.2-1.fc10 updates
    exim-clamav.i386 4.69-7.fc10 fedora
    [root@karthick karthick]#

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •