• 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 PHP-FPM 5.6.30 not running

NEWCHILD

Basic Pleskian
Hello,

Please help my PHP services are not running. I get the following error:

It says this feature is not available because either my license does not support it or te service is not installed or properly configured.

upload_2017-7-2_12-45-2.png

Please help
 
Hi NEWCHILD,

unfortunately, you don't provide enough informations for people willing to help you.

  • HOW did you add the additional PHP - versions to your Plesk - version?
  • What is the output of the commands ( logged in as user "root" over SSH ):
Code:
plesk bin php_handler --list
Code:
service plesk-php56-fpm restart

or

service plesk-php56-fpm start
  • Pls. have a look at the corresponding logs and provide possible errors/issues/problems from there ( i.e.: /var/log/plesk-php56-fpm/ )
 
You need to assign php-fpm 5.6.30 to one domain at least in the corresponding subscription. After that, you will be able to run/stop/restart this service in Service Manager.
 
Hi NEWCHILD,

unfortunately, you don't provide enough informations for people willing to help you.

  • HOW did you add the additional PHP - versions to your Plesk - version?
  • What is the output of the commands ( logged in as user "root" over SSH ):
Code:
plesk bin php_handler --list
Code:
service plesk-php56-fpm restart

or

service plesk-php56-fpm start
  • Pls. have a look at the corresponding logs and provide possible errors/issues/problems from there ( i.e.: /var/log/plesk-php56-fpm/ )

I added the additional php versions by using Add/Remove Components in updates & upgrades under tools & Settings

plesk bin php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom: status:
cgi 5.3.3 by OS vendor 5.3.3 5.3 cgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false disabled
fastcgi 5.3.3 by OS vendor 5.3.3 5.3 fastcgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false disabled
fpm 5.3.3 by OS vendor 5.3.3 5.3 fpm /usr/sbin/php-fpm /usr/bin/php /etc/php.ini false disabled
module 5.3.3 by OS vendor 5.3.3 5.3 module /usr/bin/php-cgi /usr/bin/php /etc/php.ini false disabled
plesk-php54-cgi 5.4.45 5.4.45 5.4 cgi /opt/plesk/php/5.4/bin/php-cgi /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.4/etc/php.ini true disabled
plesk-php54-fastcgi 5.4.45 5.4.45 5.4 fastcgi /opt/plesk/php/5.4/bin/php-cgi /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.4/etc/php.ini true enabled
plesk-php54-fpm 5.4.45 5.4.45 5.4 fpm /opt/plesk/php/5.4/sbin/php-fpm /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.4/etc/php.ini true enabled
plesk-php56-cgi 5.6.30 5.6.30 5.6 cgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true disabled
plesk-php56-fastcgi 5.6.30 5.6.30 5.6 fastcgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php56-fpm 5.6.30 5.6.30 5.6 fpm /opt/plesk/php/5.6/sbin/php-fpm /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled


service plesk-php56-fpm restart
Stopping php-fpm: [FAILED]
Starting php-fpm: [03-Jul-2017 04:55:43] WARNING: Nothing matches the include pattern '/opt/plesk/php/5.6/etc/php-fpm.d/*.conf' from /opt/plesk/php/5.6/etc/php-fpm.conf at line 119.
[03-Jul-2017 04:55:43] ERROR: No pool defined. at least one pool section must be specified in config file
[03-Jul-2017 04:55:43] ERROR: failed to post process the configuration
[03-Jul-2017 04:55:43] ERROR: FPM initialization failed

service plesk-php56-fpm start
Starting php-fpm: [03-Jul-2017 04:56:29] WARNING: Nothing matches the include pattern '/opt/plesk/php/5.6/etc/php-fpm.d/*.conf' from /opt/plesk/php/5.6/etc/php-fpm.conf at line 119.
[03-Jul-2017 04:56:29] ERROR: No pool defined. at least one pool section must be specified in config file
[03-Jul-2017 04:56:29] ERROR: failed to post process the configuration
[03-Jul-2017 04:56:29] ERROR: FPM initialization failed
[FAILED]
tail -n 90 error.log
[03-Jul-2017 04:55:43] ERROR: No pool defined. at least one pool section must be specified in config file
[03-Jul-2017 04:55:43] ERROR: failed to post process the configuration
[03-Jul-2017 04:55:43] ERROR: FPM initialization failed
[03-Jul-2017 04:56:29] ERROR: No pool defined. at least one pool section must be specified in config file
[03-Jul-2017 04:56:29] ERROR: failed to post process the configuration
[03-Jul-2017 04:56:29] ERROR: FPM initialization failed
 
Hi NEWCHILD,

service plesk-php56-fpm start
Starting php-fpm: [03-Jul-2017 04:56:29] WARNING: Nothing matches the include pattern '/opt/plesk/php/5.6/etc/php-fpm.d/*.conf' from /opt/plesk/php/5.6/etc/php-fpm.conf at line 119.
[03-Jul-2017 04:56:29] ERROR: No pool defined. at least one pool section must be specified in config file
[03-Jul-2017 04:56:29] ERROR: failed to post process the configuration
[03-Jul-2017 04:56:29] ERROR: FPM initialization failed
[FAILED]
This brings us back to the hint from @IgorG :
You need to assign php-fpm 5.6.30 to one domain at least in the corresponding subscription. After that, you will be able to run/stop/restart this service in Service Manager.
 
You need to set it up as nginx php-fpm instead of Apache fastcgi
 
Hi NEWCHILD,

pls. update your current Plesk version at for example with:

Code:
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base
or over the Plesk Control Panel, as the last described issue has been fixed with the latest update ( #12 on Plesk Onyx 17.5.3 ).
 
Hi NEWCHILD,

pls. update your current Plesk version at for example with:

Code:
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base
or over the Plesk Control Panel, as the last described issue has been fixed with the latest update ( #12 on Plesk Onyx 17.5.3 ).

Hello UFHH01,

The update / patch did the work.

Thanks. It now works

upload_2017-7-4_9-31-44.png
 
Back
Top