Google Groups

Internal server error after installation


maro Jul 10, 2012 3:56 PM
Posted in group: jobsworth
Hi,

first. grats to this nice projectplanning tool!

But i have a problem when installing it on my own server.

I've installed the software from github master on fresh ubuntu 12.10 according your readme. But i skipped Step 8 and 9, because i don't have a mail server.
I've completed installation without any errors.
In ubuntu the user "www-data" will start apache. i don't know how to open a bash as user "www-data", thats why i changed apache startup to my login account. after this, i used my login account to install jobsworth.


i got the following server error when accessing the site:

Passenger encountered the following error:

The application spawner server exited unexpectedly: Unexpected end-of-file detected.

Exception class:
PhusionPassenger::Rack::ApplicationSpawner::Error

Backtrace:
# File Line Location
0 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/rack/application_spawner.rb 135 in `rescue in start'
1 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/rack/application_spawner.rb 130 in `start'
2 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 253 in `block (2 levels) in spawn_rack_application'
3 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server_collection.rb 132 in `lookup_or_add'
4 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 246 in `block in spawn_rack_application'
5 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server_collection.rb 82 in `block in synchronize'
6
prelude> 10:in `synchronize'
7 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
8 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 244 in `spawn_rack_application'
9 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 137 in `spawn_application'
10 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 275 in `handle_spawn_application'
11 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server.rb 357 in `server_main_loop'
12 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server.rb 206 in `start_synchronously'
13 /usr/local/rvm/gems/ruby-1.9.2-p320/gems/passenger-3.0.13/helper-scripts/passenger-spawn-server 99 in `'


This is error.log from apache:
[Tue Jul 10 15:26:05 2012] [notice] caught SIGTERM, shutting down
[Tue Jul 10 15:26:06 2012] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/3.0.13 configured -- resuming normal operations
Passenger ApplicationSpawner: /usr/local/www/jobsworth: symbol lookup error: /usr/local/www/jobsworth/vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.11/lib/mysql2/mysql2.so: undefined symbol: rb_wait_for_single_fd

Do you have any tip, how to solve this problem?
thanks a lot!