Enabling ClamAV in the Plesk Email Security extension fails:
Execution filemng has failed with exit code 1, stdout: , stderr: Job for [email protected] failed because the control process exited with error code. See "systemctl status [email protected]" and "journalctl -xe" for details.
Manually enabling the service
clamdin the server's console also fails:
# systemctl status [email protected]
* [email protected] - clamd scanner (scan) daemon
Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; vendor preset: disabled)
Active: activating (start)
clamd: daemonize() failed: Cannot allocate memory
clamd: Socket file removed.
There is not enough RAM memory to initialize the service. The server should have at least 4 GB of overall RAM and 2 GB free RAM.
Allocate more RAM to the server either on your own or by contacting the administrator/provider of the server.