How to Resolve “ClamAV Scanner Has Been Disabled for This Account” in cPanel

  WHM

Introduction

If the ‘Virus Scanning’ feature is enabled for a cPanel user, but the cPanel -> Virus Scanner interface shows “ClamAV scanner has been disabled for this account.”, this could be because no ClamAV scanning options are enabled for the user.

Prerequisites

Before proceeding, ensure that:

  • You have root access to WHM.
  • The ClamAV plugin is installed on the server.
  • The cPanel account exists and is active.
  • The Virus Scanning feature is enabled in the user’s assigned feature list.

Implementation

Step 1: Verify the Virus Scanning Feature

  1. Log in to WHM as the root user.
  2. Navigate to:WHM → Feature Manager
  3. Select the feature list assigned to the affected cPanel account.
  4. Click Edit.
  5. Confirm that the Virus Scanning option is enabled (checked).
  6. Save the changes if any modifications are made.

Step 2: Configure ClamAV Scanner Permissions for the User

  1. Navigate to:WHM → Plugins → Configure ClamAV Scanner
  2. Under Configure ClamAV Scanner for individual users, click User Configuration.
  3. In the Configure User field, enter the cPanel username.
  4. Select the scanning options you want to allow for the user by checking the appropriate boxes.
  5. Click Save Defaults.

Step 3: Verify the Changes

  1. Log in to the user’s cPanel account.
  2. Navigate to:cPanel → Virus Scanner
  3. Confirm that the previously enabled scanning options are now displayed and available for use.

Conclusion

The “ClamAV scanner has been disabled for this account” message usually appears when Virus Scanning permissions have not been configured for the user, even if the Virus Scanning feature is enabled. By verifying the feature list settings and configuring user-specific ClamAV permissions in WHM, you can restore access to the Virus Scanner interface and allow the user to perform malware scans as required.

LEAVE A COMMENT