• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

[SOLVED] PHP-FPM error: nginx 502, No pool defined

sdmx80

Basic Pleskian
Hello!

I have a problem with Plesk 12.5.30 Update #7
  • ‪CentOS Linux 7.1.1503,
  • nginx installed,
  • domain uses latest PHP 5.6.14 (FPM served by Apache)
Sometimes the domain suddenly stops working and the browser diplays a 502 gateway error.

The error log shows the following errors numerous times:
Code:
4198#0: *198922 connect() failed (111: Connection refused) while connecting to upstream

The Terminal shows ($ #sudo service php-fpm status -l)
Code:
Redirecting to /bin/systemctl status  -l php-fpm.service
php-fpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled)
   Active: failed (Result: exit-code) since Mon 2015-10-19 15:30:47 CEST; 22s ago
  Process: 7219 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
Main PID: 7219 (code=exited, status=78)

Okt 19 15:30:47 server.com php-fpm[7219]: [19-Oct-2015 15:30:47] ERROR: No pool defined. at least one pool section must be specified in config file
Okt 19 15:30:47 server.com php-fpm[7219]: [19-Oct-2015 15:30:47] ERROR: failed to post process the configuration
Okt 19 15:30:47 server.com php-fpm[7219]: [19-Oct-2015 15:30:47] ERROR: FPM initialization failed
Okt 19 15:30:47 server.com systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
Okt 19 15:30:47 server.com systemd[1]: Failed to start The PHP FastCGI Process Manager.
Okt 19 15:30:47 server.com systemd[1]: Unit php-fpm.service entered failed state.

Please help!

Greetings,
sdmx
 
Hello,

I solved it by reinstalling PHP FPM using the command line commands
Code:
## sudo yum remove php-fpm
## sudo yum install php-fpm
## sudo reboot

Hope this helps if you encounter a similar error.

Best regards,
sdmx
 
Hi,

I've tried your solution, but it didn't really help me. But you made a good point, it pushed me to the Goal.
I started the plesk autoinstaller and removed all php versions, except for the php version provided by OS, which is listed on the bottom. If you try to remove this one, it will tell you, that you have to remove the Plesk Panel.
For now, i have a running Plesk Panel again. I will try to install php 5.4 or 5.5 later.
 
Back
Top