Displaying 20 results from an estimated 6000 matches similar to: "Production deployment on Dreamhost?"
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 Mar 06
5
Dreamhost subscription?
I''m thinking about signing up with DreamHost for the base Level 1 $9.95
plan. Does anyone think that''s a bad idea?
I''d like to know others thoughts, and who they recommend for RoR
hosting?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
Sorry to trouble the list with another Dreamhost problem, but looking
through the archives I see nothing that can solve my problem.
I have installed my app as per
http://wiki.dreamhost.com/index.php/Ruby_on_Rails#Quick_Start_Guide_August_2006
with a symbolic link from my_domain.tld in ~/ to
~/apps/residence/public/
I get the Rails welcome screen. I have uploaded my app directory etc,
and
2006 Jan 13
4
FastCGI processes sometimes ''hang''
I am running a RoR application on Apache 1.3/RedHat 7.3/MySQL 3.1.23
(Old versions I know, but upgrading to latest versions are not practical
for a number of reasons). There are 5 RoR FastCGI processes configured
using FastCgiServer.
What I am finding is that, after a while, some of the FastCGI processes
seem to ''hang''. They no longer process requests, and the only way to
2006 Feb 13
4
Problems deploying in Dreamhost
I am trying to deploy a Rails application on Dreamhost. My application
works just fine in my laptop using WEBrick. The problem that I have is
that I currently have my website in the public folder. I can reference
everything just fine from if it is in the public folder, but if I click
in a link that is an actual controller/action I get an error that the
file does not exist. I followed all
2006 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems.
The app is running with edge rails and I''m currently getting the dreaded
''Rails application failed to start'' white screen when trying to access it.
I''ve gone through all the ''gotchas'' and troubleshooting docs at
Dreamhost and the rails wiki to no avail.
2006 Feb 06
2
ROR Production issue
Currently I am not getting much traffic on my site, when I visit my site
after a long interval I get the dreaded "Rails application error" in
Mozilla/ "Internal server error" in IE.Once I click refresh then the site
comes to life. My guess is this is due to the fact that all FCGI process
have died and there are no active listeners.
Has anyone else experienced this issue. How
2007 Mar 29
1
How to restart server programmatically?
I need to be able to restart my server based on a specific database change.
I''ve been trying a call to system("script/process/reaper -a graceful -d
dispatch.fcgi") but that raises a transaction error which rolls back the
save. I wasn''t aware that after_save would rollback. That''s potentially
useful but pretty much not right now. Here''s my code:
def
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your
application''s environment" on the Rails Welcome page, it simply prints
out the dispatch.fcgi script as shown below. I would appreciate any help
I can get on this. I can provide other infomation if necessary.
#!/usr/local/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
#
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first
step to take to see what the issue is here?
I have no errors in the rails app''s log files. The only errors I have
are those provided by apache and they are:
''FastCGI: Incomplete headers (0) bytes received from server''
I''ve tried editing the shebang line, removing line feeds, but
2006 Jul 05
5
How do I reset rails in production mode on DreamHost?
Hello!
I am testing rails on DreamHost.
I believe it''s running on apache.
In development mode, it ran very slowly.
So I changed it into production mode and switched to fcgi.
It''s very fast now.
But the problem is that if I add actions to a controller, it''s not
applied.
I know that in production mode, I need to restart web server.
But I don''t control the web
2006 Feb 09
2
Manually running dispatch.fcgi fails
I''m a newbie trying to setup lighttpd. It is failing with error 500.
I tried running dispatch.fcgi by hand and I''m getting:
# ./dispatch.fcgi
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing'': uninitialized constant RailsFCGIHandler (NameError)
from ./dispatch.fcgi:24
Not sure how to proceed from here.
2006 Jan 31
2
lightpd / fcgi / RoR setup
Hi,
I''m running RoR and have set it up more or less like described in the
wiki (for instance here
http://wiki.rubyonrails.org/rails/pages/LighttpdWithProcessScripts).
I can start the fcgi listener and see that ports 7000-7004 are
listening. I can start lighttpd, and try to connect to the server. I
can restart the default.fcgi listening scripts that i see in "ps ax |
grep
2006 Mar 04
4
managing number of dispatch.fcgi processes ?
I have a problem where when I try and access my site a dispatch.fcgi
process is started but then exits right after the page has loaded.
Requireing it to start all over agin the next time a request is made.
I''ve read about people using two or more FCGI processes to help with the
request load but how do people do this?
Firstly, how do you make a FCGI process persistant? I''m
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 Apr 19
7
Setup problem
I am trying to set up rails and am have problems. I have googled
everything I could think of, but have not found my problem. Here are my
specs.
Gentoo Linux 2006.0
Apache 2.2
Ruby 1.8.4
Gems 1.8
Rails 1.1.2
mod_fcgid 1.08
When I try to access my test rails app through the webserver, I get the
following error in the error.log (after seeing a html 500 error on the
page).
[Fri Apr 14
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
2007 Apr 09
1
Problem on Dreamhost: engine for rails 1.1.6
Hi,
I''m trying to set up Substruct (shopping cart engine) on Dreamhost.
I failed several times and tracked down to the problem area.
I can reproduce the problem with these steps:
1. install rails
2. change public/.htaccess for fcgi
3. change public/dispatch.fcgi for RailsFCGIHandler
At this step, I can execute public/dispatch.fcgi without error.
4. svn co
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
2006 Feb 14
9
Deploying in Dreamhost
What pain. I am ready to switch hosts. I have this app in Dreamhost
where I load the static pages just fine. The location of my rails app
is /home/username/webaddress.com Under that resides the app/, public/
and so on. Like I said I can see my static pages that I have under
public since I have in the Managed host panel the following:
Web Directory: /home/username/[ webaddress.com/public