1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Issues with FastCGI after Centos 5.6 upgrade

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by VicenteB, Apr 26, 2011.

  1. VicenteB

    VicenteB New Pleskian

    15
    60%
    Joined:
    Aug 25, 2010
    Messages:
    2
    Likes Received:
    0
    Hello,

    I have upgraded Centos from 5.5 to 5.6 and sites with FastCGI enable after upgrade are down and error log shows this message:

    (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
    Premature end of script headers: index.php

    In my server I have installed:
    php-5.2.17-1.el5.art (I have not updated php53)
    mysql-server-5.0.77-4.el5_5.5
    httpd-2.2.3-45.el5.centos

    The version of Plesk is 10.1.1

    Ia have tried to use CGI mode and sites still down with the same error in logs.

    Can anyone help me with this issue?

    Thank you
     
  2. VicenteB

    VicenteB New Pleskian

    15
    60%
    Joined:
    Aug 25, 2010
    Messages:
    2
    Likes Received:
    0
    Solution

    Solution:

    cp /usr/sbin/suexec /usr/sbin/suexec.dist
    cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
    chown root:apache /usr/sbin/suexec
    chmod 4510 /usr/sbin/suexec
    /etc/init.d/httpd restart
     
  3. Roberto Nunez

    Roberto Nunez Basic Pleskian

    20
    57%
    Joined:
    Apr 30, 2009
    Messages:
    42
    Likes Received:
    0
    Location:
    World
    Works!

    Solution:

    cp /usr/sbin/suexec /usr/sbin/suexec.dist
    cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
    chown root:apache /usr/sbin/suexec
    chmod 4510 /usr/sbin/suexec
    /etc/init.d/httpd restart

    This works like a charm... thanks VicenteB
     
  4. holgenoni

    holgenoni Guest

    0
     
    Works for me to ... thanks VicenteB
     
  5. captainpovey

    captainpovey New Pleskian

    22
    23%
    Joined:
    Jun 7, 2007
    Messages:
    5
    Likes Received:
    0
    And for me

    Many thanks for this solution!
    Have been banging my head for a couple of hours on this one!

    Thanks!
     
  6. Preocupao

    Preocupao New Pleskian

    15
    85%
    Joined:
    Feb 15, 2011
    Messages:
    7
    Likes Received:
    0
    Great!

    Thanks
     
  7. enreas

    enreas New Pleskian

    12
    55%
    Joined:
    May 17, 2011
    Messages:
    1
    Likes Received:
    0
    Thanks a lot for the information.
     
Loading...