[root@localhost ~]# freshclam
ERROR: Please edit the example config file /etc/freshclam.conf.
WARNING: You must specify at least one database mirror.In order to make freshclam work we have to edit the freshclam.conf. Uncomment everything in the freshclam.conf file except
"UpdateLogFile /var/log/clamav/freshclam.log"Also Add this before MaxAttempts 5 line in
/etc/freshclam.conf
DatabaseMirror database.clamav.netNow freshclam should work if this is 1st time you ran freshclam it will take a while to finish
[root@localhost ~]# freshclamTo ensure that the virus database is current and updated. You can put the freshclam in cron if you like but i like to update it manually so i do not add it in the crontab.


No comments:
Post a Comment