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
ADVERTISEMENT
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
View Related
Mar 19, 2007
my support and sales mailbox almost get full of spam and advertise emails. i turned on spamassasin but it have not any effect..
i wondering to myself to delete support and sales mail account and create a new one with another spell ( for example something like supporting@website.com instead of support@website.com)
is there any way to get rid of these spams ?
View 14 Replies
View Related
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
Mar 30, 2015
Up till the last update Plesk was working correctly. After the latest update I can't send out mail in any form:
webmail, pop3, wordpress forms, etc.
This is the error message I get:
Command died with status 100: "/usr/bin/spamc".
Command output: Mail handler 'limit-out' said: REPLY:554:5.7.0
Your message could not be sent. The user spamfilter is not allowed to send email.
When I reverted back to the last snapshot before the update everything works fine again. But the automated update bot messes it all up again when it downloads the newer version.
View 2 Replies
View Related
May 29, 2008
I've a dedicated server at ThePlanet / Servermatrix for the past few years and for the most part the service has been okay. Uptime has been good and support used to be fairly swift.
Early wednesday morning the primary hard drive in my server started dying. Throughout the day various services kept going up and down and overall the entire server was very unstable. I didn't get much movement from ThePlanet's support team - they would reboot the server, SSH and other services would come back online, and so they would close the ticket.
Thirty minutes after the reboot the HD would switch to read-only and stuff would start dying. So they finally recommended that I replace the HD and do an OS reload. I said fine as I had a backup of all of the accounts on a 2nd hard drive.
Well it took until 6am this morning for the OS reload to finally be completed, but when it was done apache was *completely* screwed up. WHM was up and running but if you went to the server IP address in the browser you got an error.
It turns out that something really badly went wrong with the OS reload but it took them hours before they even admitted that there was something wrong that needed more action. It's now 10pm and while email and other services are up, apache is still nonexistent.
When I try to run easyapache it barely starts before it errors out with a bunch of missing dependencies. I cannot instal GD and a bunch of other items, and I keep getting error messages that SSL isn't installed either.
Please visit [url] for help with this error.!
No original working apache backup to restore!
Executing '/scripts/initfpsuexec'!
Executing '/scripts/initsslhttpd'!
Compiling report...
Sending report (6304 bytes)...
If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '741873'!
Report processed.
Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1212079281'
----
seems the yum repo being used has bad files:
Error: Missing Dependency: zlib = 1.2.3-0 is needed by package zlib-devel
Error: Missing Dependency: libjpeg = 6b-0 is needed by package libjpeg-devel
--- -0 isn't a normal package id.
I can't even transfer my accounts off the server as that's also broken - I was going to all of the accounts off to my KnownHost VPS but I keep getting an authentication error ("sshcmdpermissiondeny") even though I'm definitely entering the correct root password.
View 1 Replies
View Related
Aug 21, 2006
malware acl condition: clamd: connection to 127.0.0.1, port 3310 failed (Bad file descriptor)
This is a normal Cpanel FC3 exim/clamav server.
Has anyone come across this annoying yet little error?
View 6 Replies
View Related
Aug 18, 2008
Let me start off by saying I'm not here to trash TheNYNOC or anything of the sort, in fact they've been fairly pleasant to me sofar. But I'm wondering if anyone else is having problems with the recently advertised E7200 dedicated server special they've been advertising here at WHT?
When I first ordered my server a couple of weeks ago it was delayed an extra couple of days because they were having problems with the E7200 Core 2 Duos getting along with the motherboards they were using - no big deal, I know from experience that the E7200 is a great little C2D but it can be a real booger with certain motherboards. (Some boards still can't handle the new 45nm cores) But they finally got my server delivered and BOY was it FAST compared to my old Celeron 2.4ghz that I had at ExistHosting (now GoGax). I was one HAPPY camper.
Well tonight I come home from a party to dozens of emails from people saying half of my sites are down, email isn't responding, etc. Upon logging into the server I quickly discover that there is an apparent hardware failure of MASSIVE proportions going on. Half of the files on the server were missing, what was still there was corrupt, and almost every basic linux command resulted in a nasty I/O error.
Code:
Last login: Fri Aug 15 23:23:29 2008 from XXxxxx.swbell.net
[root@hammond ~]# fsck
-bash: /sbin/fsck: Input/output error
[root@hammond ~]# shutdown now
-bash: /sbin/shutdown: Input/output error
[root@hammond ~]# vi
Vim: Caught deadly signal BUS
Vim: Finished.
Bus error
[root@hammond ~]#
Before Vim completelystopped working I also spotted some errors in /var/log/messages complaining about a couple of bad sectors on /dev/sda1 and /dev/sda2 so I suppose I could have just gotten a bad HDD... I dunno though something seems weird.
So I'm wondering, has anyone else with this particular server from TheNYNoc been having problems after a few weeks, or am I just unlucky? Hopefully it's just a bad drive and not some weird exotic problem with the E7200 + mobo combination. I don't fancy having to setup my server a THIRD time in the next few weeks. A second time is going to be bad enough.
Dang it, I just had everything perfect the way I like it too.
View 14 Replies
View Related
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
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
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
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
Mar 26, 2007
to set up a serious of scheduled tasks. For example at 9:35:12 PM I would need a php script to run. And its very important that it run at the 12 second mark for the 35th minute. This seems like an application for a cronjob. Anyway, it looks like you can only have cronjobs run every minute, not seconds.
View 1 Replies
View Related
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
Feb 13, 2007
Today, I put a new server on our racks.
Problem: the machine crashes exactly every 10 minutes. The crash occurs with no entry on the logs and with 0.00 load. It is as if someone take out the current every 10 minutes.
Here are the specs:
- 2 CPU Intel Xeon 2.0
- 8 Gb RAM ECC
- 2 x 250 Gb HDs
This machine needs plenty of current. I wonder if I am not going over the rack power quota. May be there is a system to allow overages for then 10 minutes, then it cut back the current to the rack quota.
View 2 Replies
View Related
May 13, 2009
i have a small cluster (one web and one db) setup and i host a rather popular group of 4-5 sites that allow users to dynamicly create their own mobile chat communitys automaticly. each site gets its own mysql db created and populated automaticly.
this is all fine,
but in the last 24hours weird things have begun happening, previously i had the sql max_connections set to 500 and this was perfectly adquate for the demand but now even when i set the connection to 4000+ they are all maxxed out within 5-10 minutes, and mysql processlist shows thousands of unauthenticated user connections sitting at login status,
i have gone through the sites and all their mysql configs are fine so i cant see what the issue is.
server specs below
db server:
dual amd opteron 246
8GB ram
120gb hd(64gb free)
33gb swap (rarly used but their for emergencys)
centos 5 64bit.
direct 100mbit lan to web serv
only mysql,ssh and webmin running, no other apps installed
web server:
amd athlon 64 3800+
plesk 9.2.1
4gb ram
2x120gb hds
apache status onthe web server only shows 120ish http connections but the sql keeps climbing
View 8 Replies
View Related
Mar 27, 2009
I have an apache server on windows which I wanted to speed up using caching systems.
I tried installing squid, and I got it working with a basic example config. It seemed to work well, however under more heavy load I experienced some weird behaviour where network output is 0 for several seconds at the time, and all clients just hang in the wind and wait for a respons.
Remote to the server is working fine, so it's definitely a squid issue.. with only apache running the server is constantly sending out data, no halts there.
Any hints on what errors I should be looking for?
View 1 Replies
View Related
Oct 17, 2013
My site will wait for 30s almost everytime before loading any of the page itself.Specs of my install:
- DigitalOcean Droplet (VPS) with Ubuntu Server 12.10: 512 Ram and 20GB SSD (not even coming close to needing more RAM, still have 240MB free according to top)
- Wordpress 3.6.1
- 5 plugins: W3 Total Cache, Wordpress SEO by yoast, WP Better Security, WP Smush.it, and Redirection (problem occured before adding the last 2, I can't remember about the others)
- No traffic to speak of. I get maybe 10 uniques/day.
- Apache 2.2.22
- MySQL 5.5.32
I've optimized my site itself the best I can, minifying and combine js and css files, using the WP Smush. It plugin to compress images, serving jQuery from a CDN, but none of that worked the 30 second wait (though it did shave about 10 seconds off the load time after the wait for response).
I was using cloudflare and had to fiddle with the nameservers of my domain, but cloudflare didn't work at all and I switched the nameservers back to normal pointing DNS directly at my site to eliminate the obvious causes. I'm comfortable with Linux and the command line. This is the link to my site: [URL] ....
View 3 Replies
View Related
Jun 7, 2015
I have installed NGINX + PHP-FPM + PHP5Memcached + Memcached + APC on my VServer. My Problem is Page loading time of around 40-60 seconds. Installed is 12.0.18 Update #49
[URL] .....
Connection Setup: TIME
Stalled: 1.860 ms
Request/Response
TIME
Request sent: 0.214 ms
Waiting (TTFB): 47.08 s
Content Download: 41.757 ms
Explanation 47.12
I have reconfigured the Domains but nothing changed and Bootstrap Repair
Code:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
If I disable Nginx and use "Apache Module" for PHP than the TTFB time is shorter but is not the prefered way. If I use "CGI" or "FASTCGI" without Nginx than the Page loading time is a little bit shorter but with Erros on the Website.
I tried to reinstall Nginx from Plesk but this gave me Error after enable it
root@vserver:/# /usr/local/psa/admin/sbin/nginxmng -e
[2015-06-08 00:26:12] ERR [util_exec] proc_close() failed
...
[2015-06-08 00:26:13] ERR [util_exec] proc_close() failed
[2015-06-08 00:26:15] ERR [panel] Apache config (14337159720.96731500) generation failed: Template_Exception: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Destination directory '/etc/nginx/plesk.conf.d/vhosts' not existClick to expand...
View 3 Replies
View Related
Dec 17, 2007
Since moving servers I've been plagued by constant disconnects whilst using FTP:
421 No transfer timeout (300 seconds): closing control connection
I've gone through Proftpd's forum and documentation numerous times to try and find a solution to this but have been unsuccessful so far.
Within proftpd's config file it's set at:
TimeoutLogin 120
TimeoutIdle 3600
TimeoutNoTransfer 3600
TimeoutStalled 3600
So I am unsure where it is getting the "300 seconds" from.
Even though the error states 300 seconds, this problem happens way before 300 seconds every time and has happened during the transfer of files (when the connection has been active and in use).
I've tried 3 different FTP clients and used the "Keep Alive" option in each and it has absolutely no effect.
I am unsure if APF is causing the problem, I can't see any problems in any of the server logs in relation to ftp.
View 5 Replies
View Related
Feb 5, 2007
while i am restoring db (110MB) via SSH following error occur
Code:
ERROR 1064 (42000) at line 145689: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
Fatal error: Maximum execution time of 30 seconds exceeded in ' at line 1
View 12 Replies
View Related
Oct 24, 2014
It seems that since my latest update of 12.0.18. Now everytime I login to the Admin interface of plesk. I am prompted to relogin several times when browsing using file manager or clicking on domains or sitting idle for like 15 seconds.
It can do this up to 5 times in a 5 minute period or while not even being idle.
View 9 Replies
View Related
Jul 10, 2009
got error with cpanel linces after force reboot
and when i try to set the licnse
i got this error
Code:
/usr/local/cpanel/cpkeyclt
Updating Internal cPanel Information.......Died at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 132.
...propagated at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 132.
.Done
View 5 Replies
View Related
Mar 4, 2007
SSI isn't working with lighttpd. I have enabled the module and set the extension, but it still doesn't work.
View 1 Replies
View Related
Jun 2, 2009
So basicly I got a vps and am using lxadmin *renamed* and with ssh and lxadmin the lighthttpd wont start and it is installed under the centos hostinabox distro.
View 3 Replies
View Related
Jun 3, 2009
my php.ini had some changes (/etc/php.ini). Today i have switch from apache to lighttpd, do i need to edit another php.ini file ? Apache and lighttpd use the same php.ini ( /etc/php.ini)?
View 5 Replies
View Related
May 4, 2009
how I can use mod-rewrite with lighttpd.
Actually I am going to use phpprobid system and it has in built function for mod rewrite but I think it is for apache as if i turn it on I cant access pages
View 1 Replies
View Related
May 15, 2009
I am struggling to get this .htaccess file to work with lighttpd, i am not a coder so its very hard for me to fix it, hopefully if someone knows how can tell me how to write rewrite code that will get it working.
{quote}
1. Comment the 2 lines below if the server returns 500 errors!
Options -Indexes
Options +FollowSymLinks
#Uncomment following lines if you want to use image caching!
#<IfModule mod_expires.c>
1. ExpiresActive On
2. ExpiresDefault A1209600
3. ExpiresByType text/html A1
#</IfModule>
1. Uncomment following lines if Apache doesnt support MultiViews!
<IfModule mod_rewrite.c>
RewriteEngine On
1. Uncomment the 2 lines below if you are using www.domain.com # as the baseurl for the site and users access your site # via domain.com (THIS IS REQUIRED FOR JQUERY TO WORK)
#RewriteCond %{HTTP_HOST} ^domain.com [NC]
#RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* loader.php [L,QSA]
</IfModule>
1. Edit below lines and set to
2. ErrorDocument CODE /RELATIVE/error.php
3. If the script is installed in the default document
4. root then relative is null.
#ErrorDocument 401 /error.php
#ErrorDocument 403 /error.php
#ErrorDocument 404 /error.php {/quote}
looks like its calling the rule from loader.php file, now how can i convert this to lighttpd language,
View 4 Replies
View Related