redmine 2.0 not working with mod_passenger
Added by ömer yabuz over 12 years ago
i ve installed redmine 2.0 and migrated redmine 1.3 database. New installation is running with mongrel but cant run using mod_passenger.
Platform : Ubuntu 12.04 , Postgresq 9.0 ,
- Exception LoadError in PhusionPassenger::Railz::ApplicationSpawner (no such file to load -- dispatcher) (process 31019):
from /var/lib/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /var/lib/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /var/lib/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
from /var/lib/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:312:in `preload_application'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:252:in `initialize_server'
from /usr/lib/ruby/1.8/phusion_passenger/utils.rb:255:in `report_app_init_status'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:237:in `initialize_server'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:194:in `start_synchronously'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
from /usr/lib/phusion_passenger/passenger-spawn-server:61
~
i ve install gem dispatcher and error swtiched to this ,
- Exception NameError in application (uninitialized constant ActionController::Dispatcher) (process 31771):
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:405:in `start_request_handler'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
from /usr/lib/phusion_passenger/passenger-spawn-server:61 - Exception Errno::EPIPE in PhusionPassenger::Railz::ApplicationSpawner (Broken pipe) (process 31765):
from /usr/lib/ruby/1.8/phusion_passenger/message_channel.rb:177:in `write'
from /usr/lib/ruby/1.8/phusion_passenger/message_channel.rb:177:in `write'
from /usr/lib/ruby/1.8/phusion_passenger/message_channel.rb:197:in `recv_io'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:370:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
from /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
from /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
from /usr/lib/phusion_passenger/passenger-spawn-server:61
bundle result
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.5)
Using activesupport (3.2.3)
Using builder (3.0.0)
Using activemodel (3.2.3)
Using erubis (2.7.0)
Using journey (1.0.3)
Using rack (1.4.1)
Using rack-cache (1.2)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.1.3)
Using actionpack (3.2.3)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.4)
Using actionmailer (3.2.3)
Using arel (3.0.2)
Using tzinfo (0.3.33)
Using activerecord (3.2.3)
Using activeresource (3.2.3)
Using addressable (2.2.8)
Using nokogiri (1.5.2)
Using ffi (1.0.11)
Using childprocess (0.3.2)
Using libwebsocket (0.1.3)
Using rubyzip (0.9.8)
Using selenium-webdriver (2.21.2)
Using xpath (0.1.4)
Using capybara (1.1.2)
Using cgi_multipart_eof_fix (2.5.0)
Using coderay (1.0.6)
Using diff-lcs (1.1.3)
Using json (1.7.3)
Using gherkin (2.10.0)
Using cucumber (1.2.0)
Using cucumber-rails (1.3.0)
Using daemons (1.1.8)
Using dispatcher (0.0.1)
Using fastercsv (1.5.4)
Using fastthread (1.0.7)
Using gem_plugin (0.2.3)
Using mongrel (1.1.5)
Using mysql (2.8.1)
Using net-ldap (0.3.1)
Using pg (0.13.2)
Using bundler (1.1.3)
Using rack-ssl (1.3.2)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.2.3)
Using rails (3.2.3)
Using prototype-rails (3.2.1)
Using ruby-openid (2.1.8)
Using rack-openid (1.3.1)
Using rmagick (2.13.1)
Using sqlite3 (1.3.6)
Replies (1)
RE: redmine 2.0 not working with mod_passenger
-
Added by ömer yabuz over 12 years ago
Solved :) problem is passenger module .
1) gem install passenger
2) passenger-install-apache2-module
3).1 vi /etc/apache2/mods_enabled/passenger.load
#change module path to :
LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-3.0.12/ext/apache2/mod_passenger.so
.2 vi /etc/apache2/mods_enabled/passenger.conf
#change conf to
PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.12
PassengerRuby /usr/bin/ruby1.8
configuration options provided by passenger-install-command. module path may change by time becouse of version