[Mongrel] mongrel_rails start working mongrel_rails cluster::start not working

Bill Siggelkow bsiggelkow at mac.com
Mon Jul 16 08:11:15 EDT 2007


Two things I would check:

1) Make sure you that you are not missing any gems that your  
application uses;
2) Check to see if your application will run under webrick

Bill Siggelkow
bsiggelkow at mac.com
AIM: siggelkowb
Home: 770-457-8854
Mobile: 770-354-2584


On Jul 16, 2007, at 12:31 AM, Mehdi Adda wrote:

> 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 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/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: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
>
>
> My 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.27
>
>
> Can anyone give help me to get this out  ?
>
> Thanks a lot in advance
>
>
> Addame
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070716/374cc092/attachment.html 


More information about the Mongrel-users mailing list