Displaying 20 results from an estimated 2000 matches similar to: "I can''t get mod_fcgid to work"
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 Aug 15
2
Apache & FCGI: Premature end of script headers:
Hi,
I have quite a problem right now. After finish of development I
installed rails with fcgi and apache on my production env. Everything
seems to be configured ok, but once I while I get the famous error
message:
" Premature end of script headers: dispatch.fcgi"
I cant see any generel configuration problem, as sometimes everything is
running fine.
Maybe it is a problem related to
2006 May 23
12
Mod_fcgid question: is this normal?
I installed mod_fcgid yesterday. It works great for my Rails
app. But in my fastcgi.crash.log is constantly get this output:
[23/May/2006:08:12:07 :: 29040] starting
[23/May/2006:08:18:48 :: 29040] asked to terminate immediately
[23/May/2006:08:18:48 :: 29040] terminated by explicit exit
[23/May/2006:08:22:03 :: 29391] starting
It also shows up in the Apache error log. Is this normal? Or
should I
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf:
FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env
RAILS_ENV=prod
uction -processes 5 -idle-timeout 60
<virtualhost 212.87.142.234:80>
ServerName www.gissmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production
2006 Sep 19
9
RoR with apache2 on SuSE
Hi,
I have an application completed that was built with RoR on windows. So
this of course was tested with the webbrick server. I now want to put
the project on our apache web server for production. I am having a very
hard time getting this accomplished. I followed some of the steps here
(because not all of them worked):
2006 Jun 16
12
FastCGI times out?
Hello there,
So I''m still struggling with this fastcgi stuff. I''m trying to upload and
process a decent sized ZIP file, but the request dies before it finishes and
I get the following error:
FastCGI: comm with (dynamic) server
"/Users/ryan/Workspace/rails/photos/public/dispatch.fcgi" aborted: (first
read) idle timeout (30 sec), referer: http://photos/album/new/4
2006 Aug 06
19
Rails *that* slow?
I''m working on my first little rails-application. It''s a rewrite of a
gallery-script i once made (in PHP): http://notdotnet.net
However - my rails-version is waaay to slow :(
http://r.notdotnet.net/
I don''t do any heavy image-processing, I don''t have any
killer-algorithms with a time complexity on O(n^n), and I don''t use any
major hacks.
The only
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 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
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people,
I''m working on this issue for more than 4 hours now and I have no idea
what''s wrong so I ask you kindly to have a look at my stuff.
When I try to access my website I get this error:
Application error
Rails application failed to start properly
error.log says:
[Wed Jul 23 17:51:22 2008] [error] Premature end of script headers:
dispatch.fcgi
I tried to run
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 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 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
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
Hi,
Environment: Solaris 10, Orale 10g, Apache 2.2, Ruby 1.8.4, Rails
1.2.3, Ruby OCI8 1.0.0-rc2
As soon as I compiled and installed the Ruby/OCI8 interface, I got the
following error from my application:
=========================
[notice] mod_fcgid: call /export/home/invido/invido/portal2/public/
dispatch.fcgi with wrapper /usr/local/bin/ruby /export/home/invido/
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
2009 Sep 30
17
Apache2.2 + what to get Rails
Me: not experienced with Rails or Ruby,
Problem: Ubuntu 9.04 server in my shop ...couldn''t get Apache2.2 +
Passenger + Rails to work for Redmine. (No answer at Redmine list and
I don''t think its their problem anyway). Also couldn''t get Apache2.2
and just Rails to work, though some people said it would. Webrick
works.
Goal: run Redmine on a server that also runs PHP
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
I have a running Rails application that uploads files back to the
server occasionally. I recently switched my development machine from a
Linux box to OS X 10.5, using the Apache server built-in on OS X and
mod_fcgid. I thought everything was fine until I recently tried to use
the file upload feature. If I specify a reasonable sized (164 Kb) file
for upload then I get an immediate error, before my
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
2005 Dec 28
1
Can''t quite get fcgid working
I''m having trouble with running my app under fcgid. I am getting errors in
my Apache log. It seems that it is choking on the gems replacement for
require. The relevant lines from /var/log/apache2/error.log:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError)
from
2006 Jun 18
2
Hosting multiple Rails applications with Mongrel
Hi,
I run a small web hosting company. We host a few Rails applications using
Apache 2.2 and mod_fcgid.
I have been experimenting with Mongrel and mod_proxy. But I can''t seem to
figure out how to host multiple
Rails - apps with mongrel. Do I have to start a new Mongrel process for
every virtual host on a different port?
Any help would be great.
MJ
-------------- next part --------------