Newbie Alert: RoR on Passenger issue

View: New views
8 Messages — Rating Filter:   Alert me  

Newbie Alert: RoR on Passenger issue

by Saurabh Agrawal-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Just finished installing RoR on my brand new linode Ubuntu 9.04 VPS using following guides:

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::Error
Backtrace:

#FileLineLocation
0/usr/lib/ruby/1.8/passenger/railz/application_spawner.rb 182in `start'
1/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb 270in `handle_spawn_application'
2/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb 263in `synchronize'
3/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb 263in `handle_spawn_application'
4/usr/lib/ruby/1.8/passenger/abstract_server.rb 317in `__send__'
5/usr/lib/ruby/1.8/passenger/abstract_server.rb 317in `main_loop'
6/usr/lib/ruby/1.8/passenger/abstract_server.rb 168in `start_synchronously'
7/usr/lib/ruby/1.8/passenger/abstract_server.rb 135in `start'
8/usr/lib/ruby/1.8/passenger/abstract_server.rb 112in `fork'
9/usr/lib/ruby/1.8/passenger/abstract_server.rb 112in `start'
10/usr/lib/ruby/1.8/passenger/railz/framework_spawner.rb 87in `start'
11/usr/lib/ruby/1.8/passenger/spawn_manager.rb 218in `spawn_rails_application'
12/usr/lib/ruby/1.8/passenger/spawn_manager.rb 213in `synchronize'
13/usr/lib/ruby/1.8/passenger/spawn_manager.rb 213in `spawn_rails_application'
14/usr/lib/ruby/1.8/passenger/spawn_manager.rb 122in `spawn_application'
15/usr/lib/ruby/1.8/passenger/spawn_manager.rb 247in `handle_spawn_application'
16/usr/lib/ruby/1.8/passenger/abstract_server.rb 317in `__send__'
17/usr/lib/ruby/1.8/passenger/abstract_server.rb 317in `main_loop'
18/usr/lib/ruby/1.8/passenger/abstract_server.rb 168in `start_synchronously'
19/usr/lib/passenger/passenger-spawn-server 46
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Newbie Alert: RoR on Passenger issue

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Newbie Alert: RoR on Passenger issue

by jhaagmans :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Newbie Alert: RoR on Passenger issue

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


jhaagmans wrote:
> 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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Newbie Alert: RoR on Passenger issue

by jhaagmans :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Newbie Alert: RoR on Passenger issue

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


jhaagmans wrote:
> 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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Newbie Alert: RoR on Passenger issue

by jhaagmans :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Newbie Alert: RoR on Passenger issue

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


jhaagmans wrote:
> 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:0xb68ea40c>) (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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---