User Tools

Site Tools


antivirus_not_working

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
antivirus_not_working [2022/08/31 08:56] chrisantivirus_not_working [2024/07/26 14:06] (current) admin
Line 3: Line 3:
 It might be possible that your antivirus module might not start. In this case you have to put new files into your working directory. Do the following Debian/Ubuntu sytems: It might be possible that your antivirus module might not start. In this case you have to put new files into your working directory. Do the following Debian/Ubuntu sytems:
  
-Go to /etc/clamav/ and open clamd.conf. Find the database and where it is located. Normally it will be /var/lib/clamav. Find a server running clamav correctly and copy the files from /var/lib/clamav to server where your clamav is not working. Start the module again and you should be good to go.+Go to /etc/clamav/ and open clamd.conf. Find the database and where it is located. Normally it will be /var/lib/clamav. Find a server running clamav correctly and copy the files from /var/lib/clamav to server where your clamav is not working. 
  
 +Don't forget to do a:
  
-That's all. +  systemctl stop clamav-freshclam 
 +  freshclam 
 +  systemctl enable clamav-freshclam --now
  
 +to update the database. Start the module again and you should be good to go.
 +
 +If this is not working try to completely uninstalling clamav firtst in the GUI (disable module than uninstall Antivirus) and for sake of security again via a terminal.
 +
 +  apt remove clamav clamav-daemon
 +  apt autoremove
 +  apt autoclean
 +  apt update
 +
 +You should now completely clamav free. 
 +
 +Install the module via the GUI again and enable it. Don't start the module yet!
 +
 +Open a terminal and do the following:
 +
 +  service clamav-freshclam stop
 +  freshclam
 +
 +Wait until freshclam has updated all files. It might be possible that your connection will be reset. Try this again later of find a server that has the missing files (var/lib/clamav 4 fils). The one going stuck is most probably main.cvd as it is round 160mb. 
 +
 +If finished start the service again:
 +
 +  service clamav-freshclam start
 +
 +After that go into the GUI and start the AV module. It should run now. 
 +
 +
 +That's all. 
 \\ \\
 \\ \\
Line 13: Line 44:
 \\ \\
 \\ \\
 +**[[zentyal|BACK]]**
antivirus_not_working.1661929008.txt.gz · Last modified: 2022/08/31 08:56 by chris