<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Deploying Ruby on Rails on Ubuntu Feisty Fawn via Mongrel Cluster and Apache</title>
	<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/</link>
	<description>Ruby and Ruby on Rails Development</description>
	<pubDate>Mon, 13 Oct 2008 13:49:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: ryanm</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-1648</link>
		<dc:creator>ryanm</dc:creator>
		<pubDate>Mon, 13 Oct 2008 04:27:09 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-1648</guid>
		<description>In case anyone else comes across this.. The command to create the cluster config file is missing the -c option which tells the cluster where the app is located. 

should be something like this:

mongrel_rails cluster::configure -p 8000 -N 3 -c /var/www/my_rails_app

Otherwise, how is the mongrel_cluster script supposed to know where the app is?  Maybe the options were different at the time this was written up?</description>
		<content:encoded><![CDATA[<p>In case anyone else comes across this.. The command to create the cluster config file is missing the -c option which tells the cluster where the app is located. </p>
<p>should be something like this:</p>
<p>mongrel_rails cluster::configure -p 8000 -N 3 -c /var/www/my_rails_app</p>
<p>Otherwise, how is the mongrel_cluster script supposed to know where the app is?  Maybe the options were different at the time this was written up?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Remington D.</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-662</link>
		<dc:creator>Remington D.</dc:creator>
		<pubDate>Tue, 26 Feb 2008 05:16:37 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-662</guid>
		<description>I'm sorry, you seem to have mistaken me for someone who cares.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, you seem to have mistaken me for someone who cares.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ani</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-529</link>
		<dc:creator>Ani</dc:creator>
		<pubDate>Tue, 15 Jan 2008 13:50:28 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-529</guid>
		<description>Ok i've got a noobish question (if anybody still visits this place)

What if I want to run multiple application with load-balancer. How can I make a seperate entry for a new application and make sure it gets a new load-balancer so it doesnt end up proxy-ing it to an other application.</description>
		<content:encoded><![CDATA[<p>Ok i&#8217;ve got a noobish question (if anybody still visits this place)</p>
<p>What if I want to run multiple application with load-balancer. How can I make a seperate entry for a new application and make sure it gets a new load-balancer so it doesnt end up proxy-ing it to an other application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alfredo</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-288</link>
		<dc:creator>alfredo</dc:creator>
		<pubDate>Tue, 09 Oct 2007 20:26:25 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-288</guid>
		<description>A word of note: Ruby 1.8.5 doesnt work with mongrel_cluster 1.0.2 

you need to install manually (not apt-get) the 1.8.6 version</description>
		<content:encoded><![CDATA[<p>A word of note: Ruby 1.8.5 doesnt work with mongrel_cluster 1.0.2 </p>
<p>you need to install manually (not apt-get) the 1.8.6 version</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jereme</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-219</link>
		<dc:creator>Jereme</dc:creator>
		<pubDate>Wed, 12 Sep 2007 00:03:22 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-219</guid>
		<description>I'm running into a problem with the Apache2 setup. Every time I try and access the site I receive a "404 Not Found" page. I'm guessing the rewrite rules are not in effect, but have no clue how to make them work properly.

Any help is much appreciated!</description>
		<content:encoded><![CDATA[<p>I&#8217;m running into a problem with the Apache2 setup. Every time I try and access the site I receive a &#8220;404 Not Found&#8221; page. I&#8217;m guessing the rewrite rules are not in effect, but have no clue how to make them work properly.</p>
<p>Any help is much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-187</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Wed, 15 Aug 2007 17:54:15 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-187</guid>
		<description>I figured it out: there is a typo in this command:

mongrel_rails cluster::configure -p 8000 -n 3

The -n option is case sensitive. Use -N to set the number of servers. -n sets number of threads.</description>
		<content:encoded><![CDATA[<p>I figured it out: there is a typo in this command:</p>
<p>mongrel_rails cluster::configure -p 8000 -n 3</p>
<p>The -n option is case sensitive. Use -N to set the number of servers. -n sets number of threads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-186</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Wed, 15 Aug 2007 17:49:53 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-186</guid>
		<description>When I start my cluster as you describe, I only get responses on ports 8000 and 8001, not 8002 for some reason.</description>
		<content:encoded><![CDATA[<p>When I start my cluster as you describe, I only get responses on ports 8000 and 8001, not 8002 for some reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: addame</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-123</link>
		<dc:creator>addame</dc:creator>
		<pubDate>Sun, 15 Jul 2007 20:07:47 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-123</guid>
		<description>Hi! 
Thanks a lot for this very instructive tutorial ! it helps me to get my small application up !

The only problem is when I tried to lunch mongrel_cluster, where I have problem. 
In fact the mongrel_rails  start -e production is working fine. However mongrel_rails cluster::start is not working. The log I get the following output :

starting port 8000
starting port 8001
starting port 8002

But when I lunched the browser to the application url and port 8000 for
example, the mongrels seems not working.

I looked at the log file and get for the first mongrel instance :

** Daemonized, any open files are closed.  Look at tmp/mongrel.8000.pid
and log/mongrel.8000.log for info.
** Starting Mongrel listening at 0.0.0.0:8000
** Changing group to mongrel.
** Changing user to mongrel.
** Starting Rails with production environment...
** Mounting Rails at /home/rails/projects/myapps...
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in
`gem_original_require': no such file to load --
/home/rails/projects/jokes/config/environment (LoadError)
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in
`require'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:157:in
`rails'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:116:in
`cloaker_'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:138:in
`call'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:138:in
`listener'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:98:in
`cloaker_'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in
`call'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in
`initialize'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:in `new'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:in `run'
    from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in
`run'
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:248
    from /usr/bin/mongrel_rails:16:in `load'
    from /usr/bin/mongrel_rails:16

It's the same thing for the two other instances.

My mongrel cluster configuration is as follows :

user: mongrel
group: mongrel
cwd: /home/rails/projects/myapps
log_file: log/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file: tmp/mongrel.pid
servers: 3



Do you have any idea of this problem ?

Thanks in advance !!

Addam</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Thanks a lot for this very instructive tutorial ! it helps me to get my small application up !</p>
<p>The only problem is when I tried to lunch mongrel_cluster, where I have problem.<br />
In fact the mongrel_rails  start -e production is working fine. However mongrel_rails cluster::start is not working. The log I get the following output :</p>
<p>starting port 8000<br />
starting port 8001<br />
starting port 8002</p>
<p>But when I lunched the browser to the application url and port 8000 for<br />
example, the mongrels seems not working.</p>
<p>I looked at the log file and get for the first mongrel instance :</p>
<p>** Daemonized, any open files are closed.  Look at tmp/mongrel.8000.pid<br />
and log/mongrel.8000.log for info.<br />
** Starting Mongrel listening at 0.0.0.0:8000<br />
** Changing group to mongrel.<br />
** Changing user to mongrel.<br />
** Starting Rails with production environment&#8230;<br />
** Mounting Rails at /home/rails/projects/myapps&#8230;<br />
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in<br />
`gem_original_require&#8217;: no such file to load &#8211;<br />
/home/rails/projects/jokes/config/environment (LoadError)<br />
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in<br />
`require&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:157:in<br />
`rails&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:116:in<br />
`cloaker_&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:138:in<br />
`call&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:138:in<br />
`listener&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:98:in<br />
`cloaker_&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in<br />
`call&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in<br />
`initialize&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:in `new&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:in `run&#8217;<br />
    from<br />
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in<br />
`run&#8217;<br />
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:248<br />
    from /usr/bin/mongrel_rails:16:in `load&#8217;<br />
    from /usr/bin/mongrel_rails:16</p>
<p>It&#8217;s the same thing for the two other instances.</p>
<p>My mongrel cluster configuration is as follows :</p>
<p>user: mongrel<br />
group: mongrel<br />
cwd: /home/rails/projects/myapps<br />
log_file: log/mongrel.log<br />
port: &#8220;8000&#8243;<br />
environment: production<br />
address: 127.0.0.1<br />
pid_file: tmp/mongrel.pid<br />
servers: 3</p>
<p>Do you have any idea of this problem ?</p>
<p>Thanks in advance !!</p>
<p>Addam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter retief</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-92</link>
		<dc:creator>peter retief</dc:creator>
		<pubDate>Mon, 02 Jul 2007 07:44:33 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-92</guid>
		<description>I did the "Start Mongrel Cluster on Boot" a bit different - see link

http://pieter-mantis.blogspot.com/2007/07/start-mongrel-cluster-on-boot-ubuntu.html</description>
		<content:encoded><![CDATA[<p>I did the &#8220;Start Mongrel Cluster on Boot&#8221; a bit different - see link</p>
<p><a href="http://pieter-mantis.blogspot.com/2007/07/start-mongrel-cluster-on-boot-ubuntu.html" rel="nofollow">http://pieter-mantis.blogspot.com/2007/07/start-mongrel-cluster-on-boot-ubuntu.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter retief</title>
		<link>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-91</link>
		<dc:creator>peter retief</dc:creator>
		<pubDate>Mon, 02 Jul 2007 07:41:52 +0000</pubDate>
		<guid>http://rails.aizatto.com/2007/05/20/deploying-ruby-on-rails-on-ubuntu-feisty-fawn-via-mongrel-cluster-and-apache/#comment-91</guid>
		<description>I did the "Start Mongrel Cluster on Boot" a bit different - see link</description>
		<content:encoded><![CDATA[<p>I did the &#8220;Start Mongrel Cluster on Boot&#8221; a bit different - see link</p>
]]></content:encoded>
	</item>
</channel>
</rss>
