• 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

Forwarded to devs [Linux w. php-fpm] Old php-fpm pool configuration file prevents the service reload

burnley

Regular Pleskian
User name: burnley

TITLE

[Linux w. php-fpm] Old php-fpm pool configuration file prevents the service reload

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.8.2003 (Core) w. Plesk Obsidian Version 18.0.28 Update #3, last updated on July 20, 2020 10:12 PM

PROBLEM DESCRIPTION

Plesk periodically chokes on its PHP -FPM configuration, most of the time apparently when a subscription / domain is removed. The symptom is always a pretty old pool configuration file (sometimes 3+ years old!) with no corresponding vhost structure under /var/www/vhosts. Example:

/opt/remi/php73/root/usr/sbin/php-fpm --test

[21-Aug-2020 17:40:47] ERROR: [pool domain.net] the prefix '/var/www/vhosts/system/domain.net' does not exist or is not a directory
[21-Aug-2020 17:40:47] ERROR: failed to post process the configuration
[21-Aug-2020 17:40:47] ERROR: FPM initialization failed

Simply removing the dodgy file fixes the php-fpm service.

STEPS TO REPRODUCE

Can't reproduce

ACTUAL RESULT

The affected php-fpm service can't reload thus taking down all the sites using it.

EXPECTED RESULT

The affected php-fpm handler should never fail to reload after a domain is removed / renamed. Plesk must always run sanity checks before reloading a php-fpm service.

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Another php-fpm hiccup on a different server, CentOS Linux 7.8.2003 running Plesk Obsidian Version 18.0.28 Update #3, last updated on July 20, 2020 10:03 PM
[25-Aug-2020 13:31:45] ERROR: [pool domain.com.au] the prefix '/var/www/vhosts/system/domain.com.au' does not exist or is not a directory
[25-Aug-2020 13:44:11] ERROR: [pool domain.com.au] the prefix '/var/www/vhosts/system/domain.com.au' does not exist or is not a directory
[25-Aug-2020 13:47:54] ERROR: [pool domain.com.au] the prefix '/var/www/vhosts/system/domain.com.au' does not exist or is not a directory
[25-Aug-2020 13:47:59] ERROR: [pool domain.com.au] the prefix '/var/www/vhosts/system/domain.com.au' does not exist or is not a directory
[25-Aug-2020 13:53:22] NOTICE: using inherited socket fd=31, "/var/www/vhosts/system/domain.com.au/php-fpm.sock"
 
Back
Top