• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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