On 2016-05-05 15:52:43 [+0200], Simone Piccardi wrote: > After installing clamav-freshclam I got these in syslog: > May 5 15:32:29 jessie freshclam[4851]: ERROR: Can't download daily.cvd from > database.clamav.net > May 5 15:32:29 jessie freshclam[4851]: Giving up on database.clamav.net... > May 5 15:32:29 jessie freshclam[4851]: Update failed. Your network may be > down or none of the mirrors listed in /etc/clamav/freshclam.conf is working. > Check http://www.clamav.net/doc/mirrors-faq.html for possible reasons.
… > So there is no /var/lib/clamav/daily.cvd downloaded and clamav-daemon was > not started, silently failing (no trace in syslog also). I just got it > because amavis was angry, and then I got the problem with: > > root@jessie:~# systemctl status clamav-daemon > ● clamav-daemon.service - Clam AntiVirus userspace daemon > Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled) > Active: inactive (dead) since gio 2016-05-05 15:45:31 CEST; 28s ago > start condition failed at gio 2016-05-05 15:45:53 CEST; 6s ago > ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was not > met yeah. as long as the database is missing you can't start clamd. > I have jessie-updates in my sources list, and I could just plain take the > file > with wget, so it's not a network problem. > > I could solve the issue downloading the file with: > > cd /var/lib/clamav/ > wget http://database.clamav.net/daily.cvd > > after this clamav-daemon was startable, but the clamav-freshclam package > now is just broken, do not work, and the current configuration prevent > also clamav-daemon to work. can you try `freshclam' on the command line and see if it works? It should work and so should freshclam from cron. It might been a temporary problem. Sebastian