Loading...

Knowledge Base

How to Solve Clamd Download Error

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.

Screenshot of VD WHM Virus Scanner Icon

 

Here is what you can try:

NOTE: SSH connection is only allowed on Vodien Virtual Private Servers and Dedicated Servers.

  1. Connect to SSH via Windows or connect to SSH via Mac.
  2. Access the directory /usr/share/clamav/ or enter the code below on the command line.
     
    cd /usr/share/clamav/

     
  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

     
  4. Run the clam updates by entering the code provided below.
     
    freshclam

     
  5. Restart clam daemon with this command:
     
    /scripts/restartsrv_clamd

     
  6. If the report shows an outdated database, you can run freshclam again to update and do another restart. Otherwise, proceed to Step 7.
     
  7. Log in to WHM.

    Screenshot of VD WHM Login Page

     
  8. Click cPanel on the sidebar menu or on the Home page.

    Screenshot of VD WHM cPanel Icon

     
  9. Click Manage Plugins.

    Screenshot of VD WHM Manage Plugins Button

     
  10. Click Uninstall "ClamAV for cPanel".

    Screenshot of VD WHM Uninstall ClamAV for cPanel Button

     
  11. Wait for the confirmation message to appear that the execution is complete.

    Screenshot of VD WHM ClamAV Uninstalled Prompt

     
  12. Re-install the ClamAV for cPanel by clicking the Install "ClamAV for cPanel" button.

    Screenshot of VD WHM Install ClamAV for cPanel Button


    Wait for the confirmation message to appear that the installation is complete.

    Screenshot of VD WHM ClamAV Successfully Installed Prompt

     

 

Confirm the changes by checking if the Virus Scanner option shows in cPanel.

Contact our Singapore or Australia Support Team if you have further questions.

Loading...