• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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