Debian Wheezy - sysvinit - php5-fpm and imscp_panel service processes handling

  • hello


    When I restart php5-fpm by executing /etc/init.d/php5-fpm restart it's long 20-30 secondes and after, the imscp panel don't work anymore.


    I get the following error:



    Code
    1. 502 Bad Gateway

    I must restart the imscp_panel service.


    Also:


    Code
    1. 2016/11/04 09:22:47 [crit] 2034#2034: *274 connect() to unix:/var/run/imscp_panel.sock failed (2: No such file or directory) while connecting to upstream, client: 82.233.99.15, server:domaine.fr, request: "GET /admin/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/imscp_panel.sock:", host: "admin.domaine.fr:8880"
    2. 2016/11/04 09:22:47 [crit] 2034#2034: *274 connect() to unix:/var/run/imscp_panel.sock failed (2: No such file or directory) while connecting to upstream, client: 82.233.99.15, server: domaine.fr, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/imscp_panel.sock:", host: "admin.domaine.fr:8880", referrer: "http://admin.domaine.fr:8880/admin/index.php"


    thanks
    stephan

  • @waraux


    Hello,


    This is a known issue which will be adressed in i-MSCP version 1.3.8. This problem occurs with sysvinit. The problem is clearly explained here (last comment): https://youtrack.i-mscp.net/issue/IP-1641


    To resume, this is a problem with start-stop-daemon(8) that is not able to deal with symlinks.


    Quick fix for current version:

    Shell-Script
    1. # service imscp_panel stop
    2. # service php5-fpm stop
    3. # rm /usr/local/sbin/imscp_panel
    4. # cp -p /usr/sbin/php5-fpm /usr/local/sbin/imscp_panel
    5. # service imscp_panel start
    6. # service php5-fpm start

    Thank you for your understanding.

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

  • @waraux


    Thank you for confirming that the fix above is working.


    The version 1.3.8 will be released in next hours.

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

  • A fix has been added in the 1.3.x branch. See https://github.com/i-MSCP/imsc…f3d6d5b3f97785817693194a3
    This fix will be part of next release.


    Thank you for your report.

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