Project

General

Profile

Error upgrading to passenger 2.2.4

Added by Fernando Sancho over 14 years ago

Hi all. I have Redmine 0.8.4.stable working on Ubuntu 9.0.4 X64. These are my settings.

Ubuntu Server 9.04 X64
Apache 2.2.11
Mysql 5.1.30really5.0.75
Ruby 1.8.7.72
Passenger 2.0.3 (from ppa archive https://launchpad.net/~a.kurtz/+archive/ppa)

These configuration works ok, but i want to upgrade passenger to 2.2.4 version since i want to deploy redmine on a subUri instead of a VirtualHost.

I have downloaded passenger-2.2.4 and debianized it with a diff from https://bugs.launchpad.net/ubuntu/+source/passenger/+bug/382539

The package builds and installs whithout problems but when apache starts i get this error in error.log

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rack/rewindable_input (LoadError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:26
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:34
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/railz/framework_spawner.rb:27
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:150:in `spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:351:in `__send__'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:351:in `main_loop'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:195:in `start_synchronously'
from /usr/lib/phusion_passenger/passenger-spawn-server:61
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rack/rewindable_input (LoadError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:26
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:34
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/railz/framework_spawner.rb:27
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:150:in `spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:351:in `__send__'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:351:in `main_loop'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:195:in `start_synchronously'
from /usr/lib/phusion_passenger/passenger-spawn-server:61
[ pid=13518 file=ext/apache2/Hooks.cpp:688 time=2009-08-27 12:06:04.882 ]:
Unexpected error in mod_passenger: Cannot spawn application '/var/lib/redmine': The spawn server has exited unexpectedly.
Backtrace:
in 'virtual boost::shared_ptr<Passenger::Application::Session> Passenger::ApplicationPoolServer::Client::get(const Passenger::PoolOptions&)' (ApplicationPoolServer.h:471)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:485)


Replies (1)

RE: Error upgrading to passenger 2.2.4 - Added by Alexandre Lissy over 14 years ago

Same here under Debian Lenny. I had to install several debian packages gems to solve this.

Debian packages :
  • ruby-dev
  • libfcgi-dev
Gems :
  • rack
  • test-spec
  • camping
  • fcgi
  • memcache-client
  • mongrel
  • thin

Take care to install debian packages before gems, as they're dependencies.

    (1-1/1)