Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spawnerr: can't find command '/usr/bin/php-fpm7.0' #4244

Closed
cashpw opened this issue Jul 19, 2020 · 4 comments · Fixed by #4247
Closed

spawnerr: can't find command '/usr/bin/php-fpm7.0' #4244

cashpw opened this issue Jul 19, 2020 · 4 comments · Fixed by #4247

Comments

@cashpw
Copy link

cashpw commented Jul 19, 2020

Describe the bug

I see the following error when attempting to bring up the FPM docker image:

monica_1  | 2020-07-19 21:04:21,135 INFO Set uid to user 0 succeeded
monica_1  | 2020-07-19 21:04:21,162 INFO supervisord started with pid 1
monica_1  | 2020-07-19 21:04:22,165 INFO spawned: 'cron' with pid 8
monica_1  | 2020-07-19 21:04:22,167 INFO spawnerr: can't find command '/usr/bin/php-fpm7'
monica_1  | 2020-07-19 21:04:22,179 INFO spawned: 'queue_00' with pid 9
monica_1  | 2020-07-19 21:04:23,195 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
monica_1  | 2020-07-19 21:04:23,197 INFO spawnerr: can't find command '/usr/bin/php-fpm7'
monica_1  | 2020-07-19 21:04:23,198 INFO success: queue_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
monica_1  | 2020-07-19 21:04:25,202 INFO spawnerr: can't find command '/usr/bin/php-fpm7'
monica_1  | 2020-07-19 21:04:28,207 INFO spawnerr: can't find command '/usr/bin/php-fpm7'
monica_1  | 2020-07-19 21:04:28,207 INFO gave up: fpm_00 entered FATAL state, too many start retries too quickly

Which version are you using:

Self-hosted docker version 2.18.0.

Additional context

Relevant files:

I'm basing these files on the fpm docker example.

Steps to reproduce

  1. Set up the files as I have.
  2. Run docker-compose up --build
  3. Observe the error.
@cashpw
Copy link
Author

cashpw commented Jul 19, 2020

The php-fpm7 executable is missing.

$ docker-compose exec -T monica ls /usr/bin | grep php
php
php7

@cashpw
Copy link
Author

cashpw commented Jul 21, 2020

Turns out that the executable is located at /usr/sbin/php-fpm7.

@cashpw cashpw closed this as completed Jul 21, 2020
@cashpw
Copy link
Author

cashpw commented Jul 21, 2020

Re-opening so it can be closed by a pull request.

@github-actions
Copy link

This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant