• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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