Applicable to:
- Plesk for Linux
Symptoms
- Unable to access the
example.com
website on the particular PHP version:
CONFIG_TEXT: 503 Service Temporarily Unavailable
- In an attempt to switch PHP version in Plesk > Domains > example.com > PHP Settings the process fails with the following error:
PLESK_ERROR: Error: phpinimng failed: ERROR:fpm_util:check failed service plesk-phpXX-fpm socket /run/plesk/plesk-phpXX-fpm.sock reason [Errno 111] Connection refused: '/run/plesk/plesk-phpXX-fpm.sock'
-
It is not possible to start affected PHP service with the error below in
/var/log/plesk-phpXX-fpm/error.log
file:CONFIG_TEXT: 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` failed
Cause
The /var/www/vhosts/system/example.com/php-fpm.sock
file is corrupted.
Resolution
- Log into the server via SSH.
- Remove the
/var/www/vhosts/system/example.com/php-fpm.sock
file:
# rm -rf /var/www/vhosts/system/example.com/php-fpm.sock
- Log into Plesk.
-
Go to Domains > example.com > PHP settings.
-
Switch PHP version to another:
-
Scroll down and press the Apply button.
-
Switch PHP version back to the required.
-
Scroll down and press the OK button to apply the changes.
Comments
6 comments
This issue needs to be fixed a.s.a.p....
its making plesk webserver les stable
Hello Max Clasener
Do you have this issue reoccurring on your server on a regular basis?
What Plesk version and OS do you use?
Hi Ivan,
we use Ubuntu 18.04.4LTS
and plesk version - > 18.0.28 Update #3
@Max Clasener,
Usually, such issues require deep investigation, so I'd recommend contacting our Support Team.
This is an issue that now is coming up frequently on our server.
It is tiring as it is impossible to find anything sensible out there about how to solve it.
I have tried most articles and solutions but it all ends up that there is missing folders and files in the installation and whatever I do it is not working and it can not even start.
Hi Per F
If this is occurring on your server constantly I may suggest contacting our Support Team for a deeper investigation. There might be other reasons that are causing the behavior.
Please sign in to leave a comment.