On Fri, Nov 8, 2013 at 1:07 PM, xxdiskoxx2011 . <diskorem...@gmail.com>wrote:
> I had installed clamav from repo centos 6. I have not found the file > clamav.conf. this file does not exist. I found freshclam.conf. explain to > me how I have to make those changes > Il 08/nov/2013 17:58 "David Raynor" <dray...@sourcefire.com> ha scritto: > > > On Fri, Nov 8, 2013 at 10:57 AM, xxdiskoxx2011 . <diskorem...@gmail.com > > >wrote: > > > > > /etc/cron.daily/freshclam: > > > > > > ERROR: Parse error at line 17: Unknown option UpdateLogFile > > > ERROR: NotifyClamd: Can't find or parse configuration file > > /etc/clamd.conf > > > _______________________________________________ > > > Help us build a comprehensive ClamAV guide: > > > https://github.com/vrtadmin/clamav-faq > > > http://www.clamav.net/support/ml > > > > > > > > > UpdateLogFile is a valid freshclam.conf option but is not allowed in > > clamd.conf. You cannot use the freshclam config file with the > > --daemon-notify option of freshclam. Fix the command line of your cron > job > > to use the clamd.conf file instead. > > > > Dave R. > > > > -- > > --- > > Dave Raynor > > Sourcefire Vulnerability Research Team > > dray...@sourcefire.com > > _______________________________________________ > > Help us build a comprehensive ClamAV guide: > > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/support/ml > > > _______________________________________________ > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > http://www.clamav.net/support/ml > If you have no clamd.conf, you probably do not have clamd running. If clamd is not running, then remove the "--daemon-notify" part of the cron job command line because it is not needed (no clamd to notify). NOTE: the default location for clamd.conf is in /usr/local/etc/clamd.conf, unless it was changed by the package maintainer. Dave R. -- --- Dave Raynor Sourcefire Vulnerability Research Team dray...@sourcefire.com _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml