similar to: Re: "Rails application failed to start properly" happens on Apache 2 + fcgi

Displaying 20 results from an estimated 20000 matches similar to: "Re: "Rails application failed to start properly" happens on Apache 2 + fcgi"

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 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
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 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
2005 Oct 11
0
Re: stylesheets directory unavailable in Apache but notWebrick
If I switch from fcgi to the cgi dispatcher the stylesheets work? Anyone have any ideas? Thanks in advance, Scott Thanks, Scott Caldwell Database Administrator City of Fayetteville 113 W Mountain St Fayetteville, AR 72701 (479) 575-8329 phone (479) 575-8316 fax http://www.accessfayetteville.org/ http://www.faygis.org/ >>>
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ... I have been porting my app from dev environment on Webrick to Apache with FastCGI. I have the app responding and pulling up the data, but it is ignoring the "images", "stylesheets", "javascripts" directories located in the public directory. I''m running Apache under Suse Linux 9.x. Here is the information that I have in my vhosts.conf file:
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)
2005 Aug 10
6
Hieraki + FCGI + Problem
Hi, I''ve downloaded the latest stabil Hieraki. I have ruby 1.8.2 (2004-12-25) [i686-linux], the latest rails (and gems, too), Apache/1.3.33 (Unix) and mod_fastcgi/mod_fastcgi-SNAP-0404142202. I''m successfully running Typo (from SVN) as a FastCGI application. Hieraki works well with "script/server", and works well as a .cgi (just very slow). My problem is, that
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 22
9
Again on Apache 2
Hello everybody. I know, I know, another post about Apache 2, but I have looked a lot on the internet and I haven''t found the answer to my problem. I have a Linux Fedora Core 5 box, with Apache 2.2.2 (compiled and installed), Ruby 1.8.4 (compiled and installed), RubyGems 0.8.11 (compiled and installed) and Rails... I don''t know what version as this one I haven installed
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 Jan 03
2
Apache FCGI and rails image issues help
Hi guys i am usin apache and the fcgi but it cannot see images? i have no idea why i need to leave them outside the public folder and to access the app i use localhost/public/app this is the only way i can c the image other wise its a routin error any ideaS? Its sounds like a rooting error i agree no prob this is my apache config as in the vhost <VirtualHost *> ServerName rails
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR. OS: FreeBSD 5.4 Apache: 2.0.55 FastCGI: 2.4.2 ###### I compiled a new mod_fastcgi.so and copied it to /usr/lib/apache/mod_fastcgi.so ###### My httpd.conf looks like this: LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi </IfModule> ###### The testscript
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
2005 Mar 01
3
problems with apache
Hi all I''m currently running rails on apache/windows and it seems like rails has trouble getting started the first few times I start apache and request a page. I created a blank controller called ''test'', and it has an index method and associated index.rhtml file. (All it contains is <p>hello world</p>) I keep getting ''500 server
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
2005 Sep 22
2
production environment
So I''m getting ready to setup a production environment on my boxen (running Fedora Core 3), what are my options? I''ve seen a number of posts about FastCGI, SCGI, etc. and am completely lost as to what I should be setting up on my box (that I hopefully won''t have to touch for a while). I need to run Collaboa, Typo and probably 3 or 4 other apps on this, so
2006 Mar 13
9
apache 1 fastcgi config correct???
I followed this tutorial on the rails wiki about how to get apache with fastcgi working on a vps machine: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel In the tutorial it said to add this to the httpd.conf file to get fastcgi working. <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi </IfModule> However
2006 Feb 24
2
Help with the configuration of apache and fcgi
Hi Everyone, I am sure this question has been asked many time before but I really could not get a good solution. The problem I am having is that the application I wrote is acting very slow. For example for the production database, the query I make takes about 3-4 minutes. The application connects to 2 oracle databases(on a remote location) and gets information based on a given search criteria.It