#1  
Old 27th February 2009, 10:01
vuit vuit is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Angry 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, no-reply@zz.vn 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: http://forum.zz.vn/install/upgrade_381.php

[Fri Feb 27 15:08:11 2009] [error] [client 10.199.5.41] (4)Interrupted system call: FastCGI: comm with server "/usr/local/gtweb/apache/cgi-bin/php5.fcgi" aborted: select() failed, referer: http://forum.zz.vn/tl/showthread.php?t=951027

[Fri Feb 27 15:08:11 2009] [error] [client 10.199.5.41] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/gtweb/apache/cgi-bin/php5.fcgi", referer: http://forum.zz.vn/tl/showthread.php?t=951027

File php-cgi :

PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
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
</IfModule>

Cheers,
ScottZu
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2009, 14:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Try this guide: http://www.howtoforge.com/how-to-set...-on-centos-5.2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 00:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.