Ruby on Rails application could not be started

These are the possible causes:
  • There may be a syntax error in the application's code. Please check for such errors and fix them.
  • A required library may not installed. Please install all libraries that this application requires.
  • The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
  • A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
could not connect to server: No route to host Is the server running on host "10.13.219.4" and accepting TCP/IP connections on port 5432? (PGError)
Exception class:
Passenger::UnknownError
Application root:
/u/apps/opencongress/releases/20080820173008
Backtrace:
# File Line Location
0 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb 814 in `initialize'
1 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb 814 in `connect'
2 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb 814 in `connect'
3 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb 251 in `initialize'
4 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb 37 in `new'
5 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb 37 in `postgresql_connection'
6 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/connection_specification.rb 292 in `send'
7 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/connection_specification.rb 292 in `connection='
8 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/connection_specification.rb 260 in `retrieve_connection'
9 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/connection_specification.rb 78 in `connection'
10 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb 2693 in `quoted_table_name'
11 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb 1469 in `construct_finder_sql'
12 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb 1341 in `find_every'
13 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb 536 in `find_without_pagination'
14 /u/apps/opencongress/releases/20080820173008/vendor/plugins/paginating_find/lib/paginating_find.rb 127 in `find'
15 ./config/environment.rb 69
16 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require'
17 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `require'
18 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb 509 in `require'
19 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb 354 in `new_constants_in'
20 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb 509 in `require'
21 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/application_spawner.rb 257 in `preload_application'
22 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/application_spawner.rb 183 in `initialize_server'
23 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 145 in `start_synchronously'
24 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 114 in `start'
25 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 108 in `fork'
26 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 108 in `start'
27 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/application_spawner.rb 147 in `start'
28 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/framework_spawner.rb 278 in `handle_spawn_application'
29 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/framework_spawner.rb 273 in `synchronize'
30 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/framework_spawner.rb 273 in `handle_spawn_application'
31 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 291 in `__send__'
32 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 291 in `main_loop'
33 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 147 in `start_synchronously'
34 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 114 in `start'
35 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 108 in `fork'
36 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 108 in `start'
37 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/framework_spawner.rb 104 in `start'
38 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/spawn_manager.rb 106 in `spawn_application'
39 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/spawn_manager.rb 102 in `synchronize'
40 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/spawn_manager.rb 102 in `spawn_application'
41 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/spawn_manager.rb 183 in `handle_spawn_application'
42 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 291 in `__send__'
43 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 291 in `main_loop'
44 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/lib/passenger/abstract_server.rb 147 in `start_synchronously'
45 /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/passenger-1.0.5/bin/passenger-spawn-server 32