• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Can't Start php-fpm on php 5.4

RRudy

New Pleskian
I'm getting the following error when trying to start php-fpm on a host with php5.4

phpinimng failed: Created symlink from /etc/systemd/system/multi-user.target.wants/php-fpm.service to /usr/lib/systemd/system/php-fpm.service. Job for php-fpm.service failed because the control process exited with error code

When I check the error code I get No pool defined. at least one pool section must be specified in config file

However when I run sudo plesk bin php_handler --get-usage -id fpm I see the domain in pool
 
Please check also that there are no (zero) configuration files inside a PHP-FPM pool directory:

# ls /opt/plesk/php/5.4/etc/php-fpm.d/* | wc -l
 
I ended up figuring it out, the error message wasn't very helpful. It turned out to be a problem the the sock file. Once I deleted it and restarted the process it worked.
 
Back
Top