similar to: Can''t quite get fcgid working

Displaying 20 results from an estimated 4000 matches similar to: "Can''t quite get fcgid working"

2006 May 08
5
Ruby on Rails on Linux - Any suggestions/Help?
Hi, I''m really new to RoR and I''m trying to setup a development or even production server for Ruby on Rails. I''m trying to do it on Linux Debian, but somehow, I always get this Error: Application Error - Rails application failed to start properly This was running on Debian Linux, Apache2, Mysql and FastCGI. The Tutorial I used:
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting my rails app up and running on apache2+fcgid. Webrick runs, but dispatch.fcgi never actually runs, and apache spits out a grusome "Premature end of script headers: dispatch.cgi" error message in the log. Mr. Cheetham describes his problem at http://www.archivesat.com/Typo_blogging_engine/thread164398.htm I
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel and apache and I looked into lighttpd and fastcgi and found both to be too time consuming and not well enough documented for what I''m doing. My question is, how do I set up apache and fcgid to actually work? I got apache installed. I think I got fcgid installed (I read somewhere all I have to do is move the
2006 Feb 12
1
fcgid -> errors
Hi, I''m trying to get rails running on Debian stable with Apache 2, mod_fcgid, Rails 1.0. The application works fine with webrick (*). Let''s start here: @eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi Status: 500 Internal Server Error Seems to result in the following in the log files: [12/Feb/2006:12:18:40 :: 4105] starting [12/Feb/2006:12:18:40 :: 4105] terminated
2006 Mar 06
4
Apache 2.x: Use fcgid or Mongrel?
Hi, There''s lots of stuff going on currently with choices of production deployment environments. But I''m not clear on a few things as I need to decide on a production setup where Apache is a given. A recent thread (http://www.ruby-forum.com/topic/56590) seemed to favor Apache 2 with mod_fcgid. And this is supported in articles such as:
2006 May 07
0
apache/lighttpd or apache with fcgid
I am trying to determine (from people''s experience here) if there is a benefit to proxying apache -> lighttpd -> rails instead of just using apache mod_fcgid -> rails. I am having some concerns of the stability of the fcgid apache modules as well as the incredibly painful first connect issue with apache mod_fcgid. Is the lighttpd fcgi more stable and mature than apache ? Is
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi, I just installed mod_fcgid on my apache2 server. When I try to load my application I get an "Application error - Rails application failed ..." message. In my Apache2 error-log it says: Premature end of script headers dispatch.fcgi mod_fcgid process /data/www/app/dispacth.fcgi exit (communication error), terminated by calling exit(), return code 1 Any help with this would be
2006 Mar 24
0
fcgid woes
hi there, I''m running rails on apache2 with mod_fcgid which works, but I''m having trouble with environments adn separate dev & prodution vhosts. I have DefaultInitEnv set in the VirtualHost directive for each (as production | development), which works fine after a server restart for whichever vhost I hit first, but thereafter the RAILS_ENV seems to be locked into one
2006 Apr 21
28
Ruby, Rails & Linux - Which distro ??
Hi, I''ve been doing most of my initial playing with rails on a windows system - but wish to switch to a dedicated linux box for this. Are there any particular distro''s to avoid / recommend. I prefer debian for my other stuff, but thought i''d ask before going ahead. :) Cheers -- Posted via http://www.ruby-forum.com/.
2006 Aug 31
2
How to set RAILS_ENV for different directories (fcgid)
Hello! I want to use the same application in two environments (production and development) on the same server (apache2 with fcgid) in different (aliased) directories. Is there a way to specify RAILS_ENV inside my <Directory> directives? I have the line DefaultInitEnv RAILS_ENV production in my httpd.conf but I want one of the directories to be development. Setting the ENV var directly in
2006 Jan 31
0
Apache2+fcgid = "malformed header from script" when page starts with a space
I was getting some "application failed to start properly" pages, but production.log was not showing anything. Looking closer I''ve noticed that server_error.log (the apache log) was giving lines like: "malformed header from script. Bad header=<html>: dispatch.fcgi, referer:" I was able to determine the cause, and that was that some pages were starting with a space
2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There, Every now and then, and recently more and more we get a "503 server temporarily unavailable" error from our rails app. We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian The thing is I don''t think we have such a heavy load on the server, and I haven''t seen this error occur at all outside the rails app. In fact I don''t think I ever
2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup: I have an action that will crash my debian sarge development box using fcgid, fastcgi and scgi running with Apache2, as well as fastcgi running with lighttpd, every time. Here is the action from the controller: ------------------- def crashme @orders = Order.find(:all, :order => "`id` ASC", :offset
2008 Apr 15
4
Version Control (and gems)
1. Full version control of a web app would include the constellation of gems actually used. I can do ''gem list'' and put that into a file in version control but that could include unused gems. That is, it could include gems use by other projects. And putting the whole gem in version control seem like overkill since the authors do that. But it might be safer. Do we have a
2009 Sep 09
5
Newbie question: undefined method 'number_with_delimiter'(probably configuration problem)
Hi all: i am using gem to insall rails 2.3.3 and using $rails myapp to generate my application, but strangely i can''t use the number_helper below is my env: export RUBY_HOME=$HOME/ruby export GEM_HOME=$HOME/gems export RUBYLIB=$RUBY_HOME/lib:$RUBY_HOME/lib/ruby:$RUBY_HOME/lib/ site_ruby/1.8 export PATH=$HOME/gems/bin:$HOME/ruby/bin: and: $ locate number_helper.rb
2007 May 17
3
Ubuntu rails server
Hello, I try to install on my ubuntu ruby on rails server. I have install ruby,rails,gem and all files but doesn''t work. When i run the server with webrick works perfect but when i use apache i get this message: We''re sorry, but something went wrong. We''ve been notified about this issue and we''ll take a look at it shortly. Here are my installed app versions:
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX. BY THE FOLLOWING WAYl: Install FastCGI 1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz 2. gunzip fcgi-2.4.0.tar.gz 3. tar -xvf fcgi-2.4.0.tar 4. cd fcgi-2.4.0 5. ./configure 6. make 7. make install 8. cd ../ Install mod_fcgid 1. cd ~ 2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz 3. gunzip
2006 Mar 23
1
mod_fcgid
Hello, I''m using rails on apache2 with mod_fcgid and I can''t seem to set the RAILS_ENV properly. I have dev & production vhosts and would like to set the environment from within apache rather than globally via fcgid.conf, and I thought this might work from within the relevant vhost: DefaultInitEnv RAILS_ENV production but it seems to do nothing... Does anyone know the
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when I try to restart Unicorn I get the following error. /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems /core_ext/kernel_require.rb:45:in
2006 Feb 19
8
uninitialized constant RailsFCGIHandler
Hello, I''m trying to switch to FastCGI. With CGI everything works, but after have done all the steps of the wiki here (http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntuDebianTestingAndUnstable) My application started to give me "Error 500" Looking at the Apache logs I can see : [notice] mod_fcgid: server /rails/public/dispatch.fcgi(6127) started