這是工作只是一天,但我剛剛更新了我的代碼它運行客運2.2.4審查服務器和我的2.3.4軌道應用程序現在無法在該框上啓動。客運錯誤:spawner服務器應用程序意外退出:意外的結束文件中檢測
乘客報告:
Passenger encountered the following error:
The application spawner server exited unexpectedly: Unexpected end-of-file detected.
Exception class:
PhusionPassenger::Railz::ApplicationSpawner::Error
Backtrace:
# File Line Location
0 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb 218 in `start'
1 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb 261 in `spawn_rails_application'
2 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb 126 in `lookup_or_add'
3 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb 255 in `spawn_rails_application'
4 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb 80 in `synchronize'
5 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
6 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb 254 in `spawn_rails_application'
7 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb 153 in `spawn_application'
8 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb 286 in `handle_spawn_application'
9 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb 351 in `__send__'
10 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb 351 in `main_loop'
11 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb 195 in `start_synchronously'
12 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin/passenger-spawn-server 61
任何想法?
感謝您的回答!我有完全相同的問題,你可以想象我從你的提示中保存了多少時間。在我的情況下,我忘了運行「捆綁安裝」。奇怪的是,乘客不會爲這類常見錯誤提供更有意義的錯誤信息。 – 2011-01-04 18:11:09
謝謝,這些必須是一個奇怪的邊緣情況。乘客通常會警告這類問題。這個問題似乎是由Gemfile中沒有安裝到默認位置的gem(例如autotest-growl)引起的。 – jvatic 2011-02-01 19:47:04
Nginx也會出現這種情況。我有一個不同的寶石衝突,但乘客的錯誤信息沒有提供任何線索;在Nginx錯誤日誌中看到這個問題。 – 2011-08-02 18:50:42