HighDots Forums  

Newbie Alert: RoR on Passenger issue

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss Newbie Alert: RoR on Passenger issue in the Ruby On Rails Talk forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Saurabh Agrawal
 
Posts: n/a

Default Newbie Alert: RoR on Passenger issue - 10-29-2009 , 01:15 PM






Hi,

Just finished installing RoR on my brand new linode Ubuntu 9.04 VPS using
following guides:
http://library.linode.com/web-frameworks/ruby-on-rails/installing-ruby-on-rails-with-apache
https://help.ubuntu.com/community/RubyOnRails

However, when I click on "About your application's environment" I get
following error:

Passenger encountered the following error:

The application spawner server exited unexpectedly
Exception class:Passenger::Railz::ApplicationSpawner::ErrorB acktrace:
#FileLineLocation0/usr/lib/ruby/1.8/passenger/railz/application_spawner.rb
182in `start'1/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb270in
`handle_spawn_application'2
/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb263in `synchronize'3
/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb263in
`handle_spawn_application'4/usr/lib/ruby/1.8/passenger/abstract_server.rb317in
`__send__'5/usr/lib/ruby/1.8/passenger/abstract_server.rb317in `main_loop'6
/usr/lib/ruby/1.8/passenger/abstract_server.rb168in `start_synchronously'7
/usr/lib/ruby/1.8/passenger/abstract_server.rb135in `start'8
/usr/lib/ruby/1.8/passenger/abstract_server.rb112in `fork'9
/usr/lib/ruby/1.8/passenger/abstract_server.rb112in `start'10
/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb87in `start'11
/usr/lib/ruby/1.8/passenger/spawn_manager.rb218in `spawn_rails_application'
12/usr/lib/ruby/1.8/passenger/spawn_manager.rb213in `synchronize'13
/usr/lib/ruby/1.8/passenger/spawn_manager.rb213in `spawn_rails_application'
14/usr/lib/ruby/1.8/passenger/spawn_manager.rb122in `spawn_application'15
/usr/lib/ruby/1.8/passenger/spawn_manager.rb247in `handle_spawn_application'
16/usr/lib/ruby/1.8/passenger/abstract_server.rb317in `__send__'17
/usr/lib/ruby/1.8/passenger/abstract_server.rb317in `main_loop'18
/usr/lib/ruby/1.8/passenger/abstract_server.rb168in `start_synchronously'19
/usr/lib/passenger/passenger-spawn-server46
Any ideas please?

Thanks for reading.

With regards,
Saurabh Agrawal.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #2  
Old   
Jakub Arnold
 
Posts: n/a

Default Re: Newbie Alert: RoR on Passenger issue - 11-05-2009 , 04:26 PM






I've got absolutely the same problem, but with 9.10, following the same
guide on linode library.
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #3  
Old   
jhaagmans
 
Posts: n/a

Default Re: Newbie Alert: RoR on Passenger issue - 11-05-2009 , 04:52 PM



Did you restart Apache?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #4  
Old   
Jakub Arnold
 
Posts: n/a

Default Re: Newbie Alert: RoR on Passenger issue - 11-05-2009 , 07:22 PM



jhaagmans wrote:
Quote:
Did you restart Apache?
Yep, I even tried restarting the whole server and it didn't help.
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #5  
Old   
jhaagmans
 
Posts: n/a

Default Re: Newbie Alert: RoR on Passenger issue - 11-06-2009 , 07:52 AM



Any gems installed apart from the default ones?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #6  
Old   
Jakub Arnold
 
Posts: n/a

Default Re: Newbie Alert: RoR on Passenger issue - 11-06-2009 , 02:21 PM



jhaagmans wrote:
Quote:
Any gems installed apart from the default ones?
nothing, just followed the guide
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #7  
Old   
jhaagmans
 
Posts: n/a

Default Re: Newbie Alert: RoR on Passenger issue - 11-06-2009 , 02:32 PM



There's no real error in the OP. Are you sure your message states the
exact same? What does the rest of your server setup look like?

I've found similar reports with no real error messages on the net, but
those problems appear to be caused by memory limits and such. Could
that be a problem on your setup?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #8  
Old   
Jakub Arnold
 
Posts: n/a

Default Re: Newbie Alert: RoR on Passenger issue - 11-06-2009 , 08:26 PM



jhaagmans wrote:
Quote:
There's no real error in the OP. Are you sure your message states the
exact same? What does the rest of your server setup look like?

I've found similar reports with no real error messages on the net, but
those problems appear to be caused by memory limits and such. Could
that be a problem on your setup?
Uh now I feel really stupid, it seems that I didn't check the whole log,
it is pretty different

anyway, I have set up virtual machine with 512MB RAM, 8GB HDD and the
only thing that is runnig there is Apache, Mysql and Passenger, so I
guess there is no problem with memory

/usr/lib/ruby/1.8/passenger/application.rb:58:Warning:
Gem::SourceIndex#search support for String patterns is deprecated, use
#find_name
*** Exception NoMethodError in Passenger::Railz::ApplicationSpawner (You
have a nil object when you didn't expect it!
The error occurred while evaluating nil.warn) (process 9718):
from
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/deprecation.rb:17
from
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/deprecation.rb:24:in
`call'
from
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/deprecation.rb:24:in
`warn'
from
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/deprecation.rb:188:in
`warn'
from
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/deprecation.rb:134:in
`method_missing'
from /usr/lib/ruby/1.8/passenger/utils.rb:86:in
`close_all_io_objects_for_fds'
from /usr/lib/ruby/1.8/passenger/utils.rb:85:in `each_object'
from /usr/lib/ruby/1.8/passenger/utils.rb:85:in
`close_all_io_objects_for_fds'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:127:in `start'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:112:in `fork'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:112:in `start'
from /usr/lib/ruby/1.8/passenger/railz/application_spawner.rb:177:in
`start'
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:270:in
`handle_spawn_application'
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:263:in
`synchronize'
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:263:in
`handle_spawn_application'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `__send__'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `main_loop'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:168:in
`start_synchronously'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:135:in `start'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:112:in `fork'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:112:in `start'
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:87:in
`start'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:218:in
`spawn_rails_application'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:213:in `synchronize'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:213:in
`spawn_rails_application'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:122:in
`spawn_application'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:247:in
`handle_spawn_application'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `__send__'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `main_loop'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:168:in
`start_synchronously'
from /usr/lib/passenger/passenger-spawn-server:46
*** Exception NoMethodError in Passenger::Railz::FrameworkSpawner
(undefined method `child_exception' for
#<Passenger::Railz::ApplicationSpawner::Error:0xb6 8ea40c>) (process
9717):
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:274:in
`handle_spawn_application'
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:263:in
`synchronize'
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:263:in
`handle_spawn_application'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `__send__'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `main_loop'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:168:in
`start_synchronously'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:135:in `start'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:112:in `fork'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:112:in `start'
from /usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb:87:in
`start'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:218:in
`spawn_rails_application'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:213:in `synchronize'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:213:in
`spawn_rails_application'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:122:in
`spawn_application'
from /usr/lib/ruby/1.8/passenger/spawn_manager.rb:247:in
`handle_spawn_application'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `__send__'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:317:in `main_loop'
from /usr/lib/ruby/1.8/passenger/abstract_server.rb:168:in
`start_synchronously'
from /usr/lib/passenger/passenger-spawn-server:46
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.