Plesk 12.x / Linux :: Reading Data From FastCGI Server
Jul 20, 2014
I have this System Debain 7.x Whyzee, 64 Bit Version, 16 GB Ram with 8 x 3.2 GHZ. I have update plesk von version 11 to version 12 he say any failure in error.logs by costumer
Code:
[Sat Jul 19 20:58:23 2014] [warn] [client xx.xx.xx.xx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jul 19 20:58:23 2014] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php
I changed to a new server with plesk 12 and every php that worked with Plesk 11.5 and php 5.4 doesn't work in the new server with fstcgi and php 5.4. They run fine if I config subdomain with FastCgi php5.3 but don't with php 5.4.35. I get this error message in error_log of subdmain using this versiĆ³n of php (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server. Premature end of script headers: test.php
there is no error in /var/log/httpd/suexec_log phpini seems OK.My system uses Centos 6.4 and
104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Mon Jun 22 15:33:11 2015] [error] [client 176.10.112.11] Premature end of script headers: import_cop.php
and Apache Log
[Mon Jun 22 11:06:57 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting [Mon Jun 22 15:46:17 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process PHP Warning: Module 'zip' already loaded in Unknown on line 0
How can I fix this problem? The Script is 100% i/O because it has worked onder PHP 5.2 and its comp. whit 5.4.
I have an issue with running of the php-scripts. It runs via Cron (as it consumes a lot of memory), after aprox. 10 minutes after the start-time of the script the following error appears in the error-log file (path - /var/www/vhosts/system/subdomain.domain.tld/logs/error_log)
[Tue Feb 17 19:46:57.003326 2015] [fcgid:warn] [pid 28629] (104)Connection reset by peer: [client XX.XXX.XXX.XXX:48450] mod_fcgid: error reading data from FastCGI server [Tue Feb 17 19:46:57.003368 2015] [core:error] [pid 28629] [client XX.XXX.XXX.XXX:48450] End of script output before headers: Name_of_the_script.php
For a very strange reason another PHP-script, that has the same code, but just runs less arrays, and therefore consumes less memory and can be run via browser - works perfectly from both browser and the cron. The php.ini for this domain set up correctly (see the attachment)...
[Mon Mar 23 20:53:14 2015] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Mon Mar 23 20:53:14 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php
I'm trying to add multiple PHP version (current version installed: 5.5.13), using the official documentation. I always get 500 Internal Server Error after switching to the new version, with the following error_log content:
Code: [Sat Jun 07 00:49:35 2014] [warn] [client XXX.XXX.XXX.XXX] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Sat Jun 07 00:49:35 2014] [error] [client XXX.XXX.XXX.XXX] Premature end of script headers: index.php Here you can view phpinfo() obtained running php54-cgi index.php from the command line. Same script doesn't work as FastCGI.
I'm trying to add PHP 5.4.29. Here is how I compiled it:
Switching back to PHP 5.5.13 and the script works fine (a simple phpinfo() output).How can I try to understand/debug what's wrong with the installation?
I setup PHP support to Run as FastCGi Application, and i setup the memory_limit=32M in DOMAIN/etc/php.ini, then i create a php program with ini_set('memory_limit','128M'), it does not according to my settings are limited. How can i limit it , only just use the disable_function = 'ini_set' ? or Was there other methods ? Because, When PHP runs as apache module , i can use the php_admin_value in vhost.conf to limit what i want , it does not limit everything like this (disable_function).
I've a new installation of Plesk 12 on a VPS (Ubuntu LTS12.04) and when FastCGI is selected it downloads the PHP files instead of parsing the PHP? Where to look config wise? I've checked php short tag options and they all seem fine.I've set up a test subscription to display the error here: URL....
In my Plesk 12.0, I installed support por PHP 5.3, and 5.4. But when I go to configure my site, I only can select these versions if I put PHP like FastCGI:
But in "Apache Module" I only can select PHP 5.3.3:
My WebSite doesn't work with FastCGI, only with "Module Apache".
I've been working on a project that I am trying to utilize some of the new functions from PHP 5.5 so I changed the PHP version from 5.3 to 5.5 on this domain, but I am getting a 500 error. I've found this kb: [URL] .... which is my exact issue, but the resolution doesn't work for me.
All of the permissions are set right, all of the modules are compiled and registered correctly, but I'm still getting a 500 error.
From error_log:
Code:
[Sun May 31 20:32:31 2015] [warn] [client] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Sun May 31 20:32:31 2015] [error] [client] Premature end of script headers: adduser-exec.php # /usr/local/psa/admin/bin/php_handlers_control --list :
I have the following problem, the files and folders generated by PHP are hidden in FTP.
I can see in the Plesk file manager that users, permissions and groups are the same for all files and folders (those that can be seen and those that cannot be seen from FTP).
All the options in the server are set by default. It is a new installation of Plesk 12.0.18 #4 in CentOS 6.5 (Final).
I have a new Server (CentOS Linux 7.1.1503) and will migrate the Data from my old Server (Ubuntu 14.04 LTS) with the Migration Manager. Both Servers running with Plesk 12.0.18
After i entered the Server-IP and the Login-Data for the old Server i became this Error on the new Server:
Fehler: launchpad error (Error code = 2): == STDERR ==================== Cannot request remote agent status using command line /var/cache/20150518173107557/PleskX.pl: UNIVERSAL->import is deprecated and will be removed in a future perl at (eval 25) line 3. UNIVERSAL->import is deprecated and will be removed in a future perl at IPC/Run.pm line 1060. UNIVERSAL->import is deprecated and will be removed in a future perl at IPC/Run/IO.pm line 78. UNIVERSAL->import is deprecated and will be removed in a future perl at IPC/Run/Timer.pm line 161. Died at AgentConfig.pm line 23. ==============================Click to expand...
I installed FastCGI and configured it via fcgiconfig.js using this command
cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:PHPphp-cgi.exe" It configured fcgiext.ini and added the .php extension to the sites and what not.
When accessing a php script, I get the following error though:
FastCGI Error
The FastCGI Handler was unable to process the request. Error Details:The FastCGI process exited unexpectedly Error Number: -2147467259 (0x80004005). Error Description: Unspecified error HTTP Error 500 - Server Error. Internet Information Services (IIS) I did not do anything special with the PHP. It is the zip 5.2.5 from the site. I configured php.ini and move it to c:/windows. I granted IUSR permission on php-cgi.exe
I am running apache 2.0 on CentOS 4.4 with PHP5 and mysql 5. I am wondering why the following is happening with apache:
if I goto to [url]
This does not work, it times out. But if I goto:
[url]
With the trailing slash it works. That is annoying, anyway to take care of that so it works with or without the trailing slash? Below is my httpd.conf folder and virtual host settings:
<Directory "/var/www/html/"> Options ExecCGI FollowSymLinks Includes IncludesNOEXEC SymLinksIfOwnerMatch
AllowOverride none </Directory> </VirtualHost>
# # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. #
<Directory "/"> Options FollowSymLinks
AllowOverride None </Directory>
<Directory "/var/www/html"> Options Indexes Includes FollowSymLinks
I had do a backup with the plesk 11.5, the backup includes sites, configuration and emails. The restore of the backup don't create all the emails and email folders. There was a way to read or convert the .msg files that exists inside the backup files? A way to convert that msg files to pst or other format that can read by an email client.
In the forum [url]suddenly we got Internal Server Error. Our host claims it is because of corrupted database accorind the logs: 081128 11:44:38 [ERROR] Got error 126 when reading table './lykman_clubcento/lykman11_members' Repairing the database from cpanel didnt work. Old available backups are not available.
I have a problem in PHP Errors Log/Display in PHP 5.4.15 FastCGI
In my configuration "C:Program Files (x86)ParallelsPleskAdditionalPleskPHP54php.ini"
error_reporting = E_ALL & ~E_NOTICE display_errors = On display_startup_errors = On log_errors = On log_errors_max_len = 1024
In my Plesk Web Panel Settings For the domain
error_reporting 32767 <- For 5.4.x display_errors on log_errors on
I made a PHP error in test file
Code:
<?php echo eeeee; ?>
It should give me error in line 2 [ Display & Log ] the error. but it don't do anyone of them it gave me 500 Internal Server Error and it's not logging the error to the directories
C:inetpubvhostsDomain.comstatisticslogs OR C:Program Files (x86)ParallelsPleskadminlogsphp_error.log
C:Program Files (x86)ParallelsPleskadminlogsphp_error.log <--- Successfully logging Errors Like [14-Dec-2013 13:12:07 UTC] rrdtool execution failed: ERROR: fetching cdp from rra
I deleted my databases unconsciously in Parallels Plesk 12 for CentOS.I want to restore all data because it's more important for my activities.Is it possible to restore or others possibilities for my problem ?
We are currently using Apache 2.2.10 as the reverse proxy for the SAP portal server 7.3.1. The SAP applications are built based on webdynpro abap technology.2 of the apps are getting intermittent spinning circles. The Apache server will ultimately timeout and give the "bad request" and HTTP 400. We were never able to reproduce the problem except we do see users are running into them. Obviously, the problems occur very randomly, but often enough to generate a lot of support tickets. No error was generated in the sap system log.
Here is what I see from the apache access log and error log:
[31/Jul/2014:23:50:26 -0400] TLSv1 AES128-SHA "POST /sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--?sap-contextid=SID%3aANON%3asapprd_PR3_03%3aezUnW-FXtaYVyXREaAD7rxW0k8o5pk_n9RfjPfcB-NEW HTTP/1.1" 400 3004 "https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)" 706345611
[Fri Aug 01 14:19:07 2014] [error] [client 10.4.53.198] (70014)End of file found: proxy: error reading status line from remote server xxxxxx, referer: https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=RaH2yjQlV6o7wVaj6wv6zA--LXTMFzjjKvcuwT*DXWoBmA--
I found bug 37770 and went to see the apache admin. But he thinks that the parameter(proxy-initial-not-pooled=1) that fixes the bug only applies to mod_proxy_http. However, we are using mod_proxy.
I have Plesk 12 on Ubuntu. In an earlier version of Plesk I have some domains and all was fine. Now on a new server I have a problem: I cannot access to the domains via ftp. I have have user and I can connect to the server with a ftp client. But after (successful) login I did not receive any data and can not do anything.