ap_proxy_connect_backend disabling worker

  • Hello,


    I have a problem with PHP on a new customer. Other customers on this machine do not have this problem:


    Code
    1. [Wed Dec 14 11:19:16.377052 2016] [proxy:error] [pid 1477:tid 139634663212800] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/run/php7.0-fpm-myshn.com.sock (DOMAIN.com) failed
    2. [Wed Dec 14 11:19:16.377102 2016] [proxy:error] [pid 1477:tid 139634663212800] AH00959: ap_proxy_connect_backend disabling worker for (DOMAIN.com) for 60s
    3. [Wed Dec 14 11:19:16.377110 2016] [proxy_fcgi:error] [pid 1477:tid 139634663212800] [client 93.XX.YY.ZZ:53576] AH01079: failed to make connection to backend: httpd-UDS

    This problem occurs when using the phpswitcher plugin. Without the plugin (or set to standard php) no error is shown in the /var/log/apache2/DOMAIN.com/error.log but it is still not working. (receiving Error 503)


    regards,
    thoand

  • Reporting rules - Reminder


    We need your Phpswitcher plugin version and i-MSCP version


    BTW:


    The /var/run/php7.0-fpm-myshn.com.sock path is not a phpswitcher fpm sock path... There is something wrong in your setup somewhere. For PhpSwitcher, that would be something like:


    /var/run/phpswitcher/psw7.0-fpm-domain.tld.sock

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello Nuxwin,


    I have i-MSCP 1.3.8 Build: 20161123 Codename: Horner


    With phpswitcher Version 2.3.2 (Build 2016121301)


    I had taken a part from the log with disabled phpswitcher (or set to default), currently it looks like this:


    Code
    1. [Wed Dec 14 13:16:06.725515 2016] [proxy:error] [pid 12681:tid 140300604126976] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /var/run/phpswitcher/psw5.6-fpm-DOMAIN.com.sock (DOMAIN.com) failed[Wed Dec 14 13:16:06.725550 2016] [proxy:error] [pid 12681:tid 140300604126976] AH00959: ap_proxy_connect_backend disabling worker for (DOMAIN.com) for 60s[Wed Dec 14 13:16:06.725555 2016] [proxy_fcgi:error] [pid 12681:tid 140300604126976] [client 93.XX.YY.ZZ:54798] AH01079: failed to make connection to backend: httpd-UDS

    The permissions seems to be right, the user is vu2004, www-data is member of the identical named group.


    Code
    1. root@www:~# ls -lah /var/run/phpswitcher/psw5.6-fpm-DOMAIN.com.sock
    2. srw-rw---- 1 vu2004 vu2004 0 Dez 14 11:48 /var/run/phpswitcher/psw5.6-fpm-DOMAIN.com.sock

    regards,
    thoand

  • please, unregister all php version from phpswitcher plugin interface and register them again or give me access to the server and also to the control panel.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206