Dear all,
In the past, I've been successfully using
mongrel_cluster following codahale setup [1].
Now I updated mongrel_cluster through gem to 1.0.2,
and my previosly worked config is not working anymore.
I report below a snip of one of logfile, it seems to
me it is a missing gem problems, but this sounds
strange to me, because my config was ok before the
upgrade.
Does mongrel_cluster 1.0.2 require some additional gem
?
** Daemonized, any open files are closed. Look at
/tmp/mongrel.8101.pid and /tmp/mongrel.8101.log for
info.
** Starting Mongrel listening at 127.0.0.1:8101
** Changing group to mongrel.
** Changing user to mongrel.
** Starting Rails with production environment...
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load --
/var/rails/test/config/environment (LoadError)
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:155:in
`rails'
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:112: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:243
from /usr/bin/mongrel_rails:16:in `load'
from /usr/bin/mongrel_rails:16
[1]
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
____________________________________________________________________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Mongrel + Insert Web Server Here
check the archives...I remember that being mentioned not too long ago.On 7/15/07, Ron Valente <rawn027-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
> wrote:Greg Benedict wrote:> I was using Apache 2.x to Mongrel, but perceptually it just seemed to
> slow. I spent some time to learn nginx and have been very happy with> it. It's much more responsive and has a higher throughput to serve> more pages.>> Greg>> On 7/15/07, Matthew McKnight <
matt.mcknight-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:>>> No issues with Apache 2.2.3. I find Apache to be well documented and>> supported, widely approved, security tested. Vastly better than IIS....
>>>> Matt>>>>>> On 7/14/07, Wayne E. Seguin <wayneeseguin-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:>>>>>>>> On Jul 13, 2007, at 19:32 , Ronald Valente wrote:
>>>>>> Which web server does mongrel fair best with?>>> -Ron>>>>>>>>> In my experience Nginx by a long shot.>>>>>>
>>>>>> -->>> Wayne E. Seguin>>> Sr. Systems Architect & Systems Admin>>> wayneseguin-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>>>
>>>>>>>>>>>> _______________________________________________>>> Mongrel-users mailing list>>> Mongrel-users-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx
>>> http://rubyforge.org/mailman/listinfo/mongrel-users>>>>>>>>>> -->> -Matt McKnight-
>> www.lmnsolutions.com>> _______________________________________________>> Mongrel-users mailing list>>
Mongrel-users-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx>> http://rubyforge.org/mailman/listinfo/mongrel-users>>>>>>>Has anyone had the experience with mongrel on solaris?
-Ron_______________________________________________Mongrel-users mailing listMongrel-users-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx
http://rubyforge.org/mailman/listinfo/mongrel-users-- Kyle Kochis303.501.2335kylekochis-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
http://kylekochis.com
Next Message by Date:
click to view message preview
mongrel_rails start working mongrel_rails cluster::start not working
Hi everybody,I have installed mongrel and mongrel cluster in a
new linux box .... at the end of the day I was able to lunch mongrel
(mongrel_rails start -e production) and all is working fine with.However, when I tried to set a mongrel cluster the command mongrel_rails cluster::start get the following output : starting port 8000starting port 8001
starting port 8002But 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/myapps/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:16It's the same thing for the two other instances. My mongrel cluster configuration is as follows : user: mongrelgroup: mongrelcwd: /home/rails/projects/myapps
log_file: log/mongrel.logport: "8000"environment: productionaddress: 127.0.0.1pid_file: tmp/mongrel.pidservers: 3My server configuration is as follows :
Linux Centos 5
ruby 1.8.6
rubygems 0.9.4
Rails 1.2.3
Mongrel Web Server 1.0.1
mongrel_cluster 1.0.2
nginx version: nginx/0.5.27Can anyone give help me to get this out ? Thanks a lot in advanceAddame
Previous Message by Thread:
click to view message preview
Very basic question about REXML
Hello Everybody,
I have pretty basic question abut REXML. I want to put the String "John doe" in titles array, if attribute name is equal to "93". Please see the code below. I could not find how to do it.. any help would be very appriciated.
Here is the XML i am trying to parse
<entrydata columnnumber="2" name="93"> <text>John doe</text> </entrydata> <entrydata columnnumber="1" name="86"> <numberlist> <number>0</number> <number>0</number> </numberlist> </entrydata>
Code in controll
doc.elements.each('viewentries/viewentry/entrydata') do |ele| if ele.attributes["name"] = "93" titles << // here I like to put <text> value in titles array. end end
Thanks,
Pawan Gupta
-------------------------------------------------------------------------------------
Blog : http://www.xanga.com/pawan79
Park yourself in front of a world of choices in alternative vehicles.Visit the Yahoo! Auto Green Center.
Next Message by Thread:
click to view message preview
mongrel_rails start working mongrel_rails cluster::start not working
Hi everybody,I have installed mongrel and mongrel cluster in a
new linux box .... at the end of the day I was able to lunch mongrel
(mongrel_rails start -e production) and all is working fine with.However, when I tried to set a mongrel cluster the command mongrel_rails cluster::start get the following output : starting port 8000starting port 8001
starting port 8002But 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/myapps/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:16It's the same thing for the two other instances. My mongrel cluster configuration is as follows : user: mongrelgroup: mongrelcwd: /home/rails/projects/myapps
log_file: log/mongrel.logport: "8000"environment: productionaddress: 127.0.0.1pid_file: tmp/mongrel.pidservers: 3My server configuration is as follows :
Linux Centos 5
ruby 1.8.6
rubygems 0.9.4
Rails 1.2.3
Mongrel Web Server 1.0.1
mongrel_cluster 1.0.2
nginx version: nginx/0.5.27Can anyone give help me to get this out ? Thanks a lot in advanceAddame