• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Issue (104)Connection reset by peer: mod_fcgid: errors

DC2017

New Pleskian
Hi I have been monitoring my logs and keep getting these errors

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

both apache errors

also getting nginx errors

Code:
2017-07-23 19:16:19 Error 50.66.20.56 [alert] 25803#0: *287570 1024 worker_connections are not enough while connecting to upstream nginx error
2017-07-23 19:16:19 Error 196.52.84.13 [alert] 25803#0: *287555 1024 worker_connections are not enough while connecting to upstream nginx error
2017-07-23 19:16:19 Error 156.57.87.77 [alert] 25803#0: *287579 1024 worker_connections are not enough while connecting to upstream nginx error
2017-07-23 19:16:19 Error 134.228.223.11 [alert] 25803#0: *287586 1024 worker_connections are not enough while connecting to upstream nginx error
2017-07-23 19:16:19 Error 24.3.32.139 [alert] 25803#0: *287578 1024 worker_connections are not enough while connecting to upstream nginx error
2017-07-23 19:16:19 Error 24.41.244.29 [alert] 25803#0: *287584 1024 worker_connections are not enough while connecting to upstream nginx error
2017-07-23 19:16:19 Error 82.24.86.232 [alert] 25803#0: *287614 1024 worker_connections are not enough while connecting to upstream nginx error
 
Hi DC2017,

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer:
Premature end of script headers: receive_core.php, referer:
At the moment, there are 36 results for the Plesk - KB - SEARCH


... which indicates, that you have to provide MORE informations, if you desire a decent answer to your question - or you decide to open up each of the found KB - articles, to see, which one helps you to investigate your root cause and provides solutions to solve your issue. :)



also getting nginx errors
Did you see: => Issue - 500 Internal Server Error (nginx) ?
 
I'm using PHP 5.6 but when I put php -v it shows

Code:
PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.
    with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo

I have done the steps in here (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server

Code:
{"php":[
{
 "id":"plesk-php56-fastcgi",
 "path":"/opt/plesk/php/5.6/bin/php-cgi",
 "clipath":"/opt/plesk/php/5.6/bin/php",
 "phpini":"/opt/plesk/php/5.6/etc/php.ini",
 "version":"5.6.31",
 "displayname":"%24version",
 "type":"fastcgi",
 "system":false
},
{
 "id":"plesk-php56-cgi",
 "path":"/opt/plesk/php/5.6/bin/php-cgi",
 "clipath":"/opt/plesk/php/5.6/bin/php",
 "phpini":"/opt/plesk/php/5.6/etc/php.ini",
 "version":"5.6.31",
 "displayname":"%24version",
 "type":"cgi",
 "system":false
},
{
 "id":"plesk-php56-fpm",
 "path":"/opt/plesk/php/5.6/sbin/php-fpm",
 "clipath":"/opt/plesk/php/5.6/bin/php",
 "phpini":"/opt/plesk/php/5.6/etc/php.ini",
 "version":"5.6.31",
 "displayname":"%24version",
 "type":"fpm",
 "system":false,
 "service":"plesk-php56-fpm",
 "poold":"/opt/plesk/php/5.6/etc/php-fpm.d"
},
{
 "id":"plesk-php71-fpm",
 "path":"/opt/plesk/php/7.1/sbin/php-fpm",
 "clipath":"/opt/plesk/php/7.1/bin/php",
 "phpini":"/opt/plesk/php/7.1/etc/php.ini",
 "version":"7.1.7",
 "displayname":"%24version",
 "type":"fpm",
 "system":true,
 "service":"plesk-php71-fpm",
 "poold":"/opt/plesk/php/7.1/etc/php-fpm.d"
},
{
 "id":"fastcgi",
 "path":"/usr/bin/php-cgi",
 "clipath":"/usr/bin/php",
 "phpini":"/etc/php.ini",
 "version":"5.3.3",
 "displayname":"%24version",
 "type":"fastcgi",
 "system":true
},
{
 "id":"plesk-php70-cgi",
 "path":"/opt/plesk/php/7.0/bin/php-cgi",
 "clipath":"/opt/plesk/php/7.0/bin/php",
 "phpini":"/opt/plesk/php/7.0/etc/php.ini",
 "version":"7.0.21",
 "displayname":"%24version",
 "type":"cgi",
 "system":true
},
{
 "id":"plesk-php70-fpm",
 "path":"/opt/plesk/php/7.0/sbin/php-fpm",
 "clipath":"/opt/plesk/php/7.0/bin/php",
 "phpini":"/opt/plesk/php/7.0/etc/php.ini",
 "version":"7.0.21",
 "displayname":"%24version",
 "type":"fpm",
 "system":true,
 "service":"plesk-php70-fpm",
 "poold":"/opt/plesk/php/7.0/etc/php-fpm.d"
},
{
 "id":"plesk-php71-fastcgi",
 "path":"/opt/plesk/php/7.1/bin/php-cgi",
 "clipath":"/opt/plesk/php/7.1/bin/php",
 "phpini":"/opt/plesk/php/7.1/etc/php.ini",
 "version":"7.1.7",
 "displayname":"%24version",
 "type":"fastcgi",
 "system":true
},
{
 "id":"plesk-php70-fastcgi",
 "path":"/opt/plesk/php/7.0/bin/php-cgi",
 "clipath":"/opt/plesk/php/7.0/bin/php",
 "phpini":"/opt/plesk/php/7.0/etc/php.ini",
 "version":"7.0.21",
 "displayname":"%24version",
 "type":"fastcgi",
 "system":true
},
{
 "id":"cgi",
 "path":"/usr/bin/php-cgi",
 "clipath":"/usr/bin/php",
 "phpini":"/etc/php.ini",
 "version":"5.3.3",
 "displayname":"%24version",
 "type":"cgi",
 "system":true
},
{
 "id":"plesk-php71-cgi",
 "path":"/opt/plesk/php/7.1/bin/php-cgi",
 "clipath":"/opt/plesk/php/7.1/bin/php",
 "phpini":"/opt/plesk/php/7.1/etc/php.ini",
 "version":"7.1.7",
 "displayname":"%24version",
 "type":"cgi",
 "system":true
},
{
 "id":"module",
 "path":"/usr/bin/php-cgi",
 "clipath":"/usr/bin/php",
 "phpini":"/etc/php.ini",
 "version":"5.3.3",
 "displayname":"%24version",
 "type":"module",
 "system":true
}
]}

and still getting the errors..
 
Hi DC2017,

pls. note that the command
Code:
php -v
... will only show the version from your serverwide PHP version on your server. If you desire to show the version of your Plesk - PHP versions, you would certainly use the commands:
Code:
/opt/plesk/php/5.2/bin/php -v
/opt/plesk/php/5.3/bin/php -v
/opt/plesk/php/5.4/bin/php -v
/opt/plesk/php/5.5/bin/php -v
/opt/plesk/php/5.6/bin/php -v
/opt/plesk/php/7.0/bin/php -v
/opt/plesk/php/7.1/bin/php -v
 
Hi DC2017,

pls. note that the command
Code:
php -v
... will only show the version from your serverwide PHP version on your server. If you desire to show the version of your Plesk - PHP versions, you would certainly use the commands:
Code:
/opt/plesk/php/5.2/bin/php -v
/opt/plesk/php/5.3/bin/php -v
/opt/plesk/php/5.4/bin/php -v
/opt/plesk/php/5.5/bin/php -v
/opt/plesk/php/5.6/bin/php -v
/opt/plesk/php/7.0/bin/php -v
/opt/plesk/php/7.1/bin/php -v

Hi, I did he command /opt/plesk/php5.6/bin/php -v and got

Code:
PHP 5.6.31 (cli) (built: Jul  7 2017 10:54:32)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo

but the problem I was trying to fix with the original error is still there after editing the json file..
 
Back
Top