clamAV : fc_update_databases: fc_update_database failed: HTTP GET failed

Discussion in 'Installation/Configuration' started by pecka33, Mar 23, 2021.

  1. pecka33

    pecka33 Member

    Hello,

    i have a problem. Today a looked to isp panel and i can see problem with clamav. There are errors like

    Code:
    Tue Mar 23 16:53:54 2021 -> daily database available for download (remote version: 26118)
    Tue Mar 23 16:53:54 2021 -> WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:53:54 2021 -> WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:53:54 2021 -> Trying again in 5 secs...
    Tue Mar 23 16:53:59 2021 -> daily database available for download (remote version: 26118)
    Tue Mar 23 16:53:59 2021 -> ERROR: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:53:59 2021 -> ERROR: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:53:59 2021 -> Giving up on https://database.clamav.net...
    Tue Mar 23 16:53:59 2021 -> daily database available for download (remote version: 26118)
    Tue Mar 23 16:53:59 2021 -> WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:53:59 2021 -> WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:53:59 2021 -> Trying again in 5 secs...
    Tue Mar 23 16:54:04 2021 -> daily database available for download (remote version: 26118)
    Tue Mar 23 16:54:04 2021 -> WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:04 2021 -> WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:04 2021 -> Trying again in 5 secs...
    Tue Mar 23 16:54:09 2021 -> daily database available for download (remote version: 26118)
    Tue Mar 23 16:54:09 2021 -> WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:09 2021 -> WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:09 2021 -> Trying again in 5 secs...
    Tue Mar 23 16:54:14 2021 -> daily database available for download (remote version: 26118)
    Tue Mar 23 16:54:14 2021 -> WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:14 2021 -> WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:14 2021 -> Trying again in 5 secs...
    Tue Mar 23 16:54:19 2021 -> daily database available for download (remote version: 26118)
    Tue Mar 23 16:54:19 2021 -> ERROR: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:19 2021 -> ERROR: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
    Tue Mar 23 16:54:19 2021 -> Giving up on https://database.clamav.net...
    Tue Mar 23 16:54:19 2021 -> ERROR: Update failed for database: daily
    Tue Mar 23 16:54:19 2021 -> WARNING: fc_update_databases: fc_update_database failed: HTTP GET failed (11)
    Tue Mar 23 16:54:19 2021 -> ERROR: Database update process failed: HTTP GET failed (11)
    Tue Mar 23 16:54:19 2021 -> ERROR: Update failed.
    When i use freshclam command i get

    Code:
    ERROR: /var/log/clamav/freshclam.log is locked by another process
    ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
    ERROR: initialize: libfreshclam init failed.
    ERROR: Initialization error!
    
    I found this https://www.howtoforge.com/community/threads/clamav-database-update-error.76634/ and tried to rename files, restart clamav, but problem is same. At all, during this was automatically removed rename files in /var/lib/clamav/ and there is just mirrors.dat

    Any ideas what should i to do?
     
  2. pecka33

    pecka33 Member

    Solved!

    Restart of clamav does not help after removed files...so i did reboot of vps- after that was problem same but was created new files in /var/lib/clamav/

    after that i run

    Code:
    sudo systemctl stop clamav-freshclam.service
    
    and manually

    Code:
    sudo freshclam
    
    now works
     

Share This Page