Project

General

Profile

Impossible to boot the redmine server today!

Added by signe gerard over 11 years ago

Hello to you
This morning when I try to launch the redmine server by the command:

ruby script/rails server webrick -e production

this message is displayed:

*D:\Redmine\redmine-2.3.0>ruby script/rails server webrick -e production
=> Booting WEBrick
=> Rails 3.2.13 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2
/client.rb:44:in `connect': Lost connection to MySQL server at 'reading initial
communication packet', system error: 0 (Mysql2::Error)
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw
32/lib/mysql2/client.rb:44:in `initialize'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/mysql2_adapter.rb:16:in `new'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/mysql2_adapter.rb:16:in `mysql2_connection'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:315:in `new_conne
ction'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:325:in `checkout

new_connection'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:247:in `block (2
levels) in checkout'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:242:in `loop'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:242:in `block in
checkout'
from D:/Redmine/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchroniz
e'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:239:in `checkout'

from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:102:in `block in
connection'
from D:/Redmine/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchroniz
e'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:101:in `connectio
n'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_
connection'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_specification.rb:171:in `
retrieve_connection'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/connection_adapters/abstract/connection_specification.rb:145:in `
connection'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/model_schema.rb:223:in `table_exists?'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/attribute_methods/primary_key.rb:75:in `get_primary_key'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/attribute_methods/primary_key.rb:60:in `reset_primary_key'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/attribute_methods/primary_key.rb:49:in `primary_key'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib
/active_record/attribute_assignment.rb:13:in `attributes_protected_by_default'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/
active_model/mass_assignment_security.rb:216:in `block in protected_attributes_c
onfigs'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/
active_model/mass_assignment_security.rb:188:in `yield'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/
active_model/mass_assignment_security.rb:188:in `default'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/
active_model/mass_assignment_security.rb:188:in `protected_attributes'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/
active_model/mass_assignment_security.rb:118:in `block in attr_protected'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/
active_model/mass_assignment_security.rb:117:in `each'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/
active_model/mass_assignment_security.rb:117:in `attr_protected'
from D:/Redmine/redmine-2.3.0/app/models/issue_relation.rb:73:in `<class
:IssueRelation>'
from D:/Redmine/redmine-2.3.0/app/models/issue_relation.rb:18:in `<top (
required)>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `require'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `block in require'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:236:in `load_dependency'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `require'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:359:in `require_or_load'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:502:in `load_missing_constant'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:192:in `block in const_missing'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `each'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `const_missing'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:514:in `load_missing_constant'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:192:in `block in const_missing'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `each'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `const_missing'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:514:in `load_missing_constant'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:192:in `block in const_missing'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `each'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `const_missing'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:514:in `load_missing_constant'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:192:in `block in const_missing'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `each'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:190:in `const_missing'
from D:/Redmine/redmine-2.3.0/lib/redmine/helpers/gantt.rb:28:in `<class
:Gantt>'
from D:/Redmine/redmine-2.3.0/lib/redmine/helpers/gantt.rb:21:in `<modul
e:Helpers>'
from D:/Redmine/redmine-2.3.0/lib/redmine/helpers/gantt.rb:19:in `<modul
e:Redmine>'
from D:/Redmine/redmine-2.3.0/lib/redmine/helpers/gantt.rb:18:in `<top (
required)>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `require'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `block in require'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:236:in `load_dependency'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `require'
from D:/Redmine/redmine-2.3.0/lib/redmine.rb:51:in `<top (required)>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `require'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `block in require'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:236:in `load_dependency'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:251:in `require'
from D:/Redmine/redmine-2.3.0/config/initializers/30-redmine.rb:4:in `<t
op (required)>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:245:in `load'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:245:in `block in load'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:236:in `load_dependency'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/li
b/active_support/dependencies.rb:245:in `load'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/engine.rb:588:in `block (2 levels) in <class:Engine>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/engine.rb:587:in `each'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/engine.rb:587:in `block in <class:Engine>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/initializable.rb:30:in `instance_exec'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/initializable.rb:30:in `run'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/initializable.rb:55:in `block in run_initializers'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/initializable.rb:54:in `each'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/initializable.rb:54:in `run_initializers'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/application.rb:136:in `initialize!'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/railtie/configurable.rb:30:in `method_missing'
from D:/Redmine/redmine-2.3.0/config/environment.rb:14:in `<top (require
d)>'
from D:/Redmine/redmine-2.3.0/config.ru:3:in `require'
from D:/Redmine/redmine-2.3.0/config.ru:3:in `block in <main>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/bui
lder.rb:51:in `instance_eval'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/bui
lder.rb:51:in `initialize'
from D:/Redmine/redmine-2.3.0/config.ru:in `new'
from D:/Redmine/redmine-2.3.0/config.ru:in `<main>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/bui
lder.rb:40:in `eval'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/bui
lder.rb:40:in `parse_file'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/ser
ver.rb:200:in `app'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/commands/server.rb:46:in `app'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/ser
ver.rb:304:in `wrapped_app'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/ser
ver.rb:254:in `start'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/commands/server.rb:70:in `start'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/commands.rb:55:in `block in <top (required)>'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/commands.rb:50:in `tap'
from D:/Redmine/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rai
ls/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'_*

Please what can i do? Thank you...


Replies (1)

RE: Impossible to boot the redmine server today! - Added by Guilherme Noronha over 11 years ago

This seems your database has crashed. Have you already checked this?

    (1-1/1)