clamav auto update

Fórumok

clamav auto update

Hozzászólások

Szeretnem beallitani a clamav-ot hogy automatikusan frissitse a virus adatbazist. Azt olvastam, hogy kell szerkeszteni az /etc/freshclam.conf allomanyt.

A kovetkezok vannak beallitva:

DNSDatabaseInfo current.cvd.clamav.net
DatabaseMirror db.ro.clamav.net
DatabaseMirror database.clamav.net

De sajnos hibauzenetet ad:
ERROR: Please edit the example config file /etc/freshclam.conf.
ERROR: You must specify at least one database mirror.

Mit nem csinaltam jol?

az enyém ilyen:

DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogFileMaxSize 0
MaxAttempts 5
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net
DatabaseDirectory /var/lib/clamav/
NotifyClamd
DNSDatabaseInfo current.cvd.clamav.net

[quote:6f047630c2="kacsa"]Szeretnem beallitani a clamav-ot hogy automatikusan frissitse a virus adatbazist. Azt olvastam, hogy kell szerkeszteni az /etc/freshclam.conf allomanyt.

A kovetkezok vannak beallitva:

DNSDatabaseInfo current.cvd.clamav.net
DatabaseMirror db.ro.clamav.net
DatabaseMirror database.clamav.net

De sajnos hibauzenetet ad:
ERROR: Please edit the example config file /etc/freshclam.conf.
ERROR: You must specify at least one database mirror.

Mit nem csinaltam jol?

Olvasd el a config file-t jobban:

##
## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
## This file may be optionally merged with clamd.conf.
##

# Comment or remove the line below.
#Example

# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
#DatabaseDirectory /var/lib/clamav
DatabaseDirectory /usr/local/share/clamav

Ami ki van emelve azt ki kell kommentezni.

A clamavot en csomagbol teleptettem nem forrasbol. A kovetkezo a kofig:

DatabaseDirectory /var/lib/clamav
UpdateLogFile /var/log/freshclam.log
DatabaseOwner clamav
DNSDatabaseInfo current.cvd.clamav.net
DatabaseMirror db.ro.clamav.net
DatabaseMirror database.clamav.net
MaxAttempts 5
Checks 24

Es sajnos most sem megy. A hiba ugyanaz:
ERROR: Please edit the example config file /etc/freshclam.conf.
ERROR: You must specify at least one database mirror.