On Wed, 12 Jul 2017 01:45:29 -0700
Al Varnell <alvarn...@mac.com> wrote:

> > Which update method is best, and if it's freshclam, how do I get it
> > to notify clamd?
> > 
> > Regards, Bob  
> 
> There are normally three updates per day (every 8 hours) so running
> freshclam at least daily will clearly be best if you want to stay
> up-to-date.
> 
That's what I thought. I've now blocked the repo update method.

> Freshclam is looking for clamd.socket in /var/run/clamav, so check
> your clamd.conf file to see if that is where it is specified:
> > # Path to a local socket file the daemon will listen on.
> > # Default: disabled (must be specified by a user)
> > LocalSocket <PathTo clamd.socket>  
> 
Yes, that's what I have here in /etc/clamd.conf

> and that freshclam.conf is checking for clamd.conf in the correct
> location:
> > # Send the RELOAD command to clamd.
> > # Default: no
> > NotifyClamd <PathTo clamd.conf>  
> 
And my /etc/freshclam.conf contains those lines

> If clamd is not running, then there will be no clamd.socket and there
> is no need to notify it.  If and when clamd starts up, it will load
> the current database and only needs to know if it has been updated
> while running, at which time it will reload the new database.
> 
clamd is running. I've just run freshclam maually as root and it seems to have 
updated clamd this time, so that previous logfile message will remain a mystery.

Many thanks for your help.

> -Al-

Bob
-- 
Bob Williams
   System:  Linux 4.4.74-18.20-default
   Distro:  openSUSE 42.2 (x86_64)
   Desktop: KDE Frameworks: 5.26.0, Qt: 5.6.1 and Plasma: 5.8.2

Attachment: pgpweOAwLqxHA.pgp
Description: OpenPGP digital signature

_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to