Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145066 - freshclam (deamon) never updates it's database
Summary: freshclam (deamon) never updates it's database
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 05:08 UTC by Alexandre Ghisoli
Modified: 2006-08-25 05:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Ghisoli 2006-08-25 05:08:36 UTC
The way that Gentoo install clamav, it's use freshclam to get antivirus database refresh.

but, it's _required_ that you specify the refresh rate; otherwise, no updates at all !!!

From man pages  :
-d, --daemon
              Run in a daemon mode. This option requires --checks.


-c #n, --checks=#n
              Check #n times per day for a new database. #n must be between 1 and 50.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-25 05:33:09 UTC
That's what /etc/freshclam.conf is for.
Comment 2 Alexandre Ghisoli 2006-08-25 05:46:30 UTC
By defaults: 

# Number of database checks per day.
# Default: 12 (every two hours)
#Checks 24


is commented, maybe uncomment and add 1 ?
Comment 3 Alexandre Ghisoli 2006-08-25 05:49:59 UTC
oh, forget to say, I've servers where freshclam (0.88.3) doesnt update, until I force -n 2 at startup or force a config option.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-25 05:58:51 UTC
(In reply to comment #2)
> # Number of database checks per day.
> # Default: 12 (every two hours)
> #Checks 24
> 
> 
> is commented, maybe uncomment and add 1 ?

As written in the comment, the default value is 2 hours. It works perfectly fine here.

Also, your clamav is outdated.