Question
How to correctly uninstall DrWeb antivirus?
Answer
Click on a section to expand
Via Plesk GUI
-
Go to Tools & Settings > Updates and Upgrades select Dr. Web antivirus for removal
Via SSH
Uninstall the DrWeb component via Plesk installer.
In case it’s not possible to uninstall it via Plesk installer, follow these instructions to uninstall it manually:
-
Connect to the server via SSH
-
Remove DrWeb antivirus packages:
# rpm -e –nodeps drweb-updater drweb-libs drweb-bases psa-drweb-configurator drweb-common drweb-libs32 drweb-daemon
-
Refresh the server components list:
# plesk sbin packagemng -sdf
-
Run forced update of mail server configuration:
# /usr/local/psa/admin/sbin/mchk –without-spam
-
Remove the cron entry remaining after the uninstallation:
# rm -rf /var/spool/cron/drweb
# rm -rf /etc/cron.daily/drweb-update -
Disable monitoring of the service by Watchdog:
# /usr/local/psa/admin/bin/modules/watchdog/wd –unmonit-service=drweb