Hi everyone, i'm trying to update manually the virus database of ClamAV application from a local directory but i have problems to do it. I'm using Ubuntu 10.04.
i saved the virus database files *.cvd on /var/lib/clamav and i modified the source path to find the updated databases:
root@root: /etc/clamav# gedit freshclam.conf
Code:
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package
DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
# Check for new database 24 times a day
Checks 24
DatabaseMirror /var/lib/clamav
but when i run the command 'freshclam', i received this message:
ClamAV update process started at Mon Mar 19 13:16:37 2012
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
WARNING: Current functionality level = 58, recommended = 60
Please check if ClamAV tools are linked against the proper version of libclamav
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: Can't get information about /var/lib/clamav: Name or service not known
WARNING: getpatch: Can't download daily-14665.cdiff from /var/lib/clamav
WARNING: Can't get information about /var/lib/clamav: Name or service not known
WARNING: getpatch: Can't download daily-14665.cdiff from /var/lib/clamav
WARNING: Can't get information about /var/lib/clamav: Name or service not known
WARNING: getpatch: Can't download daily-14665.cdiff from /var/lib/clamav
WARNING: Can't get information about /var/lib/clamav: Name or service not known
WARNING: getpatch: Can't download daily-14665.cdiff from /var/lib/clamav
ERROR: Can't get information about /var/lib/clamav: Name or service not known
ERROR: getpatch: Can't download daily-14665.cdiff from /var/lib/clamav
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: Can't get information about /var/lib/clamav: Name or service not known
ERROR: Can't download daily.cvd from /var/lib/clamav
Giving up on /var/lib/clamav...
Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.
why is tryning to download daily-14665.cdiff? and how clamav can recognise the directory /var/lib/clamav to find the *.cvd files??
ERROR: Can't get information about /var/lib/clamav: Name or service not known
ERROR: Can't download daily.cvd from /var/lib/clamav
any idea to fix this issue and update the database manually? Thanks
Bookmarks