Memory error starting clamav daemon after install
0
votes
0
answers
206
views
I use Linux Mint 22 x86_64 with 6.8.0-45-generic kernel. I installed the latest version of clamav antivirus (1.4.1), but suddenly a problem appeared after restart clamav-daemon:
LibClamAV Error: Can't load daily.wdb: Can't allocate memory
.
Full systemctl status clamav-daemon
output:
clamd: LibClamAV Warning: *** Please update it as soon as possible. ***
clamd: LibClamAV Warning: **************************************************
clamd: LibClamAV Error: Can't load daily.wdb: Can't allocate memory
clamd: LibClamAV Error: cli_tgzload: Can't load daily.wdb
clamd: LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database
clamd: LibClamAV Error: cli_loaddbdir: error loading database /var/lib/clamav/daily.cld
clamd: ERROR: Thu Oct 3 04:19:55 2024 -> Malformed database
systemd: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE
systemd: clamav-daemon.service: Failed with result 'exit-code'.
systemd: clamav-daemon.service: Consumed 1.425s CPU time.
How to fix this? I didn't find any memory limits in freshclam.conf or clamd.conf.
What I tried to do:
1. Manipulating the ulimit -d
, -v
, -s
parameters did not give anything.
2. Set ConcurrentDatabaseReload
parameter (clamd.conf) to no
didn't help either.
Asked by DJNZ
(1 rep)
Oct 6, 2024, 02:03 AM