Results 1 to 3 of 3

Thread: Clamav: daemon does not start

  1. #1
    Join Date
    Dec 2009
    Beans
    554

    Clamav: daemon does not start

    Hi,
    I'm using ubuntu server 18.04.3 64 bit with lxde GUI. As usual, I installed clamav (0.100.3+dfsg-0ubuntu0.18.04.1) and clamtk (5.25-1), but the clamav daemon does not start.
    Code:
    sudo systemctl status clamav-daemon
    ● clamav-daemon.service - Clam AntiVirus userspace daemon
       Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
      Drop-In: /etc/systemd/system/clamav-daemon.service.d
               └─extend.conf
       Active: inactive (dead)
    Condition: start condition failed at Wed 2019-09-18 09:00:52 CEST; 24min ago
               └─ ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was not met
         Docs: man:clamd(8)
               man:clamd.conf(5)
               https://www.clamav.net/documents/
    Log file is empty:
    Code:
    /var/log/clamav/clamav.log.
    The folder
    Code:
    /var/lib/clamav
    contains main.cvd file. I know that I need to run freshclam before to start the daemon. However, it fails to download daily or main files.
    Code:
    Wed Sep 18 09:38:57 2019 -> ClamAV update process started at Wed Sep 18 09:38:57 2019
    Wed Sep 18 09:38:57 2019 -> ^Your ClamAV installation is OUTDATED!
    Wed Sep 18 09:38:57 2019 -> ^Local version: 0.100.3 Recommended version: 0.101.4
    Wed Sep 18 09:38:57 2019 -> DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
    Wed Sep 18 09:38:57 2019 -> main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
    Wed Sep 18 09:38:57 2019 -> !Can't download daily.cvd from database.clamav.net
    Wed Sep 18 09:38:57 2019 -> Giving up on database.clamav.net...
    Wed Sep 18 09:38:57 2019 -> Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.
    Any idea how to fix it?
    Thank you in advance
    Last edited by erotavlas; September 18th, 2019 at 05:40 PM.

  2. #2
    Join Date
    Dec 2009
    Beans
    554

    Re: Clamav: daemon does not start

    I solved by myself. The issue was related to missing files (daily.cvd, main.cvd) into the folder /var/lib/clamav. I downloaded them via wget and now the clamav daemon works properly.
    Last edited by erotavlas; September 18th, 2019 at 05:39 PM.

  3. #3
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Clamav: daemon does not start

    Thread moved to Server Platforms.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •