Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-27-2009, 02:38 AM   #1
LQ Newbie
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Angry Error php fastCGI

Dear ALL

I use web server apache use php fastcgi (Centos 5.2, apache 2.2.9 , php 5.2.5 and fcgi-2.2.4 )

I receive error :

"The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

Try F5 -> nornal

I view log :

Handler for fastcgi-script returned invalid result code 1, referer:

[Fri Feb 27 15:08:11 2009] [error] [client] (4)Interrupted system call: FastCGI: comm with server "/usr/local/gtweb/apache/cgi-bin/php5.fcgi" aborted: select() failed, referer:

[Fri Feb 27 15:08:11 2009] [error] [client] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/gtweb/apache/cgi-bin/php5.fcgi", referer:

File php-cgi :

exec /usr/local/gtweb/php/bin/php-cgi

and woker config

<IfModule mpm_worker_module>
ServerLimit 100
StartServers 50
ThreadsPerChild 64
MaxClients 1600
ThreadLimit 100
MinSpareThreads 50
MaxSpareThreads 100
MaxRequestsPerChild 5000
SendBufferSize 32768


Last edited by vuit; 02-27-2009 at 02:42 AM.
Old 02-28-2009, 10:48 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
If this just occurred once or twice, don't worry about it.

If it's occurring frequently, you need to look at your web app, and see if it's consistently failing in one particular place.

In any case, it doesn't look like FCGI is the cause of the error - he's probably just the guy reporting that some communications error has happened.

'Hope that helps .. PSM

This link might also help:

Last edited by paulsm4; 02-28-2009 at 10:52 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FastCGI installation I_AM Linux - General 1 05-10-2009 05:30 AM
PHP FastCGI security robertjinx Linux - Security 1 08-22-2008 02:56 AM
Setup Apache2 with PHP FastCGI jlukensow Linux - Server 1 01-29-2008 04:30 PM
PHP FastCGI/Apache Module Question.... Voltar Linux - Software 4 06-22-2006 12:45 PM
Mod FastCGI - Error 1 during make nutnut Linux - Software 3 04-11-2006 03:38 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration