Displaying 20 results from an estimated 10000 matches similar to: "Tracking 500 Errors"
2006 Jul 19
0
file_column and 500 errors
Rails community,
I have been trying to diagnose some sporadic "Rails application failed to
start properly" errors, and this is what I have been able to determine. I
am running on a shared server on site5, apache w/ FastCGI. When my
application is running, it is only using 1 dispatch.fcgi process until I
upload a picture with file_column plugin. At that point, between 3-4 more
2006 Jul 19
0
File Uploads And 500 Errors
Rails community,
I have been trying to diagnose some sporadic "Rails application failed to
start properly" errors, and this is what I have been able to determine. I
am running on a shared server on site5, apache w/ FastCGI. When my
application is running, it is only using 1 dispatch.fcgi process until I
upload a picture. At that point, between 3-4 more dispatch.fcgi processes
are
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different
client machines)...
the upload page just hangs...
I''m running...
- ruby 1.8.4 (2005-12-24) [i686-linux]
- rails 1.1.4
- red hat el 4
- apache
- fcgi (0.8.7, 0.8.6.1)
- firefox 1.5.0.5
- httpd.conf
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
FastCGIConfig
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
Hello Campers!
I am working on Site5, trying to get a working Camping application
running. Unfortunately, my sole option in terms of deployment is FastCGI.
I have no access to sudo so I cannot create ScriptAliases.
I''ve taken the Camping Short Short Example and uploaded it, along with a
dispatch.fcgi and an .htaccess file.
My question is - given the state of Camping development right
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 Jun 15
6
Error in dispatch.fcgi...
Yesterday, our of nothing my server went down...
Rails application failed to start properly
Imediately i started checking my logs and found quickly that something
was wrong with the dispatch.fcgi or its function.
I use FCGI, and it had been working perfectly with Apache 2.0.55, MySQL
5.0, Ruby 1.8.2 and Rails 1.1.2.
What really got me wondering was that I did nothing. One day it worked
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears,
Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a
running FastCGI Rails 1.0 environment with :
- Win XP "Professional" (just brand name)
- Apache 2.0.55 (msi)
- Ruby for Apache 1.3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default
2007 Feb 18
1
FastCGI without ScriptAlias
Hi,
I made some experiments with the sample blog application, my index.fcgi
file contains the following:
require ''camping/fastcgi''
Camping::Models::Base.establish_connection(
:adapter => ''sqlite3'',
:database => ''database/camping.db''
)
Camping::FastCGI.serve(''blog.rb'')
Without ScriptAlias the application works fine,
2005 Jul 28
1
Rails+Apache 2+FastCGI on Fedora Core 3 Linux: Has anyone got it working well?
Hi All,
I have a Rails application that needs to be served from a
Fedora Core 3 Linux server. The application runs well as a
"plain" CGI application.
My next step was to speed things up with FastCGI installed
via "gem install fcgi". (version 0.8.6.1).
That approach lead to this error in the fastcgi.crash.log:
Dispatcher failed to catch: undefined method
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all,
I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having
some trouble. The server starts up fine, but I get the error at the bottom
of this post once I make a request to the rails app. I was curious if
anyone had an idea as to why it wasn''t working. I have everything installed
correctly (rubygems, fastcgi, ruby bindings, etc). I had this
2005 Apr 06
1
fcgi processes dieing / hanging
I''m having a hell of a time trying to get my site stable with lighttpd/fcgi.
Here''s a sample of the fcgi error log:
2005-04-06 09:29:03: (mod_fastcgi.c.2782) response not sent, request
sent: 1167 connection-fd: 26 fcgi-fd: 28
2005-04-06 09:29:03: (mod_fastcgi.c.1921) unexpected end-of-file
(perhaps the fastcgi process died): pid: 25117 fcgi-fd: 31 remote-fd:
29
2005-04-06
2007 May 08
1
Can't get Ruby on Rails with Apache and FastCGI
Hi!
Environment
=========
Solaris 10
Apache 2.2.0 with fcgid_module
Ruby 1.8.4
Rails 1.2.3
I am trying to get FastCGI working. Initially I used "dispatch.cgi"
successfully but when I switched to "dispatch.fcgi" I get
====================================================
Application error
Rails application failed to start properly
2005 Dec 20
1
trouble with fastcgi and "undefined method `is_cgi?''"
I''m trying to get started with fastcgi on apache 2.0.54 on Fedora Core 4.
I''ve created a really simple Rails app that doesn''t do any database actions.
It works fine when I call it as CGI, but when I try to switch to fastCGI, I
have problems.
I get the following error in log/fastcgi.crash.log:
[20/Dec/2005:10:16:53 :: 26912] Dispatcher failed to catch: undefined
2006 Jun 13
0
Yet Another Apache/FastCgi Setup Issue
I have set up FastCGI on the server and added 2 servers/processes and
increased the timeout from 30seconds to 60seconds. I _think_ I did
that properly because I now have to wait the full 60 seconds like
clockwork until I get the "Rails application failed to start" when I
browse to my URL. Before it was 30 seconds like clockwork.
When I run "ruby dispatch.fcgi" I get the
2005 Aug 24
1
FastCGI timeout problem
Hi everybody,
after more than 18 hours trying to get Ruby Rails running, i ran into this
problem that i cannot solve. I want to mention that with normal CGI the test app
was running fine. FastCGI is making me problems.
I receive in the browser:
"Application error
Rails application failed to start properly"
and in apache2 log files i have:
[Thu Aug 25 00:13:49 2005] [error] [client
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
(from log/fastcgi.crash.log)
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
descriptor (Errno::EBADF)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2006 Jun 02
4
RoR on Apache not working
Hi
I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but
I''m not an internet/pc/apache/developement newbie so I expected this to
go much easier :)
Ok, here it goes. I''ve been trying to get RoR working with apache both
on a RH server and after i didn;t managed there I tried on my machine,
an windows XP/Apache2 machine.
I don''t like
2005 Jun 30
4
A Memoir on FastCGI and Apache
With the release of our filmfury.com project, I''ve been trying to
rise to the stature of a true system administrator in the last couple
of days (haha). I''m trying to understand how all of the pieces to
this apache/fastcgi deployment fit together.
Here''s what I''ve learned so far:
* You need a separate FastCGI server for each Rails application on
your
2006 Feb 12
0
FastCGI config problem on RHEL 4.0 w/ Apache 2.0.52
Hello gurus,
I''ve had a Rails app going strong for a month now running as CGI, and
users are finally complaining of the speed. So I''m attempting a FastCGI
setup. I''ve followed the RHEL instructions for fastcgi from the wiki
and googled for a day and am getting nowhere. Anybody have a hint? :)
error_log:
[Sun Feb 12 08:51:01 2006] [crit] (13)Permission denied:
2006 Jun 01
4
Ruby on Rails strange issue
Hello,
I just installed Ruby on Rails and created the new repository.
I wanted to use Ruby on Rails with FCGI
The repository was created in /path/to/public_html
ls /path/to/public_html/ :
app cgi-bin config doc log public README script
tmp
asd components db lib logo.jpg Rakefile README_LOGIN test
vendor
I installed fcgi support for ruby on rails and