Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

PHP pool prefix other than 'www' will break php-fpm service #58

Open
dol opened this issue Nov 20, 2018 · 0 comments
Open

PHP pool prefix other than 'www' will break php-fpm service #58

dol opened this issue Nov 20, 2018 · 0 comments

Comments

@dol
Copy link
Contributor

dol commented Nov 20, 2018

If the prefix of a pool is changed the the VM provisioning step will fail because php-fpm is unable to start.

CentOS 7 with prefix changed to pool_fh1?.

==> machine1: Error: Systemd start for php-fpm failed!
==> machine1: journalctl log for php-fpm:
==> machine1: -- Logs begin at Tue 2018-11-20 23:19:23 UTC, end at Tue 2018-11-20 23:33:57 UTC. --
==> machine1: Nov 20 23:33:56 machine1.puphpet systemd[1]: Starting The PHP FastCGI Process Manager...
==> machine1: Nov 20 23:33:57 machine1.puphpet php-fpm[748]: [20-Nov-2018 23:33:57] ALERT: [pool pool_fh1] the process manager is missing (static, dynamic or ondemand)
==> machine1: Nov 20 23:33:57 machine1.puphpet php-fpm[748]: [20-Nov-2018 23:33:57] ERROR: failed to post process the configuration
==> machine1: Nov 20 23:33:57 machine1.puphpet php-fpm[748]: [20-Nov-2018 23:33:57] ERROR: FPM initialization failed
==> machine1: Nov 20 23:33:57 machine1.puphpet systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
==> machine1: Nov 20 23:33:57 machine1.puphpet systemd[1]: Failed to start The PHP FastCGI Process Manager.
==> machine1: Nov 20 23:33:57 machine1.puphpet systemd[1]: Unit php-fpm.service entered failed state.
==> machine1: Nov 20 23:33:57 machine1.puphpet systemd[1]: php-fpm.service failed.

I recommend using the https://forge.puppet.com/puppet/php repo to do the setup of the pool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant