Skip to content

Instantly share code, notes, and snippets.

@clsung
Created April 10, 2011 06:33
Show Gist options
  • Save clsung/912103 to your computer and use it in GitHub Desktop.
Save clsung/912103 to your computer and use it in GitHub Desktop.
Ruby (Rack) 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:
Stale NFS file handle - /home/apps/forum/releases/20110409224448/config/database.yml
Exception class:
Errno::ESTALE
Application root:
/home/apps/forum/current
Backtrace:
# File Line Location
0 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/application/configuration.rb 88 in `read'
1 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/application/configuration.rb 88 in `database_configuration'
2 /home/apps/forum/shared/bundle/ruby/1.8/gems/activerecord-3.0.5/lib/active_record/railtie.rb 58
3 /home/apps/forum/shared/bundle/ruby/1.8/gems/activesupport-3.0.5/lib/active_support/lazy_load_hooks.rb 36 in `instance_eval'
4 /home/apps/forum/shared/bundle/ruby/1.8/gems/activesupport-3.0.5/lib/active_support/lazy_load_hooks.rb 36 in `execute_hook'
5 /home/apps/forum/shared/bundle/ruby/1.8/gems/activesupport-3.0.5/lib/active_support/lazy_load_hooks.rb 26 in `on_load'
6 /home/apps/forum/shared/bundle/ruby/1.8/gems/activerecord-3.0.5/lib/active_record/railtie.rb 57
7 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/initializable.rb 25 in `instance_exec'
8 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/initializable.rb 25 in `run'
9 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/initializable.rb 50 in `run_initializers'
10 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/initializable.rb 49 in `each'
11 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/initializable.rb 49 in `run_initializers'
12 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/application.rb 134 in `initialize!'
13 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/application.rb 77 in `send'
14 /home/apps/forum/shared/bundle/ruby/1.8/gems/railties-3.0.5/lib/rails/application.rb 77 in `method_missing'
15 /home/apps/forum/releases/20110409224448/config/environment.rb 5
16 config.ru 3 in `require'
17 config.ru 3
18 /home/apps/forum/shared/bundle/ruby/1.8/gems/rack-1.2.2/lib/rack/builder.rb 46 in `instance_eval'
19 /home/apps/forum/shared/bundle/ruby/1.8/gems/rack-1.2.2/lib/rack/builder.rb 46 in `initialize'
20 config.ru 1 in `new'
21 config.ru 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment