Updating Clamav

I install clamav from ports and get error message that said my definition older than 7 days.

After trying manual update, I see something icon smile Updating Clamav

jedimaster# /usr/local/bin/freshclam –verbose
Current working dir is /var/db/clamav
Max retries == 3
ClamAV update process started at Mon Jul 23 16:44:22 2007
Querying current.cvd.clamav.net
TTL: 300
WARNING: DNS record is older than 3 hours.
WARNING: Invalid DNS reply. Falling back to HTTP mode.
If-Modified-Since: Fri, 13 Jul 2007 15:01:34 GMT
Reading CVD header (main.cvd): Connected to database.clamav.net (IP: 222.124.18.201).
Trying to retrieve CVD header of http://database.clamav.net/main.cvd
OK
Retrieving http://database.clamav.net/main-44.cdiff
Trying to download http://database.clamav.net/main-44.cdiff (IP: 222.124.18.201)
Downloading main-44.cdiff [100%]
cdiff_apply: Parsed 28691 lines and executed 28691 commands
main.cvd updated (version: 44, sigs: 133163, f-level: 20, builder: sven)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 16, recommended = 20
DON’T PANIC! Read http://www.clamav.net/support/faq
Assuming modification time in the past
If-Modified-Since: Mon, 27 Dec 2004 03:52:10 GMT
Reading CVD header (daily.cvd): Connected to database.clamav.net (IP: 222.124.18.201).
Trying to retrieve CVD header of http://database.clamav.net/daily.cvd
OK
Retrieving http://database.clamav.net/daily-3697.cdiff
Trying to download http://database.clamav.net/daily-3697.cdiff (IP: 222.124.18.201)
ERROR: getfile: daily-3697.cdiff not found on remote server (IP: 222.124.18.201)
ERROR: getpatch: Can’t download daily-3697.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-3697.cdiff
Trying to download http://database.clamav.net/daily-3697.cdiff (IP: 222.124.18.201)
ERROR: getfile: daily-3697.cdiff not found on remote server (IP: 222.124.18.201)
ERROR: getpatch: Can’t download daily-3697.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-3697.cdiff
Trying to download http://database.clamav.net/daily-3697.cdiff (IP: 222.124.18.201)
ERROR: getfile: daily-3697.cdiff not found on remote server (IP: 222.124.18.201)
ERROR: getpatch: Can’t download daily-3697.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Retrieving http://database.clamav.net/daily.cvd
Trying to download http://database.clamav.net/daily.cvd (IP: 222.124.18.201)
Downloading daily.cvd [100%]
Removing incremental directory daily.inc
Removing backup directory ./clamav-0fe9f7e2e016493cc3a194fb862a06f7
daily.inc updated (version: 3741, sigs: 6959, f-level: 16, builder: ccordes)
Database updated (140122 signatures) from database.clamav.net (IP: 222.124.18.201)

WARNING: Clamd was NOT notified: Can’t connect to clamd through /var/run/clamav/clamd
connect(): No such file or directory

jedimaster# cd /var/run/clamav/
jedimaster# ls
jedimaster# whereis clamd
clamd: /usr/local/sbin/clamd /usr/local/man/man8/clamd.8.gz /usr/ports/security/clamav/work/clamav-0.90.3/clamd
jedimaster# ln -s /usr/local/sbin/clamd /var/run/clamav/clamd
jedimaster#

Trying update :
jedimaster# /usr/local/bin/freshclam –verbose
Current working dir is /var/db/clamav
Max retries == 3
ClamAV update process started at Mon Jul 23 16:46:16 2007
Querying current.cvd.clamav.net
TTL: 187
WARNING: DNS record is older than 3 hours.
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Assuming modification time in the past
If-Modified-Since: Mon, 27 Dec 2004 03:52:10 GMT
Reading CVD header (main.cvd): Ignoring mirror 222.124.18.201 (too often connections with outdated version)
Trying host database.clamav.net (193.1.193.64)…
Connected to database.clamav.net (IP: 193.1.193.64).
Trying to retrieve CVD header of http://database.clamav.net/main.cvd
OK
main.inc is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
WARNING: Current functionality level = 16, recommended = 20
Please check if ClamAV tools are linked against proper version of libclamav
DON’T PANIC! Read http://www.clamav.net/support/faq
If-Modified-Since: Mon, 23 Jul 2007 16:44:32 GMT
Reading CVD header (daily.cvd): Connected to database.clamav.net (IP: 193.1.193.64).
Trying to retrieve CVD header of http://database.clamav.net/daily.cvd
OK
daily.cvd is up to date (version: 3741, sigs: 6959, f-level: 16, builder: ccordes)

Make symlink to clamd fixed the problem.

Hmmm… it’s work, other message will be identified soon icon smile Updating Clamav