Symptoms
- ClamAV cannot be started in Plesk in Extensions > Plesk Email Security with the following error:
PLESK_ERROR: Execution filemng has failed with exit code 5, stdout: , stderr: Failed to start [email protected]: Unit not found.
- The Atomic repository is enabled on the server:
# yum repolist enabled | grep atomic
*atomic: www4.atomicorp.com
atomic/7/x86_64 CentOS / Red Hat Enterprise Linux 7 - atomic 930
Cause
Incorrect ClamAV package is installed from Atomic repository.
Resolution
- Login to Plesk.
- Remove Plesk Email Security extension under: Plesk > Extensions > Plesk Email Security > More > Remove:
- Connect to the server via SSH.
- Find and remove the ClamAV package with the following commands:
# rpm -qa | grep clamd
clamd-0.102.3-13765.el7.art.x86_64# yum remove clamd-0.102.3-13765.el7.art.x86_64
- Disable the Atomic repository:
# yum-config-manager –disable atomic
- Reinstall Plesk Email Security under Plesk > Extensions > Plesk Email Security > Get it Free: