- Plesk 12.5 for Linux
- Plesk Onyx for Linux
- Plesk 12.0 for Linux
PHP-FPM website shows 502 Bad Gateway or the following error in logs:
# tail -f /var/log/upstart/php5-fpm.log
ERROR: An another FPM instance seems to already listen on /var/run/php5-fpm.sock
ERROR: FPM initialization failed
PHP-FPM instance cannot be started because it is already listening.
Check if any php-fpm process is running:
# ps aux |grep php-fpm
Kill these processes then restart PHP-FPM:
- Reassign PHP-FPM handler on affected domain using Plesk if required.