Displaying 20 results from an estimated 10000 matches similar to: "Apache2, FCGI, 500 errors?"
2006 Apr 20
5
Rails, FCGI, Dreamhost
Is anybody getting acceptable performance with a Rails application on
Dreamhost? By this, I mean response times no greater than 3 seconds, and
no large numbers of FCGI processes that you have to kill manually.
If so, how?
I''ve ended up running a constant ping script (once every ten minutes),
and still have to kill some number of excess dispatch.fcgi processes
every day.
Along with
2006 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems.
The app is running with edge rails and I''m currently getting the dreaded
''Rails application failed to start'' white screen when trying to access it.
I''ve gone through all the ''gotchas'' and troubleshooting docs at
Dreamhost and the rails wiki to no avail.
2007 Jul 30
1
Camping Apache2 & FCGI - Internal Use
Hey Folks,
I''m deploying a camping app on an internal Apache2 + FastCGI server at my
office. Of course, on my Mac it works great, but I can''t get things to work
with Apache and FCGI. I''ve followed the directions on why''s page
documenting how to do this, but I''m getting the following error in my Apache
error.log file:
FastCGI: (dynamic) server
2006 Aug 02
5
monitor fcgi?
Im trying to get a new app up on dreamhost. What fun :/
Id like to try out the ''frao_handler'' which just keeps dreamhost from
automatically killing my fcgi processes. But Im also worried about
things getting out of hand. I seem to remember that captures in views
can cause problems with fcgi (I might just be making that up????), and I
do have few in my app. And well Im
2006 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all!
I''m trying to deploy an application out to a subdomain at dreamhost. I am
getting the dreaded "Rails application failed to start properly" error. The
logs for my app are empty. In the DreamHost FTP app, when I look in the
error.log file (I''m guessing this the Apache error log file) I see the
following for each of my attempts:
[Sun Jul 16 12:36:32 2006]
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi,
I''ve generated a new Rails app and dummy controller "foo" with method
"hello". I am trying to run it under Apache/2.0.53 with fastcgi, and
getting the index.html page when I hit http://localhost/foo/hello, or
for any other request (http://localhost/kdjfslkfjs). Also, there is
nothing in the rails logs, and no errors in the apache logs.
Relevant bit of
2006 Jan 09
3
FCGI and Apache2 on win performance problem
Hi all,
I am having problems with FCGI and Apache2 on windows.
The error I often receive is 500 error code response with logs listed
down. I successfully use Webrick server and CGI (very slow). I had
configured apache as is described in these document:
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows.
Any suggestions?
Logs:
> Errno::E232 (The pipe is being
2005 Nov 25
0
Malformed Header with Apache2 + FCGI...
Once again with feeling...
Environment is Suse 9 + Apache2 + fcgi + oracle + rail 0.14 + ruby 1.8.
Everytime I restart apache on this box and hit the site I get the
following
error in the log:
FastCGI: comm with server /home/www/myapp/public/dispatch.fcgi aborted:
error
parsing headers: malformed header ''Config arg usernameBubba''.
Hittting refresh in the browser once more
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all,
I can blab, but here is a sample of my /var/log/apache2/error.log, it
has all the info:
any ideas what I can do prevent 500s from hitting my users? (besides
redirecting them with javascript to the same URL which will be fine on
the next request? :)
thanks,
_alex
[Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI:
incomplete headers (0 bytes) received from
2006 Oct 31
3
Forcing FCGI at dreamhost
Greetings all,
I''ve got an app in production at dreamhost, but I can''t seem to force
FCGI on it. I have it enabled for the domain in the admin panel, have
checked the file permissions in my public folder, and tried firing the
scripts from the command line.
When firing either dispatch.cgi, or dispatch.fcgi from the command line,
I get a 500 internal server error on BOTH.
2006 Mar 30
4
404 Error on dispatch.fcgi
I''m a java/php programmer trying out Ruby/Rails on my Dreamhost account.
I followed the wiki steps to the letter (2x now) and am still getting a
404 when I hit my dispatch.fcgi.
http://mydomain.com/public/dispatch.fgci
Can someone give me suggestions on how to debug this problem?
Here is my dispatch.fcgi file:
#!/usr/bin/env ruby
#
# You may specify the path to the FastCGI crash log
2007 Jul 22
2
500 error while trying to run Camping on Dreamhost
I''ve tried setting up an Hello World app with Rails (no database), on a
Dreamhost account. I used the configuration I found here
http://www.mail-archive.com/camping-list at rubyforge.org/msg00114.html with
the proper paths. But I keep getting Internal Server Errors (500). On the
error.log I found this
[Sun Jul 22 15:32:07 2007] [error] [client 82.154.48.138] FastCGI: comm with
(dynamic)
2006 Jan 02
5
Can''t get fcgi working with Apache2 on Mac OS X
I have an application that works fine in development mode under plain
old CGI and I''m trying to get it running under FCGI with multiple hours
of frustration. Lately, I am running dispatch.fcgi standalone from the
command line. It gives me a not very helpful one line error message;
Status: 500 Internal Server Error
The log file produces a not very helpful 2 line message;
2006 Jul 05
5
How do I reset rails in production mode on DreamHost?
Hello!
I am testing rails on DreamHost.
I believe it''s running on apache.
In development mode, it ran very slowly.
So I changed it into production mode and switched to fcgi.
It''s very fast now.
But the problem is that if I add actions to a controller, it''s not
applied.
I know that in production mode, I need to restart web server.
But I don''t control the web
2006 Apr 03
11
Runaway FCGI Processes with Debian, Apache
Hi all.
There is an issue with Rails, FastCGI and Apache2 on
Debian that I''ve been dealing with since I started
Rails development in late 2005. I''ve developed
various workarounds but have not been able to solve
the problem at the root.
Every so often, for reasons I''ve never been able to
determine, a load of dispatch.fcgi processes get
spawned and take over my whole
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf:
FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env
RAILS_ENV=prod
uction -processes 5 -idle-timeout 60
<virtualhost 212.87.142.234:80>
ServerName www.gissmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production
2006 Feb 04
0
Apache2 and fcgi external
If anyone here is using Apache and fcgi with an external fcgi server,
would you mind sharing your relevant setup details (httpd.conf, how you
start the external servers, anything else)? The more specific the better.
It would be greatly appreciated!!
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your
application''s environment" on the Rails Welcome page, it simply prints
out the dispatch.fcgi script as shown below. I would appreciate any help
I can get on this. I can provide other infomation if necessary.
#!/usr/local/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
#
2005 Mar 10
5
dispatch.fcgi dieing randomly
Recently my application has refused to start on my production
environment. The setup is debian(unstable)/apache2/fastcgi/mysql
Rails 0.10 (upgrading to 0.10.1 as we speak)
When I first start up apache the machine grinds to a crawl starting up
the dispatch.cfi processes. It''s a VPS with 256M of ram, but still
(in addition to user time) it''s spending 30% of time in system
2006 Jul 21
6
Troubleshooting tips for getting Apache/RailsApp/Dreamhost
Hi,
Background: I''m currently stuck getting my basic rails application
working on dreamhost. I have gone throught the doco. Note that I can
via my unix account run "ruby script/server" and get the application
working via webbrick. The problem I am having is that trying to go to
the app via the normal apache approach my browser just sits and spins
with nothing coming