Clamav daemon not working anymore

hi, since about a week clamav daemon does not work anymore.

First I try:

$ sudo systemctl start clamav-daemon.service

Then the output of:

$ sudo systemctl status clamav-daemon.service

● clamav-daemon.service - Clam AntiVirus userspace daemon
     Loaded: loaded (/usr/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sun 2021-05-23 15:09:33 CEST; 42s ago
TriggeredBy: ● clamav-daemon.socket
       Docs: man:clamd(8)
             man:clamd.conf(5)
             https://www.clamav.net/documents/
    Process: 17517 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE)
   Main PID: 17517 (code=exited, status=1/FAILURE)

May 23 15:09:23 iPhone systemd[1]: Started Clam AntiVirus userspace daemon.
May 23 15:09:33 iPhone clamd[17517]: LibClamAV Error: cli_load(): Can't open file /var/lib/clamav/rfxn.ndb
May 23 15:09:33 iPhone clamd[17517]: LibClamAV Error: cli_loaddbdir(): error loading database /var/lib/clamav/rfxn.ndb
May 23 15:09:33 iPhone clamd[17517]: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
May 23 15:09:33 iPhone clamd[17517]: Sun May 23 15:09:33 2021 -> !Can't open file or directory
May 23 15:09:33 iPhone systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE
May 23 15:09:33 iPhone systemd[1]: clamav-daemon.service: Failed with result 'exit-code'.

I think the problem are the permissions of database file: /var/lib/clamav/rfxn.ndb

I tried:

$ cd /var/lib/clamav/
$ sudo chown clamav:clamav rfxn.ndb

plz help

Maybe it’s a personal preference but I have not needed clamav ever (at least during my past 20 years on Linux)

I reinstalled clamav flamtk and fangfrisch and solved it the problem for me.

I know the talk about linux and viruses, but I feel safer when I do have a virusscanner running also because occasionally it does detect viruses.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.