Unable to switch php handler for subscription following error appears:
Error: phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action "status" failed. invoke-rc.d: initscript plesk-php56-fpm, action "status" failed. Service plesk-php56-fpm is down after attempt to start it
plesk-php56-fpmis not able to start, following error can be found in
[17-Oct-2015 17:56:37] ERROR: [pool subdomain.example.com] the prefix '/var/www/vhosts/system/subdomain.example.com' does not exist or is not a directory [17-Oct-2015 17:56:37] ERROR: failed to post process the configuration [17-Oct-2015 17:56:37] ERROR: FPM initialization failed
- Domain was deleted from Plesk, but configuration file was not removed.
/var/www/vhosts/system/subdomain.example.comwas deleted from the server.
If domain subdomain.example.com doesn't exist on the server then remove its configuration file and restart
# rm /opt/plesk/php/5.6/etc/php-fpm.d/subdomain.example.com.conf # /etc/init.d/plesk-php56-fpm restart * Restarting PHP FastCGI Process Managerphp-fpm [ OK ]
If domain subdomain.example.com exist on the server then recreate folder
plesk-php56-fpmand reconfigure domain:
# mkdir -p /var/www/vhosts/system/subdomain.example.com # /etc/init.d/plesk-php56-fpm restart * Restarting PHP FastCGI Process Manager php-fpm [ OK ] # /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain subdomain.example.com