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

Init.d script fails to start/stop php-fpm after installation #7

Open
gggeek opened this issue Nov 23, 2022 · 0 comments
Open

Init.d script fails to start/stop php-fpm after installation #7

gggeek opened this issue Nov 23, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gggeek
Copy link

gggeek commented Nov 23, 2022

Running the setup script on a barebones Ubuntu (both Focal and Jammy), close to the end there is a 30 secs wait while the script tries to start php-fpm, and fails.

The output is: Starting php-fpm ................................... failed

By the looks of it, it seems that the php-fpm service script which gets installed in init.d has a problem with the pid file not being found. I am not sure if this is due to the pid file being specified in the fpm config file which is generated during the setup, if the php-fpm binary simply disobeys the cli option with the name of the pid file to generate, or if it is a filesystem permissions issue.

This does not prevent using the installed php, nor php-fpm, as the php-fpm process will actually work.

It just makes the setup process slower than it could be.

@gggeek gggeek added the bug Something isn't working label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants