Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php-fpm crash

Discussion in 'EasyApache' started by vacancy, Feb 14, 2018.

Tags:
  1. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    160
    Likes Received:
    17
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello

    I saw the php-fpm service crash today.

    The crash only applies to php-fpm 5.6.

    after reboot I see that output.


    Code:
    [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.
     
    #1 vacancy, Feb 14, 2018
    Last edited: Feb 14, 2018
  2. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    160
    Likes Received:
    17
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,247
    Likes Received:
    1,759
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page