Clamd or the ClamAV Daemon scans malicious files on your server. The ClamAV plugin is available in WHM. Installing this makes the Virus Scanner option appear in cPanel. However, downloading Clamd may not always be successful.
Here is what you can try:
|Note: SSH connection is only allowed in Vodien Virtual Private Servers and Dedicated Servers .|
Step 2. Access the directory /usr/share/clamav/ or enter the code below on the command line.
Step 3. Move the three database files by executing the command below. Replace home/directory with the directory where you want to move the files.
mv daily.cvd main.cld mirrors.dat home/directory
Another way is to delete the three database files by executing the command below:
rm daily.cvd main.cld mirrors.dat
Step 4. Run the clam updates by entering the code provided below.
Step 5. Restart clam daemon with this command:
Step 6. If the report shows an outdated database, you can run freshclam again to update and do another restart. Otherwise, proceed to Step 7.
Step 7. Log in to WHM.
Step 8. Click cPanel on the sidebar menu or on the Home page.
Step 9. Click Manage Plugins.
Step 10. Click Uninstall “ClamAV for cPanel”.
Step 11. Wait for the confirmation message to appear that the execution is complete.
Step 12. Re-install the ClamAV for cPanel by clicking the Install “ClamAV for cPanel” button.
Wait for the confirmation message to appear that the installation is complete.
Confirm the changes by checking if the Virus Scanner option shows in cPanel.