Page 1 of 1

php-fpm pool doesn't exist - php7.0-fpm

Posted: Mon Apr 01, 2019 1:21 pm
by betacalendars
Operating System (OS/VERSION):
Debian 8

VestaCP Version:
R17 - Fresh Install

Installed Software (what you got with the installer):
php-fpm, nginx, mysql

Steps to Reproduce:
I've installed PHP-7.0-fpm, everything is going great, I've created the templates, updated vesta.conf with the new backend name, all good. I can stop / start / restart the service.

When I create the domain name I get the error message:

"php-fpm pool doesn't exist"

Looking at the domain.sh line 87 I see:

pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
check_result $E_NOTEXIST "php-fpm pool doesn't exist"
fi
Running $(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \)) on my system I get bash: /etc/php/7.0/fpm/pool.d: Is a directory

Any idea why Vesta cannot find the pool?

Running service php7.0-fpm status shows everything is working fine.

Edit: I also updated: /usr/local/vesta/data/templates/web/php7.0-fpm/socket.tpl

From /var/run/php5-%backend%.sock to /var/run/php/php7.0-%backend%.sock

Thanks.

Mateo founder of Beta Calendars

Re: php-fpm pool doesn't exist - php7.0-fpm

Posted: Mon Jul 15, 2019 7:15 pm
by seodr
I am having the same problem when creating a new web domain


Error: php-fpm pool doesn't exist

How do I troubleshoot this and make the necessary repair?

Debian 9.9
updated
vesta
core package

Version:
0.9.8 (amd64)

Release:
24
updated
vesta-php
php interpreter

Version:
0.9.8 (amd64)

Release:
24
updated
vesta-nginx
internal web server

Version:
0.9.8 (amd64)

Release:
24

Re: php-fpm pool doesn't exist - php7.0-fpm

Posted: Tue Aug 25, 2020 1:17 pm
by calendarness
Operating System (OS/VERSION):
Debian 8

VestaCP Version:
R17 - Fresh Install

Installed Software (what you got with the installer):
php-fpm, nginx, mysql

Steps to Reproduce:
I've installed PHP-7.0-fpm, everything is going great, I've created the templates, updated vesta.conf with the new backend name, all good. I can stop / start / restart the service.

When I create the domain name I get the error message:

"php-fpm pool doesn't exist"

Looking at the domain.sh line 87 I see:

pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
check_result $E_NOTEXIST "php-fpm pool doesn't exist"
be
Running $(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \)) on my system I get bash: /etc/php/7.0/fpm/pool.d: Is a directory

Any idea why Vesta cannot find the pool?

Running service php7.0-fpm status shows everything is working fine.

Edit: I also updated: /usr/local/vesta/data/templates/web/php7.0-fpm/socket.tpl

From /var/run/php5-%backend%.sock to /var/run/php/php7.0-%backend%.sock

Thanks.
Mateo founder of https://www.calendarness.com