I-mscp 1.1.9 Ubuntu 14.04 LTS, Internal Server Error 500

  • Hello,


    I wonder if I'm the only one that encounter quite often Error 500 (Internal Server Error) in I-mscp 1.1.9 running on Ubuntu 14.04 LTS.
    If I restart php5-fpm it's working again.


    And some error log in apache,


    Code
    1. [Thu May 29 09:55:39.966555 2014] [fastcgi:error] [pid 9075:tid 140451814246144] (111)Connection refused: [client 89.47.55.22:65415] FastCGI: failed to connect to server "/var/lib/apache2/fastcgi/php5-fcgi-domain.ro": connect() failed, referer: http://domain.ro/
    2. [Thu May 29 09:55:39.966631 2014] [fastcgi:error] [pid 9075:tid 140451814246144] [client 89.47.55.22:65415] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domain.ro", referer: http://domain.ro/
  • Hello ;


    Try to restart php5-fpm

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

  • I did that and it's working. I just wonder if there is someone there in the i-mscp community that encounter this problem in Ubuntu 14.04LTS.

  • Well, try to add new domain to see if php5-fpm get restarted as it should and say me if that works. I'll also process some test ASAP.

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

  • Hi,


    Same here.


    Yesterday I was creating 60 fake client accounts in i-mscp and had the same problem 3 times during operation.


    php5-fpm stopped (3 times and i've no idea why).


    After starting service php5-fpm start, every-thing went ok.


    Creating the same 60 fake client accounts under Debian 7 haven't caused any problem (but it can be just a coincidence).


    I'm continuing my tests.


    Apologizes for bad english.


    Regard's
    Paul

  • It happen once again. This time I have checked also other domains hosted on that server. Apparently no one of the worked, including the domain with the i-mscp interface was showing Error 500. I have restarted php5-fpm and it was fixed. I notice that those errors occurred during the night.
    Another detail is that they host big traffic websites and those servers does not run big databases. Maybe a cron is causing the problem?

  • Hello ;


    I must investigate. Indeed, this can be caused by the cron task which is responsible to reopen logs... I must check that (surely an upstart issue)..

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

  • It happen once again. This time I have checked also other domains hosted on that server. Apparently no one of the worked, including the domain with the i-mscp interface was showing Error 500. I have restarted php5-fpm and it was fixed. I notice that those errors occurred during the night.
    Another detail is that they host big traffic websites and those servers does not run big databases. Maybe a cron is causing the problem?


    How you restarted php5-fpm exactly? What command?

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

  • Hello ;


    The usual way is now:


    Code
    1. # service php5-fpm restart


    Normally, an /etc/init.d/php5-fpm invocation does nothing in Trusty (when upstart is enabled which is the case by default). This works for now only because I've commented the upstart check (which is bad see below).


    Anyway, I've found the bug. It's an issue with upstart which I've already tried to solve (for older Ubuntu versions) but it seem that my fix is not compatible with trusty). Eg, php5-fpm pid is lost in some contexts...



    I'll fix that now.

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