• Bug
  • php7.4-fpm not start after install grommunio-web

Hi everybody,
after install package grommunio-web, at clean debian11 installation, php7.4-fpm not start after each reboot. It is necessary to create directory /run/php-fpm and start it by hand. The sock path is in /etc/php/7.4/fpm/pool.d/pool-grommunio-web.conf
journalctl say:
● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2022-06-25 11:03:32 CEST; 1min 31s ago
Docs: man:php-fpm7.4(8)
Process: 389 ExecStart=/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf (code=exited, status=78)
Process: 952 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.4/fpm/pool.d/www.conf 74 (code=exited, status=0/SUCCESS)
Main PID: 389 (code=exited, status=78)
CPU: 94ms

Jun 25 11:03:29 grommunio systemd[1]: Starting The PHP 7.4 FastCGI Process Manager...
Jun 25 11:03:32 grommunio php-fpm7.4[389]: [25-Jun-2022 11:03:32] ERROR: unable to bind listening socket for address '/run/php-fpm/grommunio-web': No such file or directory (2)
Jun 25 11:03:32 grommunio php-fpm7.4[389]: [25-Jun-2022 11:03:32] ERROR: FPM initialization failed
Jun 25 11:03:32 grommunio systemd[1]: php7.4-fpm.service: Main process exited, code=exited, status=78/CONFIG
Jun 25 11:03:32 grommunio systemd[1]: php7.4-fpm.service: Failed with result 'exit-code'.
Jun 25 11:03:32 grommunio systemd[1]: Failed to start The PHP 7.4 FastCGI Process Manager.

is it BUG?

the /run/php-fpm directory is not existing in the debian structure.
You can create one easily with those two commands:

echo "d /run/php-fpm 0755 www-data gromox - -" > /etc/tmpfiles.d/run-php-fpm.conf
systemd-tmpfiles --create

Hi makeitsimple,

again, solved for first kick. And again thank you very much for your answer.

ladas

© 2020-2024 grommunio GmbH. All rights reserved. | https://grommunio.com | Data Protection | Legal notice