Plesk PHP FPM 7.0 service is down after switching website from another FPM handler to Plesk PHP FPM 7.0
The following error is shown in
ERROR: An another FPM instance seems to already listen on /var/www/vhosts/system/example.com/php-fpm.sock ERROR: FPM initialization failed
/var/www/vhosts/system/example.com/php-fpm.sock does not exist:
# ls -la /var/www/vhosts/system/example.com/php-fpm.sock ls: cannot access /var/www/vhosts/system/example.com/php-fpm.sock: No such file or directory
Systemd is installed and enabled.
This is a software issue with internal id PPPM-4004. The fix will be included in further Plesk updates.
As workaround, create custom systemd unit file with 3sec timeout on restart:
For Debian based systems
# cat /etc/systemd/system/plesk-php70-fpm.service .include /lib/systemd/system/plesk-php70-fpm.service [Service] Restart= on-failure RestartSec= 3
For RedHat based systems
# cat /etc/systemd/system/plesk-php70-fpm.service .include /usr/lib/systemd/system/plesk-php70-fpm.service [Service] Restart= on-failure RestartSec= 3