- Plesk Onyx for Linux
The PHP FPM service can not start:
CONFIG_TEXT:systemctl status php5-fpm.service
ERROR: [pool example.com] cannot get uid for user 'john.doe'
ERROR: FPM initialization failed
php5-fpm.service: main process exited, code=exited, status=78/n/a
Failed to start The PHP FastCGI Process Manager.
Unit php5-fpm.service entered failed state.
php-fpm pool wasn't updated properly, the required system user is missing.
Re-generate PHP settings for the domain mentioned in the error message by going to Domains > example.com > PHP Settings and clicking on OK
Note: if the domain has "No hosting" type, change the domain's hosting type to "Website" and specify username
john.doefrom the error message.
Connect to the server using SSH
Run this command:
# /usr/local/psa/bin/php_settings -u