• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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