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:
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/postgresql_adapter.rb:24:in `initialize': FATALT: could not access status of transaction 0 DETAIL: could not write to file "/var/lib/postgres/data/pg_clog/0042" at offset 204800: Enheten är full (PGError)
Exception class:
Passenger::UnknownError
Application root:
/home/www-root/sites/ts.skoltjansten.se/releases/20080317002531
Backtrace:
# File Line Location
0 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/act_as_ferret/lib/class_methods.rb 124 in `acts_as_ferret'
1 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/postgresql_adapter.rb 24 in `connect'
2 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/postgresql_adapter.rb 24 in `postgresql_connection'
3 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/connection_specification.rb 251 in `send'
4 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/connection_specification.rb 251 in `connection_without_query_cache='
5 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/query_cache.rb 54 in `connection='
6 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/connection_specification.rb 220 in `retrieve_connection'
7 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/connection_specification.rb 78 in `connection'
8 /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb 679 in `table_exists?'
9 (eval) 19 in `acts_as_ferret'
10 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/app/models/base_content.rb 16
11 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require'
12 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `require'
13 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 147 in `require'
14 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 65 in `rails_pre_engines_require_or_load'
15 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 60 in `rails_1_1_require_or_load'
16 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 14 in `require_or_load'
17 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 30 in `depend_on'
18 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 85 in `require_dependency'
19 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/app/models/document.rb 1
20 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require'
21 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `require'
22 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 147 in `require'
23 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 65 in `rails_pre_engines_require_or_load'
24 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 60 in `rails_1_1_require_or_load'
25 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 14 in `require_or_load'
26 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 30 in `depend_on'
27 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 85 in `require_dependency'
28 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 98 in `const_missing'
29 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 131 in `const_missing'
30 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/app/models/contents/picture_article.rb 1
31 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require'
32 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `require'
33 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 147 in `require'
34 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 65 in `rails_pre_engines_require_or_load'
35 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 60 in `rails_1_1_require_or_load'
36 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 14 in `require_or_load'
37 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 30 in `depend_on'
38 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 85 in `require_dependency'
39 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 98 in `const_missing'
40 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 131 in `const_missing'
41 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/inflector.rb 161 in `constantize'
42 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/string/inflections.rb 59 in `constantize'
43 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/lib/asken/content_models.rb 27 in `content_model'
44 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/lib/asken/content_models.rb 34 in `content_models'
45 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/lib/asken/content_models.rb 34 in `map'
46 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/lib/asken/content_models.rb 34 in `content_models'
47 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/lib/observers.rb 4
48 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require'
49 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `require'
50 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 147 in `require'
51 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 65 in `rails_pre_engines_require_or_load'
52 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 60 in `rails_1_1_require_or_load'
53 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines/dependencies_extensions.rb 14 in `require_or_load'
54 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 30 in `depend_on'
55 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 85 in `require_dependency'
56 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/asken_engine/init_engine.rb 36 in `start_engine'
57 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines.rb 201 in `start_engine'
58 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines.rb 141 in `start'
59 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines.rb 140 in `each'
60 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines.rb 140 in `start'
61 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines.rb 157 in `start_all'
62 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines.rb 151 in `each'
63 /home/www-root/sites/ts.skoltjansten.se/releases/20080317002531/vendor/plugins/engines/lib/engines.rb 151 in `start_all'
64 ./config/environment.rb 61
65 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require'
66 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `require'
67 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb 147 in `require'
68 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/application_spawner.rb 257 in `preload_application'
69 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/application_spawner.rb 183 in `initialize_server'
70 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 145 in `start_synchronously'
71 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 114 in `start'
72 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 108 in `fork'
73 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 108 in `start'
74 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/application_spawner.rb 147 in `start'
75 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/framework_spawner.rb 287 in `handle_spawn_application'
76 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/framework_spawner.rb 282 in `synchronize'
77 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/framework_spawner.rb 282 in `handle_spawn_application'
78 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 291 in `__send__'
79 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 291 in `main_loop'
80 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 147 in `start_synchronously'
81 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 114 in `start'
82 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 108 in `fork'
83 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 108 in `start'
84 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/framework_spawner.rb 104 in `start'
85 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/spawn_manager.rb 106 in `spawn_application'
86 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/spawn_manager.rb 102 in `synchronize'
87 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/spawn_manager.rb 102 in `spawn_application'
88 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/spawn_manager.rb 183 in `handle_spawn_application'
89 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 291 in `__send__'
90 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 291 in `main_loop'
91 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/lib/passenger/abstract_server.rb 147 in `start_synchronously'
92 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.3/bin/passenger-spawn-server 32