root@testmail:~# freshclam -v
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
root@testmail:~# cat /var/log/clamav/freshclam.log
Thu Oct 20 13:02:12 2016 -> --------------------------------------
Thu Oct 20 13:02:12 2016 -> freshclam daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Thu Oct 20 13:02:12 2016 -> ClamAV update process started at Thu Oct 20 13:02:12 2016
Thu Oct 20 13:02:42 2016 -> nonblock_connect: connect timing out (30 secs)
Thu Oct 20 13:02:42 2016 -> Can't connect to port 80 of host db.local.clamav.net (IP: 213.73.255.243)
Thu Oct 20 13:02:42 2016 -> Trying host db.local.clamav.net (217.19.16.188)...
Thu Oct 20 13:02:43 2016 -> Downloading main.cvd [100%]
Thu Oct 20 13:03:06 2016 -> ERROR: Database load killed by signal 9
Thu Oct 20 13:03:06 2016 -> ERROR: Failed to load new database
Thu Oct 20 13:03:06 2016 -> --------------------------------------
Thu Oct 20 13:08:45 2016 -> Update process terminated
Thu Oct 20 13:08:56 2016 -> --------------------------------------
Thu Oct 20 13:08:56 2016 -> freshclam daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Thu Oct 20 13:08:56 2016 -> ClamAV update process started at Thu Oct 20 13:08:56 2016
Thu Oct 20 13:09:16 2016 -> Downloading main.cvd [100%]
Thu Oct 20 13:09:27 2016 -> ERROR: Database load killed by signal 9
Thu Oct 20 13:09:27 2016 -> ERROR: Failed to load new database
Thu Oct 20 13:09:27 2016 -> --------------------------------------
Thu Oct 20 13:17:41 2016 -> Update process terminated
Thu Oct 20 13:17:54 2016 -> --------------------------------------
Thu Oct 20 13:17:54 2016 -> freshclam daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Thu Oct 20 13:17:54 2016 -> ClamAV update process started at Thu Oct 20 13:17:54 2016
Thu Oct 20 13:17:57 2016 -> Downloading main.cvd [100%]
Thu Oct 20 13:18:15 2016 -> ERROR: Database load killed by signal 9
Thu Oct 20 13:18:15 2016 -> ERROR: Failed to load new database
Thu Oct 20 13:18:15 2016 -> --------------------------------------
Thu Oct 20 14:18:15 2016 -> Received signal: wake up
Thu Oct 20 14:18:15 2016 -> ClamAV update process started at Thu Oct 20 14:18:15 2016
Thu Oct 20 14:18:19 2016 -> Downloading main.cvd [100%]
Thu Oct 20 14:18:27 2016 -> ERROR: Database load killed by signal 9
Thu Oct 20 14:18:27 2016 -> ERROR: Failed to load new database
Thu Oct 20 14:18:27 2016 -> --------------------------------------
Thu Oct 20 15:18:27 2016 -> Received signal: wake up
Thu Oct 20 15:18:27 2016 -> ClamAV update process started at Thu Oct 20 15:18:27 2016
Thu Oct 20 15:18:59 2016 -> Downloading main.cvd [100%]
Thu Oct 20 15:19:08 2016 -> ERROR: Database load killed by signal 9
Thu Oct 20 15:19:08 2016 -> ERROR: Failed to load new database
Thu Oct 20 15:19:08 2016 -> --------------------------------------
Thu Oct 20 16:19:08 2016 -> Received signal: wake up
Thu Oct 20 16:19:08 2016 -> ClamAV update process started at Thu Oct 20 16:19:08 2016
Thu Oct 20 16:19:38 2016 -> nonblock_connect: connect timing out (30 secs)
Thu Oct 20 16:19:38 2016 -> Can't connect to port 80 of host db.local.clamav.net (IP: 130.59.10.36)
Thu Oct 20 16:19:38 2016 -> Trying host db.local.clamav.net (193.230.240.8)...
Thu Oct 20 16:19:40 2016 -> Downloading main.cvd [100%]
Thu Oct 20 16:19:49 2016 -> ERROR: Database load killed by signal 9
Thu Oct 20 16:19:49 2016 -> ERROR: Failed to load new database
Thu Oct 20 16:19:49 2016 -> --------------------------------------
Thu Oct 20 17:19:49 2016 -> Received signal: wake up
Thu Oct 20 17:19:49 2016 -> ClamAV update process started at Thu Oct 20 17:19:49 2016
root@testmail:~# host database.clamav.net
database.clamav.net is an alias for db.local.clamav.net.
db.local.clamav.net is an alias for db.nl.clamav.net.
db.nl.clamav.net has address 145.58.29.83
db.nl.clamav.net has address 194.109.6.97
db.nl.clamav.net has address 213.73.255.243
db.nl.clamav.net has address 217.19.16.188
also, after deleting:
root@testmail:/var/lib/clamav# service clamav-freshclam restart
root@testmail:/var/lib/clamav# service clamav-freshclam status
● clamav-freshclam.service - ClamAV virus database updater
Loaded: loaded (/lib/systemd/system/clamav-freshclam.service; enabled)
Active: active (running) since Thu 2016-10-20 17:28:46 UTC; 4s ago
Docs: man:freshclam(1)
man:freshclam.conf(5)
http://www.clamav.net/lang/en/doc/
Main PID: 3484 (freshclam)
CGroup: /system.slice/clamav-freshclam.service
└─3484 /usr/bin/freshclam -d --foreground=true
Oct 20 17:28:46 testmail.domain.tld systemd[1]: Starting ClamAV virus database updater...
Oct 20 17:28:46 testmail.domain.tld systemd[1]: Started ClamAV virus database updater.
Oct 20 17:28:46 testmail.domain.tld freshclam[3484]: ClamAV update process started at Thu Oct 20 17:28:46 2016
root@testmail:/var/lib/clamav# fre
free freshclam
root@testmail:/var/lib/clamav# freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
root@testmail:/var/lib/clamav# service clamav-daemon restart
root@testmail:/var/lib/clamav# service clamav-daemon status
● clamav-daemon.service - Clam AntiVirus userspace daemon
Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled)
Active: inactive (dead)
start condition failed at Thu 2016-10-20 17:29:23 UTC; 4s ago
ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was not met
Docs: man:clamd(8)
man:clamd.conf(5)
http://www.clamav.net/lang/en/doc/
Oct 20 13:17:53 testmail.domain.tld systemd[1]: Started Clam AntiVirus userspace daemon.
Oct 20 14:33:28 testmail.domain.tld systemd[1]: Started Clam AntiVirus userspace daemon.
Oct 20 14:33:57 testmail.domain.tld systemd[1]: Started Clam AntiVirus userspace daemon.
Oct 20 15:16:19 testmail.domain.tld systemd[1]: Started Clam AntiVirus userspace daemon.
Oct 20 17:29:23 testmail.domain.tld systemd[1]: Started Clam AntiVirus userspace daemon.
root@testmail:/var/lib/clamav# ls -la
total 12
drwxr-xr-x 2 clamav clamav 4096 Oct 20 17:31 .
drwxr-xr-x 46 root root 4096 Oct 20 13:04 ..
-rw------- 1 clamav clamav 52 Oct 20 17:31 mirrors.dat