LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 10-24-2007, 07:46 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,895

Rep: Reputation: 73
Update Patches For ClamAV Fail


Guys,

When I try and run a script on my email server that updates ClamAV definitions, I get the following error:

Code:
[root@mail cron.daily]# ./freshclam 
ERROR: getpatch: Can't download daily-4548.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4549.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4550.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4551.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4552.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4553.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4554.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4554.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4554.cdiff from db.us.clamav.net
ERROR: Can't download daily.cvd from db.us.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.us.clamav.net
ERROR: Can't download daily.cvd from db.us.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.us.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.us.clamav.net
ERROR: Can't download daily.cvd from db.us.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.local.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.local.clamav.net
ERROR: getpatch: Can't download daily-4547.cdiff from db.local.clamav.net
ERROR: Can't download daily.cvd from db.local.clamav.net
The script I assume forces ClamAV to download the latest data and update the application but I don't know why this is failing. Nothing on the script or the email server has changed.

Here is the script I run:

#!/bin/sh

### A simple update script for the clamav virus database.
### This could as well be replaced by a SysV script.

### fix log file if needed
LOG_FILE="/var/log/clamav/freshclam.log"
if [ ! -f "$LOG_FILE" ]; then
touch "$LOG_FILE"
chmod 644 "$LOG_FILE"
chown clamav.clamav "$LOG_FILE"
fi

/usr/bin/freshclam \
--quiet \
--datadir="/var/clamav" \
--log="$LOG_FILE" \
--log-verbose \
--daemon-notify="/etc/clamd.conf"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to update Clamav antivirus database royeo Linux - Newbie 4 12-11-2011 11:14 AM
How can I update ClamAV? clpl1980 Fedora 2 03-27-2007 07:01 AM
clamav users: virusdbase update help ic_torres Linux - Software 2 01-15-2006 11:07 PM
cannot update clamAV izquierdista Linux - Security 3 06-10-2005 08:34 AM
ClamAV wont update m3kgt Linux - Software 3 07-19-2004 02:15 PM


All times are GMT -5. The time now is 04:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration