php-fpm crash
Hello
I saw the php-fpm service crash today.
The crash only applies to php-fpm 5.6.
after reboot I see that output.
[root@tr php-fpm]# systemctl status ea-php56-php-fpm.service
? ea-php56-php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/ea-php56-php-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-02-14 20:14:13 +03; 5s ago
Process: 4569 ExecStart=/opt/cpanel/ea-php56/root/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
Main PID: 4569 (code=exited, status=78)
Feb 14 20:14:11 tr3.xxxx.net systemd[1]: Starting The PHP FastCGI Process Manager...
Feb 14 20:14:13 tr3.xxxx.net php-fpm[4569]: [14-Feb-2018 20:14:13] ERROR: [pool sc_user2_com] the chdir path '/home/sc_user2/radio/musicbase' does not exist or is not a directory
Feb 14 20:14:13 tr3.xxxx.net php-fpm[4569]: [14-Feb-2018 20:14:13] ERROR: failed to post process the configuration
Feb 14 20:14:13 tr3.xxxx.net php-fpm[4569]: [14-Feb-2018 20:14:13] ERROR: FPM initialization failed
Feb 14 20:14:13 tr3.xxxx.net systemd[1]: ea-php56-php-fpm.service: main process exited, code=exited, status=78/n/a
Feb 14 20:14:13 tr3.xxxx.net systemd[1]: Failed to start The PHP FastCGI Process Manager.
Feb 14 20:14:13 tr3.xxxx.net systemd[1]: Unit ea-php56-php-fpm.service entered failed state.
Feb 14 20:14:13 tr3.xxxx.net systemd[1]: ea-php56-php-fpm.service failed.-
I found the problem. The user sc_user2 has been terminated but for some reason it has not been deleted from the php-fpm user conf files. When sc_user2 deleted the user's php-fpm conf file, it was fixed. I do not understand why it is such a thing. 0 -
Hello, It's possible there was an issue during the account termination process. Are you able to reproduce the issue when creating a test account, enabling PHP-FPM on it, and terminating it? Thank you. 0
Please sign in to leave a comment.
Comments
2 comments