No such file or directory - /nonexistent
Added by Xeross NA almost 16 years ago
I keep getting the following error when trying to start with passenger on apache.
No such file or directory - /nonexistent
The complete error stuff
Error message: No such file or directory - /nonexistent Exception class: Errno::ENOENT Application root: /Server/Apache/htdocs/redmine Backtrace: # File Line Location 0 /usr/local/lib/site_ruby/1.8/rubygems.rb 713 in `initialize' 1 /usr/local/lib/site_ruby/1.8/rubygems.rb 713 in `new' 2 /usr/local/lib/site_ruby/1.8/rubygems.rb 713 in `set_paths' 3 /usr/local/lib/site_ruby/1.8/rubygems.rb 711 in `each' 4 /usr/local/lib/site_ruby/1.8/rubygems.rb 711 in `set_paths' 5 /usr/local/lib/site_ruby/1.8/rubygems.rb 518 in `path' 6 /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb 66 in `installed_spec_directories' 7 /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb 56 in `from_installed_gems' 8 /usr/local/lib/site_ruby/1.8/rubygems.rb 726 in `source_index' 9 /usr/local/lib/site_ruby/1.8/rubygems.rb 138 in `activate' 10 /usr/local/lib/site_ruby/1.8/rubygems.rb 49 in `gem' 11 /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/connection_specification.rb 226 in `establish_connection' 12 /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/connection_specification.rb 216 in `establish_connection' 13 /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/connection_specification.rb 209 in `establish_connection' 14 /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb 341 in `initialize_database' 15 /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb 124 in `process' 16 /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb 97 in `send' 17 /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb 97 in `run' 18 ./config/environment.rb 20 19 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require' 20 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in `require' 21 /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb 510 in `require' 22 /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb 355 in `new_constants_in' 23 /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb 510 in `require' 24 /Server/Passenger/lib/passenger/railz/application_spawner.rb 252 in `preload_application' 25 /Server/Passenger/lib/passenger/railz/application_spawner.rb 212 in `initialize_server' 26 /Server/Passenger/lib/passenger/utils.rb 181 in `report_app_init_status' 27 /Server/Passenger/lib/passenger/railz/application_spawner.rb 201 in `initialize_server' 28 /Server/Passenger/lib/passenger/abstract_server.rb 166 in `start_synchronously' 29 /Server/Passenger/lib/passenger/abstract_server.rb 135 in `start' 30 /Server/Passenger/lib/passenger/abstract_server.rb 112 in `fork' 31 /Server/Passenger/lib/passenger/abstract_server.rb 112 in `start' 32 /Server/Passenger/lib/passenger/railz/application_spawner.rb 177 in `start' 33 /Server/Passenger/lib/passenger/railz/framework_spawner.rb 270 in `handle_spawn_application' 34 /Server/Passenger/lib/passenger/railz/framework_spawner.rb 263 in `synchronize' 35 /Server/Passenger/lib/passenger/railz/framework_spawner.rb 263 in `handle_spawn_application' 36 /Server/Passenger/lib/passenger/abstract_server.rb 317 in `__send__' 37 /Server/Passenger/lib/passenger/abstract_server.rb 317 in `main_loop' 38 /Server/Passenger/lib/passenger/abstract_server.rb 168 in `start_synchronously' 39 /Server/Passenger/lib/passenger/abstract_server.rb 135 in `start' 40 /Server/Passenger/lib/passenger/abstract_server.rb 112 in `fork' 41 /Server/Passenger/lib/passenger/abstract_server.rb 112 in `start' 42 /Server/Passenger/lib/passenger/railz/framework_spawner.rb 87 in `start' 43 /Server/Passenger/lib/passenger/spawn_manager.rb 218 in `spawn_rails_application' 44 /Server/Passenger/lib/passenger/spawn_manager.rb 213 in `synchronize' 45 /Server/Passenger/lib/passenger/spawn_manager.rb 213 in `spawn_rails_application' 46 /Server/Passenger/lib/passenger/spawn_manager.rb 122 in `spawn_application' 47 /Server/Passenger/lib/passenger/spawn_manager.rb 247 in `handle_spawn_application' 48 /Server/Passenger/lib/passenger/abstract_server.rb 317 in `__send__' 49 /Server/Passenger/lib/passenger/abstract_server.rb 317 in `main_loop' 50 /Server/Passenger/lib/passenger/abstract_server.rb 168 in `start_synchronously' 51 /Server/Passenger/bin/passenger-spawn-server 46
Does anyone know how to fix this ?
THanks for your time, Xeross
Replies (4)
RE: No such file or directory - /nonexistent - Added by Jean-Baptiste Barth almost 16 years ago
Can you copy/paste your Directory or VirtualHost conf ?
And give the version of each tool (Redmine, Passenger, Apache, etc.) ?
RE: No such file or directory - /nonexistent - Added by Xeross NA almost 16 years ago
Redmine: 0.8 Stable
Apache: 2.2.9
Passenger: 2.0.3
Redmine VirtualHost
<VirtualHost *:80> ServerName dev.lecowow.com DocumentRoot "/Server/Apache/htdocs/redmine/public" CustomLog "/Server/Apache/logs/Access_Redmine_Log" combined <Directory "/Server/Apache/htdocs/redmine"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
RE: No such file or directory - /nonexistent - Added by Jean-Baptiste Barth almost 16 years ago
Seems to be ok..
I found this thread about this error message. You should check your system rights in the "Server/Apache/htdocs/redmine/" dir and its subdirs, and compare it with your PassengerDefaultUser.
RE: No such file or directory - /nonexistent - Added by Artem Shutov over 15 years ago
Look at this link