On March 17, 2017 12:35:02 PM EDT, Baskaranand <basc...@rediffmail.com> wrote:
>Hi,
>
>Ububtu 16.04.2 server edition
>
>ClamAV 0.99.2 installed
>
>postfix 3.1.0-3 installed
>
>I could not reload the  clamav-daemon.service due to the below issue.
>
>How to solve it
>
>----------------------------------------------------------------------------
>----------------------------------
>
>clamav-daemon.service - Clam AntiVirus userspace daemon
>
>   Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled;
>vendor preset: enabled)
>
>   Active: inactive (dead)
>
>Condition: start condition failed at Fri 2017-03-17 14:45:52 IST; 42min
>ago
>
>         ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was
>not met

This is systemd telling you it couldn't find the clamav signatures in 
/var/lib/clamav.  You need to make sure freshclam is running (it's probably 
not):

$ systemctl status clamav-freshclam

I expect you'll discover it's dead too.  To start it up again, first you need 
to reset it's state:

$ sudo systemctl reset-failed clamav-freshclam

Then start it:

$ sudo systemctl start clamav-freshclam

Once the signatures​ are updated, do the same for clamav-daemon.

Since you are administering a systemd system, you probably ought to spend some 
time with https://www.freedesktop.org/software/systemd/man/systemctl.html.

Scott K
_______________________________________________
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