Noticed in rpamd logs and clamd logs I’m getting errors shown below. Reading the clamd logs I can see the clamav directory in /var/lib/clamav is missing.
Any ideas on how I can fix this issue. Your help would be much appreciated.
Thanks,
Rspamd logs
lua; clamav.lua:117: clamav: failed to scan, maximum retransmits exceed
Clamd logs
Sun Jun 4 07:41:56 2023 -> ClamAV update process started at Sun Jun 4 07:41:56 2023
mailcowdockerized-clamd-mailcow-1 | Sun Jun 4 07:41:56 2023 -> daily.cld database is up-to-date (version: 26928, sigs: 2036411, f-level: 90, builder: raynman)
mailcowdockerized-clamd-mailcow-1 | Sun Jun 4 07:41:56 2023 -> main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
mailcowdockerized-clamd-mailcow-1 | Sun Jun 4 07:41:56 2023 -> bytecode.cvd database is up-to-date (version: 334, sigs: 91, f-level: 90, builder: anvilleg)
mailcowdockerized-clamd-mailcow-1 | LibClamAV Error: cli_add_content_match_pattern: Problem adding signature (2).
mailcowdockerized-clamd-mailcow-1 | LibClamAV Error: Problem parsing database at line 29356
mailcowdockerized-clamd-mailcow-1 | LibClamAV Error: Can’t load /var/lib/clamav/phish.ndb: Malformed database
mailcowdockerized-clamd-mailcow-1 | LibClamAV Error: cli_loaddbdir: error loading database /var/lib/clamav/phish.ndb
mailcowdockerized-clamd-mailcow-1 | ERROR: Sun Jun 4 07:42:05 2023 -> Malformed database
mailcowdockerized-clamd-mailcow-1 | /clamd.sh: line 99: kill: (23) - No such process
mailcowdockerized-clamd-mailcow-1 | Worker 23 died, stopping container waiting for respawn…
mailcowdockerized-clamd-mailcow-1 exited with code 0