Displaying 20 results from an estimated 10000 matches similar to: "fastcgi stopped"
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
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
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 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 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
All,
Apache 2/FastCGI on Linux
My fastcgi config. file is set up to run the "test" RAILS_ENV.
When I go to access a view associated with a particular controller, I
keep getting a ENOENT (file not found) error on a custom config. file
that I am attempting to load.
What I can''t figure out is why it can''t find the file.
Here''s the code that loads it in my
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 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 Feb 11
1
Fastcgi and mysql woes
Hi,
I have been heck of a time to get mysql and fastcgi to
work properly on my Mac OS X box. I keep getting the
following error: Can''t connect to local MySQL server
through socket ''/opt/local/var/run/mysql5/mysqld.sock''
(13)
I have even tried commenting out the "socket" option
in my database.yml but it still gives me the same
error. I''m ok when I
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:
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
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
2005 Mar 05
1
How to provide Rails hosting on Apache/FastCGI enviroment?
Hi, folks.
I am running a small Web Hosting service personally.
I hope to provide rails service on apache/fcgi to my hosting
users. So, I''ve been testing to setup rails application, and
there was no problem. But with Rails version 0.10.0 release,
previous way doesn''t work.
Following is a scenario which worked well before, but now beats me.
1. Eric has his own rails directory
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
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
2006 Jan 16
0
Lighttpd/FastCGI dispatch.fcgi processes
I have the fastcgi.server part of my lighttpd.conf like this:
fastcgi.server = (
".fcgi" => (
"test" => (
"socket" => "/tmp/test1.socket",
"bin-path" => "/home/paulbarry/public/dispatch.fcgi",
"min-procs" => 1,
"max_procs" => 2
)
)
)
When I start
2009 Jul 29
1
Windows+Apache+FastCGI+Postgres - didn't work
Hello All,
Get
[Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] (OS 2) Can''t
find specified file: FastCGI: failed to connect to server "C:/usr/www/
public/dispatch.fcgi": CreateFile()/WaitNamedPipe() timed out
[Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] FastCGI:
incomplete headers (0 bytes) received from server "C:/usr/www/public/
dispatch.fgi"
2005 Dec 18
0
OpenBSD 3.8, Apache 1.3, FastCGI, Chroot
Okay, well the OpenBSD install/chroot guide is a good starting point....
Anyhow, Can someone shed some light on these particular error messages?
[Sat Dec 17 18:42:34 2005] [notice] Initializing etag from
/var/www/logs/etag-state
[Sat Dec 17 18:42:34 2005] [notice] chrooted in /var/www
[Sat Dec 17 18:42:34 2005] [notice] changed to uid 1, gid 1
[Sat Dec 17 18:42:34 2005] [notice] Apache/1.3.29
2006 Mar 09
12
ruby/rails seems to be fubar''d
Hello. Any help the community can give me will be greatly appreciated.
I''ve got the server guys who administer my dedicated server working on
my issue, but it''s been two days and they are still at square one.
Let''s start with the history. I''ve been working with ruby for a month
or so now, and am starting to get pretty comfortable with it. I asked
my host
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi,
I''m having difficulty getting ruby running via Lighttpd and fastcgi. My
lighttpd.conf reads:
server.port = 81
server.pid-file = "/tmp/test_lighttpd.pid"
server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi",
"mod_accesslog", "mod_simple_vhost" )
server.document-root = "/tmp/mis/public"
2007 Apr 26
1
Apache + fastcgi and rails in vendor
Hi
I want to run my new shiny rail application with apache. Running my
application using cgi works but is very slow. So I want to switch to
fastcgi.
I downloaded and installed mod_fcgid and have apache running my fcgi
scripts. Now my problems start :-(
I''m running apache on an ubuntu system. The ubuntu packed for ruby and
RoR is not the most recent. As I need the most recent rails