similar to: Permissions error on dispatch.fcgi

Displaying 20 results from an estimated 7000 matches similar to: "Permissions error on dispatch.fcgi"

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 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but can''t get it to work. As far as we can tell, it seems to go wrong in the final stages; Apache appears not to be doing anything with dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve followed several "how to"s, but we don''t get any other results. What
2006 Aug 07
1
apache-fcgi - multiple applications on same server
hello, I have a server running apache-1.3 with mod_fastcgi that''s happily running a rails application. Life is good ;) I would like to setup another application (vhost) on the same server.. How to do ? My httpd.conf says: <snip> # fastcgi <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fgci_ipc AddHandler fastcgi-script .fcgi FastCgiServer
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 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The httpd.conf has : <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /root/zs/public/dispatch.fcgi -processes 2 FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production -idle-timeout 120 -maxClassProcesses 2 -killInterval 300 </IfModule> The dispatch.fcgi is the default provided in the
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 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 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
2005 Dec 19
1
FastCGI: comm with (dynamic) server dispatch.fcgi aborted
I just did a "gem update" on my server updating to the latest version. After this none of my scripts work. In apache error log I get: FastCGI: comm with (dynamic) server "/home/user/public_html/dispatch.fcgi" aborted: (first read) idle timeout (30 sec) My only guess is that the problem is related to the fastCGI binding but I have no idea what to look for. I
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 19
1
FastCGI: comm with (dynamic) server ...../dispatch.fcgi aborted: (first read) idle timeout (30 sec)
Hello, I just did a "gem update" on my server updating to the latest version. After this none of my scripts work. In apache error log I get: FastCGI: comm with (dynamic) server "/home/user/public_html/dispatch.fcgi" aborted: (first read) idle timeout (30 sec) My only guess is that the problem is related to the fastCGI binding but I have no idea what to look for. I
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 Aug 05
0
Rails requests return dispatch.cgi (or .fcgi) file contents
I''m running Apache2 with CGI and FastCGI alternatively. I''ve had a problem that I haven''t been able to find more than a single reference to online. When my .htaccess file has the CGI rewrite rule in effect, my Rails app works. When I change to FastCGI, all I get for Rails requests is the contents of the dispatch.fcgi file. Thinking I may have screwed something up
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
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 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 Feb 28
2
dispatch.fcgi aborted: error parsing headers
I''m trying to do file upload with rails and fcgi. Basically, i want my users to be able to upload images on the server. After the upload, I get a 500 error from apache and in the error log I find this: FastCGI: comm with server "/var/www/workspace/mydomain/public/dispatch.fcgi" aborted: error parsing headers: malformed header
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
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 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