[clamav-users] freshclam errors
Arjen de Korte
build+clamav at de-korte.org
Fri Mar 27 18:23:53 UTC 2020
Citeren Dieter Raith <raith at raith-net.org>:
[...]
> Thu Mar 26 14:54:12 2020 -> Received signal: wake up
> Thu Mar 26 14:54:12 2020 -> ClamAV update process started at Thu Mar
> 26 14:54:12 2020
> Thu Mar 26 14:54:12 2020 -> daily database available for update
> (local version: 25762, remote version: 25763)
> Thu Mar 26 14:54:16 2020 -> Testing database:
> '/var/lib/clamav/tmp.e39fb/clamav-e406aa5ef0cc6a3c25bd248f692d0958.tmp-daily.cld'
> ...
> Thu Mar 26 14:54:23 2020 -> WARNING: [LibClamAV] mpool_malloc():
> Can't allocate memory (262144 bytes).
> Thu Mar 26 14:54:23 2020 -> WARNING: [LibClamAV] hm_addhash_bin:
> failed to grow hash array to 1025 entries
> Thu Mar 26 14:54:23 2020 -> WARNING: [LibClamAV] cli_loadhash:
> Malformed hash string at line 727354
> Thu Mar 26 14:54:23 2020 -> WARNING: [LibClamAV] cli_loadhash:
> Problem parsing database at line 727354
> Thu Mar 26 14:54:23 2020 -> WARNING: [LibClamAV] Can't load
> daily.hsb: Can't allocate memory
> Thu Mar 26 14:54:23 2020 -> WARNING: [LibClamAV] cli_tgzload: Can't
> load daily.hsb
> Thu Mar 26 14:54:23 2020 -> WARNING: [LibClamAV] Can't load
> /var/lib/clamav/tmp.e39fb/clamav-e406aa5ef0cc6a3c25bd248f692d0958.tmp-daily.cld: Malformed
> database
> Thu Mar 26 14:54:23 2020 -> ERROR: Failed to load new database:
> Malformed database
> Thu Mar 26 14:54:24 2020 -> WARNING: Database load exited with "Test
> failed" (8)
> Thu Mar 26 14:54:24 2020 -> ERROR: Database test FAILED.
> Thu Mar 26 14:54:24 2020 -> ERROR: Unexpected error when attempting
> to update database: daily
> Thu Mar 26 14:54:24 2020 -> WARNING: fc_update_databases:
> fc_update_database failed: Test failed (8)
> Thu Mar 26 14:54:24 2020 -> ERROR: Database update process failed:
> Test failed (8)
> Thu Mar 26 14:54:24 2020 -> ERROR: Update failed.
> Thu Mar 26 15:54:24 2020 -> Received signal: wake up
> Thu Mar 26 15:54:24 2020 -> ClamAV update process started at Thu Mar
> 26 15:54:24 2020
> Thu Mar 26 15:54:24 2020 -> daily database available for update
> (local version: 25762, remote version: 25763)
> Thu Mar 26 15:54:28 2020 -> Testing database:
> '/var/lib/clamav/tmp.e39fb/clamav-3e50013c5b6bed641a847a24a38e1d41.tmp-daily.cld'
[...]
> *I have no idea what happens here. My system has 2 GB memory and 107
> MB free.*
The error messages are clear, you're running out of memory. You'll
need at least 4 GB of memory to run clamd reliably.
> **free -m
> total used free shared
> buff/cache available
> Mem: 2004 504 107 36 1391 1321
> Swap: 0 0 0
>
> *Any ideas?*
>
> *Rgds
> Dieter
> *
More information about the clamav-users
mailing list