How to Stop and Disable ClamAV Service from CentOS?

We all know that ClamAV scanner is a pretty heavy on CPU-Memory resources, and it should be avoided in low memory Linux systems. If you want to disable the ClamAV scanner from your CentOS system, you can refer to the following instructions.

Disable ClamAV service

  1. The first step is to stop the ClamAV scanner by applying following command.

    # service clamd stop
  2. To enable and disable the services in Red Hat based Linux distributions, chkconfig script is used. Issue following commands to disable the ClamAV scanner at the system startup.

    # chkconfig clamd off 
    # chkconfig clamd --del 
  3. Once ClamAV is disabled, you may have to verify it's status. Execute the following command to check whether ClamAV is disabled at boot level or not. If ClamAV is disabled successfully following command won't show you any result.

    #chkconfig --list | grep clam

    After applying above changes, The system next time will boot without ClamAV service which in fact will be saving our system resource and the server would be faster.


Disable other unwanted services


You can execute command shown in step#2 to disable other unwanted packages and application from your CentOS system. All you've to do is, execute the following command to list all services and determine the service name you want to disable. The following command will display all services and their status at boot on each run level.

# chkconfig --list

Once service name is determined, execute the command shown in step#2 replacing service name with clamd.
  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

Will internal traffic between two VPS viz. a Database Server and a Web Server be counted in my bandwidth usage?

Yes it will. The traffic will be counted in the bandwidth usage of your VPS. Even if you use...

How can I view my website before DNS changes?

Before DNS propagation takes place, you can browse your website wite temporary URL. Following are...

How Do I Check Bandwidth Utilization of VPS?

Windows VPS To check/monitor usage of each Windows VPS, we have installed bandwidth meter tool...

How Do I Create Multiple Reverse DNS Records On Same IP Address?

Each IP address should have single reverse DNS (rDNS). Also, your rDNS hostname should resolve...

How to Install SHOUTCast Radio Server on Linux VPS?

This tutorial will assist you to install SHOUTcast Distributed Network Audio Server (DNAS 2.0) in...