Redmine won't start any more
Added by flow dee almost 13 years ago
Hey,
I installed redmine and logged in successfully. After that I closed the Terminal (putty) and went away. Some time later I tried to start redmine again but just getting the following messages:
root@vs1697:~# cd /usr/share/redmine root@vs1697:/usr/share/redmine# ruby script/server -e production => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 /usr/share/redmine/vendor/rails/activerecord/lib/active_record/connection_adapte rs/mysql_adapter.rb:589:in `real_connect': Can't connect to local MySQL server t hrough socket '/var/run/mysqld/mysqld.sock' (2) (Mysql::Error) from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/mysql_adapter.rb:589:in `connect' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/mysql_adapter.rb:203:in `initialize' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/mysql_adapter.rb:75:in `new' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/mysql_adapter.rb:75:in `mysql_connection' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:223:in `send' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:223:in `new_connection' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:188:in `checkout' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:184:in `loop' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:184:in `checkout' from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:183:in `checkout' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:98:in `connection' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection ' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/conn ection_adapters/abstract/connection_specification.rb:115:in `connection' from /usr/share/redmine/vendor/plugins/awesome_nested_set/lib/awesome_ne sted_set.rb:217:in `quoted_left_column_name' from /usr/share/redmine/vendor/plugins/awesome_nested_set/lib/awesome_ne sted_set.rb:93:in `acts_as_nested_set' from /usr/share/redmine/app/models/issue.rb:35 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:158:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:265:in `require_or_load_without_engine_additions' from /usr/share/redmine/vendor/plugins/engines/lib/engines/rails_extensi ons/dependencies.rb:132:in `require_or_load' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:425:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:92:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:437:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:96:in `const_missing' from /usr/share/redmine/app/models/project.rb:35 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:158:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:265:in `require_or_load_without_engine_additions' from /usr/share/redmine/vendor/plugins/engines/lib/engines/rails_extensi ons/dependencies.rb:132:in `require_or_load' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:425:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:92:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:437:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:96:in `const_missing' from /usr/share/redmine/app/models/attachment.rb:36 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:158:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:265:in `require_or_load_without_engine_additions' from /usr/share/redmine/vendor/plugins/engines/lib/engines/rails_extensi ons/dependencies.rb:132:in `require_or_load' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:425:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:92:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:437:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:437:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:437:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:437:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/plugins/acts_as_attachable/lib/acts_as_at tachable.rb:33:in `acts_as_attachable' from /usr/share/redmine/app/models/message.rb:22 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:158:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:265:in `require_or_load_without_engine_additions' from /usr/share/redmine/vendor/plugins/engines/lib/engines/rails_extensi ons/dependencies.rb:132:in `require_or_load' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:425:in `load_missing_constant' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:80:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:92:in `const_missing' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/in flector.rb:361:in `constantize' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/in flector.rb:360:in `each' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/in flector.rb:360:in `constantize' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/co re_ext/string/inflections.rb:162:in `constantize' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/obse rver.rb:157:in `observed_class' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/obse rver.rb:183:in `observed_classes' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/obse rver.rb:166:in `initialize' from /usr/lib/ruby/1.8/singleton.rb:94:in `new' from /usr/lib/ruby/1.8/singleton.rb:94:in `instance' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/obse rver.rb:38:in `instantiate_observers' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/obse rver.rb:36:in `each' from /usr/share/redmine/vendor/rails/activerecord/lib/active_record/obse rver.rb:36:in `instantiate_observers' from /usr/share/redmine/vendor/rails/actionpack/lib/action_controller/di spatcher.rb:15 from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:182:in `call' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:182:in `evaluate_method' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:166:in `call' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:90:in `run' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:90:in `each' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:90:in `send' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:90:in `run' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/ca llbacks.rb:276:in `run_callbacks' from /usr/share/redmine/vendor/rails/actionpack/lib/action_controller/di spatcher.rb:51:in `send' from /usr/share/redmine/vendor/rails/actionpack/lib/action_controller/di spatcher.rb:51:in `run_prepare_callbacks' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:631: in `prepare_dispatcher' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:185: in `process' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113: in `send' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113: in `run' from /usr/share/redmine/config/environment.rb:20 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:156:in `require' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:521:in `new_constants_in' from /usr/share/redmine/vendor/rails/activesupport/lib/active_support/de pendencies.rb:156:in `require' from /usr/share/redmine/vendor/rails/railties/lib/commands/server.rb:84 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 root@vs1697:/usr/share/redmine#
What's wrong? Didn't change anythign :(
Replies (1)
RE: Redmine won't start any more
-
Added by Etienne Massip almost 13 years ago
There is some issue while trying to establish connection to MySQL, your DB instance might be offline?