This post is about a small tip of ClamAV, actually ClamAV Unofficial Sigs in my case, troubleshooting.
I found freshclam freezed up in my OpenBSD server the other day:
# freshclam ClamAV update process started at Fri Mar 22 22:32:33 2019 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.100.2 Recommended version: 0.101.1 DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) Downloading daily-25378.cdiff [100%] Downloading daily-25379.cdiff [100%] Downloading daily-25380.cdiff [100%] Waiting or retrying didn't make any meaning.
The reason often seems in the database file.
Try to renew it by moving the original file to /tmp:
# # OpenBSD: # mv /var/db/clamav/daily.cld /tmp # # Manjaro Linux: # mv /var/lib/clamav/daily.cld /tmp Note: The directory is up to your operating system.
Run freshclam and check if it works well:
# freshclam ClamAV update process started at Sat Mar 23 00:28:30 2019 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.100.2 Recommended version: 0.101.1 DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) Downloading daily.cvd [100%] daily.cvd updated (version: 25396, sigs: 1528057, f-level: 63, builder: raynman) bytecode.cvd is up to date (version: 328, sigs: 94, f-level: 63, builder: neo) Database updated (6094400 signatures) from database.clamav.net (IP: xxx.xxx.xxx.xxx) If it's all right, delete the old file:
# rm /tmp/daily.cld I'm happy if this solution would help someone someday : )
Happy securing.
Top comments (0)