- Code: Select all
WHM -> Plugins -> Manage Plugins
Uncheck 'clamavconnector' box and hit 'Uninstall clamavconnector'.
Tips for those who prefer to remove ClamAV via CLI interface.
- Code: Select all
cd /usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/
./uninstall
sed -i '/clamavconnector/d' /var/cpanel/addonmodules
You can find more details inside 'uninstall' bash script.
Disable and remove clamd from the cpanel check service daemon configuration file:
- Code: Select all
sed -i '/clamd/d' /etc/chkserv.d/chkservd.conf
Also remove clamd check description:
- Code: Select all
rm -fv /etc/chkserv.d/clamd
Finally, remove the following flag:
- Code: Select all
rm -fv /var/run/chkservd/clamd
Restart chkserv.d:
- Code: Select all
/scripts/restartsrv_tailwatchd