similar to: Using FCGI on OS X

Displaying 20 results from an estimated 40000 matches similar to: "Using FCGI on OS X"

2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat server under Apache 2 / fcgi... Every time I try to load the public home page, I get this in my error log: [Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI: comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/ public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
2006 Jun 21
2
displaying contents of dispatch.fcgi rather than running it
SYSTEM: Apache2/RHEL4/FastCGI latest gem, ruby and rails builds. -- i''ve installed rails on the above system. i get the ''riding on rails'' welcome page, but when i click ''about your applications environment'', it returns the contents of the dispatch.fcgi file, instead of running it. i''ve been struggling with this one for quite some time with
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;
2007 Dec 14
1
does gem fcgi require fcgi to be installed?
Does anyone know if the gem fcgi needs fcgi to be installed on my machine? I''m trying to install the gem fcgi and I''m getting the following message: -bash-3.00# gem install fcgi Updating metadata for 9 gems from http://gems.rubyforge.org ......... complete Building native extensions. This could take a while... ERROR: Error installing fcgi: ERROR: Failed to build gem
2005 Dec 28
0
Probs installing ruby-fcgi on Linux
Hi. I''ve installed fcgi 2.4.0 on a CentOS 4.2 box without problems using: ./configure --prefix=/usr/local/fcgi --exec-prefix=/usr/local/fcgi make && make install When I try to install ruby-fcgi bindings I get the following: [root@machine ruby-fcgi-0.8.6]# ruby install.rb config -- --with-fcgi-lib=/usr/local/fcgi/lib --with-fcgi-include=/usr/local/fcgi/include install.rb:
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
2004 Nov 18
0
Ruby 1.8.2 breaks dispatch.fcgi
Hi, dispatch.fcgi does: require ''fcgi'' FCGI.each_cgi { |cgi| Dispatcher.dispatch(... Because each_cgi is only in fcgi.rb, this is dependant on finding fcgi.rb first. Rub 1.8.2 shows the following $LOAD_PATH /usr/lib/ruby/1.8/i386-linux-gnu /usr/lib/ruby/site_ruby/1.8/i686-linux-gnu /usr/lib/ruby/site_ruby/1.8 /usr/lib/ruby/site_ruby/1.8/i686-linux /usr/lib/ruby/site_ruby
2006 Mar 15
0
FCGI hanging w/ LightTPD in about 24-48 hours
I started an earlier thread about this ... Someone suggested a different version of LightTPD, since the version I was using had some known issues with FCGI. Well, we''ve upgraded to LightTPD 1.4.11 and the problem is still happening. We have Rails running under fcgi (one process) under LightTPD. This, in turn, is proxied to by Apache. This is on a test IP, so only a few people should
2006 May 26
0
setup problem, every request trys to download dispatch.fcgi
Has anyone ever seen it where every request tries to download a fcgi file but marked as a .rb file? Im running LightTPD 1.4, Ruby 1.8.4, FastCGI. The lighty config is... var.basedir = "/var/www/sites/" $SERVER["socket"] == "101.0.0.171:80" { var.servername = "stage.butlerandtanner.com" server.document-root = basedir + servername + "/public/"
2006 Jan 12
0
Rename dispatch.fcgi and routing stops working
I would like to rename dispatch.fcpi to host1_dispatch.fcgi, host2_dispatch.fcgi, etc in order to allow Switchtower to kill the right fcgi dispatch processes on deployment. But when I rename dispatch.fcgi routing to the controllers stops working, any ideas why this file name is important? ActionController::RoutingError (Recognition failed for ""):
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
2006 Mar 02
2
A nasty evening with dispatch.fcgi
Hello all. Time for an all night installation campfire (no pun intended) story. I just helped a customer migrate from a single box to a 5 box system. 2 Lighty 2 FCGI 1 DB Everything went quite well. I scripted everything so it would be easy to add more boxes in the future. 3 scripts, one for each box type above. Then came time to get the site working. :-) Lighty came up easily. The DB came up
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 Apr 12
0
Unable to load fcgi.so?
Does anybody have an idea why I would be unable to load fcgi.so? I can "require fcgi" OK but not "require fcgi.so". I should mention that fcgi.so does exist in the /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ directory. Thanks.
2006 Apr 03
6
getting fcgi to work
can some one help me with my install? i''m having a touch time getting fcgi to play right with apache. i ran "gem install fcgi" and this is the output i get: Attempting local installation of ''fcgi'' Local gem file not found: fcgi*.gem Attempting remote installation of ''fcgi'' Updating Gem source index for: http://gems.rubyforge.org Building
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t seem to get anywhere. Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503: Service Temporarily Unavailable''. There''s no error being logged anywhere, afaik. Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs out,
2006 May 23
2
Capistrano won''t spawn fcgi processes
I''ve ran into quiet an annoying problem: I have a Capistrano task that is supposed to run a shell script. The script restarts a rails application by first killing all active fcgi processes and then spawning new ones again. The shell script works fine when executed locally on the server but running this in a Capistrano task will simply not work. The task is simple: desc
2006 Mar 04
4
managing number of dispatch.fcgi processes ?
I have a problem where when I try and access my site a dispatch.fcgi process is started but then exits right after the page has loaded. Requireing it to start all over agin the next time a request is made. I''ve read about people using two or more FCGI processes to help with the request load but how do people do this? Firstly, how do you make a FCGI process persistant? I''m
2006 May 25
4
downloads dispatch.fcgi for every request!!
Hi All, has anyone ever seen it when they vist the URL in the applicaion that it just tries to download the FCGI dispatch file? Im running FC3, Lighttpd1.4.11, Rails 1.1.2 and FastCGI. i run IRB and get... irb(main):001:0> require ''fcgi.so'' => true irb(main):001:0> require ''fcgi'' => true On the default rails install page ''riding on
2006 Feb 02
4
Random (connections.c.1330) error-handler not found: /dispatch.fcgi
Hello, Again another random occurance of a problem. lighttpd.error.log contains lines like: 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:35:08: (connections.c.1330) error-handler not