Displaying 20 results from an estimated 1000 matches similar to: "Rename dispatch.fcgi and routing stops working"
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''
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello,
I deployed a Rails App using Switchtower and now I''m getting a Routing Error
to my Javascript and Stylesheet files.
Has anybody else had this issue?
Here is the log file.
> ActionController::RoutingError (Recognition failed for
> "/javascripts/prototype.js"):
> /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in
>
2006 Aug 14
0
Recognition failed for ...
Hello,
I''m new to Rails so please forgive me if I''m asking any stupid
questions...
I''m trying to set up lighttpd so that is supports multiple Rails apps
(in the form of http://server/app1, http://server/app2, etc). OS:
Gentoo, 2.6.17 kernel, ruby 1.8.4, rails 1.1.6, lighttpd 1.4.11
My rails app is generated into /mnt/b/www/rails/test1/ and I''ve appended
2006 Apr 19
1
Recognition failed for "/"
I am new to ROR and i have been following a few howto''s and just testing
things.
It works fine in webbrick yet if i try and access using lighttpd or if i
run
public/dispatch.fcgi from cmd line i get the error below
Thanks
Recognition failed for "/"
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in
`recognition_failed''
2006 Mar 28
2
Newbie question - ActionController::RoutingError
When i run my server and just chk in browser i get
---------------------------------------------------
ActionController::RoutingError (Recognition failed for
"/rails_info/properties"):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/routing.rb:488:in
`recognition_failed''
2006 Jul 19
1
RoutingError -- but only for one controller
This one has had me stumped all morning, so any ideas would be a big
help. I''m getting the following error for any request to one of my
controllers, ''client'':
ActionController::RoutingError (Recognition failed for "/client/new"):
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in
`recognition_failed''
2006 Jan 18
2
Routing error for css?
I can''t remember when, or what I was doing, but now I can''t retrieve the
CSS files for my sites layout (I don''t think ror is handing them out
properly). I''m pretty sure that I didn''t touch anything. I don''t know
much about routes yet (I checked the routes.rb file with a freshly
generated one, and it was the same). What can be gleaned from
2006 Jun 26
2
running lighttpd -> Recognition failed for "/"
i have tried several tutorials on the web for getting my app to run
under lighttpd and fastcgi..
my setup is fedora core 5..
i used this to get everything installed:
http://www.digitalmediaminute.com/howto/fc4rails/
but i kept getting errors, as the machine i am installing it is a remote
machine, i couldn''t get it to work right..
i next tried this:
2006 Jun 29
0
can''t run rails application
Hello,
I''m trying to run Rails on Apache 2.0 with mod_fcgid. It seems like
fcgi has been set up ok, but still I can''t run my rails application.
Here is my httpd.conf
IPCCommTimeout 40
IPCConnectTimeout 10
DefaultInitEnv RAILS_ENV production
SocketPath /tmp/fcgidsock
<VirtualHost *:80>
<Location />
RewriteEngine On
2006 Apr 02
2
Recognition failed for "/rails_info/properties"
Hello. I can''t figure out why I''m getting the following problem, or
how to fix it.
I have Rails 1.1.0 installed on both OS X and Solaris, and in both new
and old projects, and using either WEBrick or lighttpd, I get:
Recognition failed for "/rails_info/properties"
when lining to it off the welcome to rails page. I get the following
errors through the console:
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 02
3
Route problem
I have an index.rhtml is rendered when the (main)controller is loaded.
The page contains some check boxes and a submit button. See form code
below. When I click the submit button, I get a 404. I don''t know how to
post this data back to my controller where method "addvisit" is waiting.
It works in WEBrick no problem, but doesn''t work in fcgi on DreamHost.
I am
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 Feb 15
1
Images and stylesheets are not serving
Hello
One of ours sites has just lost all it''s images and styling.
It''s not a very busy site at all, so it might have been not working
properly for some time now.
Here''s how we start it in Lighty
<pre>
$HTTP["host"] == "gregynog.glam.ac.uk" {
server.document-root = "/www/rails/greg/current/public/"
server.error-handler-404 =
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
2006 Jun 16
5
Application Error
Hi Folks,
When I have tried this cookbook example from onLamp tutorial,
I got some error like this,
output of development.log is
----------
Permission denied -
/var/www/html/cookbook/public/../config/../tmp/sessions//rub
y_sess.d51d8997edf6be91
only the first line of output is this,
output truncated.
---------
what it will be ?
How to solve this ?
In my browser, I am getting Applicaiton
2006 Aug 04
0
Proxy from Apache to local Lighttpd instance
Hello,
I''m having a serious problem proxying from Apache (2.2) to local Lighttpd
servers. I need this to run Rails instances on www.mysite.com/rails next to
the regular part from www.mysite.com.
Currently I get a working www.mysite.com/rails for only the first page,
controllers do not work. I am quite desperate in getting this to work as it
is the only way I can run Rails at our
2006 Feb 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
I''m really lost on this issue. Do I need to reinstall rails / gems?
The rest of my rails setup seems to be working. I just can''t run
dispatch.fcgi. (Details in original message below).
I have no idea how to troubleshoot this. I''m not even positive it is
supposed to be runnable from the command line. I found a
troubleshooting guide that implied it was supposed to
2006 Aug 06
1
RJS error
http://pastie.caboo.se/7437
Page appears as:
Todo List
#testing
* Heres another Edit Destroy
* Testes Edit Destroy
* One more Edit Destroy
* Heres another Edit Destroy
* And another Edit Destroy
NameError in TodosController#create
undefined local variable or method `page'' for
#<TodosController:0x228bf4c>
RAILS_ROOT:
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI:
Webrick Debug:
[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in