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!

PHP-FPM User Config Not Removed on Account Termination

Discussion in 'EasyApache' started by prescolt, Nov 21, 2016.

Tags:
  1. prescolt

    prescolt Registered

    Joined:
    Nov 21, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vietnam
    cPanel Access Level:
    Root Administrator
    Dear
    I have issue, when i termiated account with have domain running php-fpm, after complete terminate, all of data in home dir deleted but fpp-fpm config of user do not deleted, so when server reboot or service php-fpm reboot, the config cause service can not start because "chdir = /home/gutkpzyt" in conf not exist anymore and http log show message like this. So is must delete user config in "/opt/cpanel/ea-php70/root/etc/php-fpm.d/" manualy. Please fix this issue soon. thank
    Code:
    run/php-fpm/a8ebb7a7e137f559497b58054b42d663dbfd7536.sock (*) failed
    [Mon Nov 21 00:59:28.660376 2016] [proxy:error] [pid 19506] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/cpanel/ea-php70/root/usr/var/run/php-fpm/a8ebb7a7e137f559497b58054b42d663dbfd7536.sock (*) failed
    [Mon Nov 21 01:00:08.366782 2016] [proxy:error] [pid 19703] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/cpanel/ea-php70/root/usr/var/run/php-fpm/50edc959755d2be1eac7408492b175009c09663b.sock (*) failed
    [Mon Nov 21 01:00:08.367008 2016] [proxy:error] [pid 19703] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/cpanel/ea-php70/root/usr/var/run/php-fpm/50edc959755d2be1eac7408492b175009c09663b.sock (*) failed
    
     
    #1 prescolt, Nov 21, 2016
    Last edited by a moderator: Nov 21, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm unable to reproduce this issue on cPanel version 60.0.25. Could you verify which version of cPanel is installed on the system?

    Code:
    cat /usr/local/cpanel/version
    Also, is it possible this is a custom configuration of PHP-FPM on cPanel version 58? If so, please ensure to revert any steps you took to enable PHP-FPM manually on cPanel version 58. As of cPanel 60, it's natively supported:

    In cPanel & WHM version 60, we enabled the ability to set up and manage MultiPHP FPM pools in WHM's MultiPHP Manager interface (Home >> Software >> MultiPHP Manager). These pool options enable site configuration and for PHP-FPM to handle any incoming PHP requests that their domain receives. PHP-FPM increases the performance of the site with additional server resources. WHM's MultiPHP Manager interface (Home >> Software >> MultiPHP Manager) now prompts a user to install specific packages if their system does not contain the appropriate FPM dependencies.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Yukinarija

    Yukinarija Member

    Joined:
    Nov 2, 2016
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Lithuania
    cPanel Access Level:
    Root Administrator
    Got the same issue today. Moved several domains with the transfer tool and had these strange PHP-FPM zones mail.*.com (which were subdomains I presume?). (Shared server..)

    PHP failed to work and generated gazillion GB log file.
    Deleting php fpm zone and restarting worked.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the specific files you deleted, including the full path?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice