PHP 5.2, Lighttpd And "looks Like The Fastcgi-backend (/) Terminated"

Sep 10, 2008

We're running two servers with identical configurations, both running Lighty 1.5.0 and PHP 5.2.4, however one of the servers is generating the following error in the PHP error log:

looks like the fastcgi-backend (/) terminated before it sent a FIN packet

We've been Googling all morning and found nothing so I was wondering if anyone perhaps has had the same problem or might know what we could do to fix it. It's quite strange as it's only one of the two servers which generates this error.

View 2 Replies


ADVERTISEMENT

Lighttpd - Backend Died; We'll Disable It For 5 Seconds

Jan 10, 2008

My log is filling up with errors + 500 internal displaying:

2008-01-09 16:17:50: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:17:59: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:17:59: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 5
2008-01-09 16:18:05: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:18: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:18: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 5
2008-01-09 16:18:24: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:33: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1

I have tried all sorts of combos.

Core2Duo 1 processor
Lighttpd 1.4.18
PHP 5.2.5
xcache 1.2.1
2gig ram

fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/local/php5/bin/php-cgi",
"min-procs" => 2,
"max-procs" => 6,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "10",
"PHP_FCGI_MAX_REQUESTS" => "1000"
)
)
)

View 13 Replies View Related

Microsoft FastCGI :: The FastCGI Handler Was Unable To Process The Request

Jan 6, 2008

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

Am I missing something? I followed the guide here

Windows 2003 / IIS6 / PHP 5.2.5

View 3 Replies View Related

Backend Switch

Apr 8, 2007

I was just wondering what switch everyone would recommend for running a back-end network. We plan to push mainly backup and management traffic over this network. The idea is to have an NAS box connected at 1GBit/sec and all of the servers at 100Mbit/sec backing up to that.

We currently use Cisco Catalyst 2960's to connect the servers to the front-end so it would make sense to use 2960G's for the back-end to keep the overall management of things simplified. There is of course quite a big price difference between a standard 2960 and a 2960G.

View 7 Replies View Related

Account Terminated By Limestone

Mar 4, 2009

Every limestone say of servers are making spam, in my one month of company again, i have new case, but this is high wrong.

Company simple poweroff and send e-mail with "Terminated Server", why? If your company don't can make nothing, i can, if your Windows and Network is not secured i have anything with this?

If your company don't provide services control, i don't can make anything?, if your company don't announce i can make nothing?

Wrong company relations, have only price and good hardware.

View 14 Replies View Related

StartLogic Account Terminated

May 22, 2009

My StartLogic account has been terminated by their "Legal Team" saying that I am violating their TOS. Actually, They've terminated it because I've been using too many resources lately, and they don't have the courage to tell me that their unlimited plan are limited.

Anyway the account is now terminated/suspended/inaccessible and I'm now in progress of moving to a VPS.

I'm contacting them now for several days to download just one database, and then let the account go! But they are not responding No emails received, and when I contact their Live Support chat they have only one one thing to say "I have updated the ticket, one of our specialist will contact you soon." Come on What ticket are you talking about? The account has been already terminated, I want to download a database so I can move my website, I don't want any file as they said we can't backup your files because they violate our TOS, it's Okay, I would like to download a DB, they're just ignoring me

View 14 Replies View Related

Mod_security In A Reverse Proxy To A Secure Backend

Aug 3, 2007

Can mod_security perform a payload inspection in a secure reverse proxy?

The traffic to the reverse proxy is via https and is "reverse proxied" to a https backend portal.

View 2 Replies View Related

Apache :: Multiple Backend Ports For One Instance

Jun 16, 2014

I inherited an Apache HTTP instance from a colleague. That's why I'm not deep into that stuff. My current scenario is the following: We are running several backend instances which are published to the internet via Apache HTTP Server which is configured as Reverse Proxy (RP). In the past there was only one port and one protocol to handle by the Apache HTTP (RP).

Now I have the following need. There has to be published a Web Service from one instance using two Ports with two protocols (HTTP and HTTPs). I'm not sure how to solve that need.

A solution I tried already was to change and add the variable DEF_BACKEND_PORT to DEF_BACKEND_PORT_1 and DEF_BACKEND_PORT_2 but it didn't worked.

View 2 Replies View Related

Apache :: Reverse Proxy With Memcached Backend?

Dec 21, 2012

Currently i am trying to install an Apache 2.4.3 as a caching reverse proxy. I would like to use memcached as my cache backend. I figured out there is a mod_socache_memcache, which from my understanding, should do exactly that(in combination with mod_cache_socache). So i compiled mod_cache_socache from trunk, loaded mod_cache, mod_cache_socache and mod_socache_memcache, but now i am stuck with the configuration. Here is what i tried:

LoadModule socache_memcache_module modules/mod_cache.so
LoadModule mod_cache_socache modules/mod_cache_socache.so
LoadModule socache_memcache_module modules/mod_socache_memcache.so

[code]....

where do i configure the path to my memcached instance? The reason for memcached as chaching backend, is that the machine is a windows machine, and from my understanding mod_cache_disk is not as efficient on a NTFS filesystem as it is on EXT3/4.

Another reason is, that later on there should be a possibility to put a second Reverse Proxy machine which shares the cache with the first one by using the same memcached instance (is that possible at all?).

View 2 Replies View Related

/usr/bin/find: Head Terminated By Signal 13

Jan 20, 2008

In the past 2-3 days I have been getting these remarks at the end of the Logwatch 7.3.6 email,

/usr/bin/find: head terminated by signal 13

View 1 Replies View Related

Plesk 12.x / Linux :: Add Or Remove Components - Can't Connect To Backend

Aug 30, 2014

Yesterday I tried to install Fail2Ban on centos 6.5.

Set up for 30 seconds due to, I don't have much domains on plesk.

Fail2Ban stopped working and failed really bad, and it stopped working.

Later on we tried to uninstall Fail2Ban through Add/remove components and we were stack on logging. (about 20 hours same thing)

Right now, add/remove components comes with an error message (Can't connect to backend. No such file or directory)...

View 3 Replies View Related

Delete Backup Files Of Terminated Accounts

Jun 18, 2009

What is the best way to remove backups files of terminated accounts in the /backup/cpbackup/daily directory?

View 1 Replies View Related

Configure Apache To Send SSL Client Certificate To Backend Server

Dec 31, 2013

i want to configure Apache so that it receives a client certificate, an passes it to another server.I'm using:

- apache 2.0.65 on windows
- the backend server is an apache-based solution (IBM HTTP Server)

I tried this config:

<VirtualHost *:443>ServerName apacheserver.domain.comSSLEngine onSSLProxyEngine onSSLCertificateFile "e:/Apache/Apache2/conf/server.cer"SSLCertificateKeyFile "e:/Apache/Apache2/conf/server.key"SSLCACertificateFile "e:/Apache/Apache2/conf/certca.cer"SSLVerifyClient requireSSLVerifyDepth 2ProxyPreserveHost onProxyRequests off<Proxy *>AddDefaultCharset

[code]....

View 1 Replies View Related

Veritynet :: Services Terminated Due To Paypal Dispute Opened

Jul 1, 2008

Ok, I have services at Veritynet on a vps, They have terminated our server that is fully PAID for a year without refund, due to a dispute I opened in paypal because of services being down for a week.

I talked with their customer support for three days to get my services back online, and finally said enough is enough, I want a refund to take my service elsewhere, Now he has totally cut off our services even tho the paypal dispute ended in no refund being given.

What is my course of legal action?

This was sent to an email:

We have received a charge back request from paypal and under our standard policies this constitutes forfeiture of all service rights and possible ban from any future services. Had you allowed us the time and consideration to work out your grievance we may have come to a mutual understanding but in taking the action that you did you have broken any trust that a service relationship will require. At this time we have no intentions of providing any further service for this account.

View 9 Replies View Related

Plesk 12.x / Linux :: Migrate From Old To New Server - Deployer Terminated By Exception

Oct 1, 2014

When I try to migrate from old server to new server, I get this error:

Warning: Deployer has been terminated by exception: Line 471 error: Element 'certificates': This element is not expected. Expected is one of ( sb-config, backup-settings, server-preferences, spamassassin, grey-listing, virusfilter, kav-settings, coldfusion, gapps-services, events ).

View 3 Replies View Related

Php Fastcgi

Jul 1, 2007

I already have php successfully compiled as apache modules but not the fastCGI version, i just trying to compile with the following setting, but weird, could not get the php-cgi binary out of it, only the apache module :

./configure --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php --enable-wddx --enable-trans-sid --enable-dio --enable-sysvsem --enable-mbstring --enable-ftp --enable-versioning --enable-force-cgi-redirect --enable-so --enable-inline-optimization --enable-bcmath --enable-calendar --enable-memory-limit --enable-sockets --enable-track-vars --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr --with-xmlrpcb --with-gettext --with-xml --with-dom --with-dom-xslt --with-dom-exslt --with-openssl --with-bz2 --with-jpeg-dir=/usr --with-png-dir=/usr --with-iconv=/usr/local --with-curl --with-mysql-dir=/usr/local/mysql --with-pear --with-readline --with-gd --with-freetype2=/usr/include/freetype2/freetype --with-freetype-dir --enable-gd-imgstrttf --enable-gd-native-tt --enable-fastcgi --disable-debug

View 2 Replies View Related

PHP + IIS + FastCGI

May 23, 2007

I was wondering whether anyone can help me, I'm having some major performance problems running PHP on IIS using Shane Caraveo's php_fcgi.dll

PHP: 5.1.1.
IIS: 6

Basically I'm getting to the point where the isapi requests jump rapidly to 400+ requests from a meagre 2 -5 requests. Given the high number of requests this is essentially bringing the server to a standstill.

Does anyone have any ideas how I can begin getting to the bottom of this either through network monitoring or application debugging?

View 0 Replies View Related

Fastcgi

Sep 6, 2007

installing PHP fastcgi on my Centos VPS. I have already Googled for this and tried most of the tutorials but nothing seems to work.

I have already compiled PHP with --enabled-fastcgi. What I ca't figure out is what to put in my .htaccess file.

Almost every tutorial on this compes up with a different way and none of these seem to work for me.

View 14 Replies View Related

FastCgi Or SuPHP

Apr 1, 2009

what do you prefer?

fastcgi or suphp?

which one is better with suexec (in security and resource usage)?

View 11 Replies View Related

Mod_php Vs. Fastcgi

Jul 6, 2009

I'm looking at optimizing our dynamic content delivery process and there are some interesting claims regarding fastcgi vs. mod_php.

What I am wondering about is assuming apache serving ONLY php content, why would fastcgi perform any better than mod_php? The memory footprint of spawned workers exists in both solutions.

Wouldn't context switches and buffering in fastcgi actually lower performance?

What could be gained by using a different web server (nginx/lighty) ? The primary bottleneck would still be physical memory (assuming <255 workers) ?

View 8 Replies View Related

Should We Not Be Using PHPSuExec With FastCGI?

May 2, 2009

Should we not be using PHPSuExec with FastCGI?

View 1 Replies View Related

Iis7 Fastcgi

Aug 13, 2008

i'm using fastcgi for PHP app. i have 5 sites on my server but fastcgi works only one site which is the first opened if you open second site iis give me error like "HTTP Error 500.0 - Internal Server Error
C:PHPphp-cgi.exe - The FastCGI process exited unexpectedly". i restart iis and open another site firstly it works but again another site give me error.

View 1 Replies View Related

PHP 5.25 And Microsoft FastCGI

Dec 7, 2007

I've already posted this over at the vBulletin forums and with their tech support team, but so far no one has been able to find a solution. Someone suggested I post here as well.

I am currently running vB using PHP 4.3.9 with Zend WinEnabler on a windows 2003 server. I have a seperate database server and a web server. This current configuration works fine, but I am moving to an upgraded web server and this is where the problems start.

Due to intermitant issues with Zend WinEnabler (now a discontinued product) I wanted to move to the latest version of PHP (5.2.5 NTS) and Microsoft FastCGI. The problem is that I am getting blank pages when clicking the Today's Post link from the top menu and immediately following the submission of a new post. I've gone through all of the vBulletin listed suggestions about trouble shooting blank pages and none apply.

Because I have a seperate database sever, I am accessing the same database with the new server vB configuration I am migrating to. As such I suspect the issue has to be related to web server given there are no issues on the current live site and the only changes are the PHP version and acceleration app.

If anyone has some suggestions, please let me know. I am running out of time on my server migration window before I am going to be billed for two servers.

View 0 Replies View Related

PHP As Fastcgi And Htscanner

Aug 28, 2007

I try to enable register globals for a specific domain using htscanner and .htaccess (php runs as fastcgi). My phpinfo page says that register globals are On but they don't work.

View 1 Replies View Related

FastCGI Hello World Test?

Jun 20, 2009

Just moved to a 1and1 managed server in which FastCGI is enabled.

But I'm having problems getting Movable Type to run under fastcgi - which has never been a problem before, even on shared hosts.

Is there a 'hello world'-type test for fastcgi - so I can check if it is enabled?

View 3 Replies View Related

FastCGI- (apache 2.2, Php 5.1, Suexec)

Dec 17, 2008

I have just switched from mod_php to fastcgi + suexec, but now trying to use the ab command times out :

ab -n 10000 -c 100 [url]
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, [url]
Copyright 2006 The Apache Software Foundation, [url]
Benchmarking www.example.com (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
apr_poll: The timeout specified has expired (70007)
Total of 7422 requests completed

Then I get a bunch of emails from LFD ....

View 0 Replies View Related

Security Implications Of FastCGI

Jan 31, 2008

I recently changed one of my development servers from suPHP to FastCGI. I will admit, FastCGI is much quicker at PHP page generation and the system seems much more responsive.

However, I am looking into how FastCGI differs from suPHP in terms of security. Both run as a form of CGI outside of Apache itself -- which in theory is more secure. However, suPHP prevented users from setting insecure permissions (for instance, the max for files was 644, and for folders it was 755) -- something which FastCGI does not appear to do (although it could due to how it runs as a user).

Does anyone have any comments on this? Is there a way to force these same restrictions via FastCGI?

Also, any other comments in regards to the security of FastCGI vs. suPHP? I have run numerous searches and I don't seem to be able to find much. Google just returns a bunch of providers whose 'customers' are celebrating due to the provider choosing to implement FastCGI.

View 2 Replies View Related

PHP As Apache Module Or As FastCGI

Jan 22, 2007

I have a server running Apache 2 with PHP as an Apache module. There are a few php scripts that use lots of cpu when they run and have lots of hits, but Apache is still running fine and pages and php scripts load pretty fast. I was just wondering if running PHP as fastcgi would use less cpu or make php scripts load faster.

View 0 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved