LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
Search this Thread
Old 10-24-2007, 08:46 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

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


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


All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
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