Project

General

Profile

Redmine1.2.1 service not starting up

Added by kk kk about 13 years ago

i just installed redmine-1.2.1, service started @ url. but when i tried to register no mails was going . so i tried lost password. but error was coming in -
The following error occured while sending email notification: "getaddrinfo: Name or service not known". Check your configuration in config/configuration.yml.

so i changed in this file. thought of restart the service so killed services-

ruby /usr/sbin/mcollectived --pid=/var/run/mcollectived.pid --config=/etc/mcollective/server.cfg
ruby ./script/server -e production -d

but after this its not starting again. giving error. pls help

[root@svn redmine-1.2.1]# ruby script/server webrick -e production
=> Booting WEBrick
=> Rails 2.3.11 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 79, col 0: `default:' (ArgumentError)
from /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/local/lib/ruby/1.8/yaml.rb:144:in `load_file'
from /usr/local/lib/ruby/1.8/yaml.rb:143:in `open'
from /usr/local/lib/ruby/1.8/yaml.rb:143:in `load_file'
from /usr/local/redmine-1.2.1/lib/redmine/configuration.rb:82:in `load_from_yaml'
from /usr/local/redmine-1.2.1/lib/redmine/configuration.rb:41:in `load'
from /usr/local/redmine-1.2.1/lib/redmine/configuration.rb:65:in `[]'
from /usr/local/redmine-1.2.1/app/models/attachment.rb:46
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
from /usr/local/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable'
from /usr/local/redmine-1.2.1/app/models/message.rb:22
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
from /usr/local/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:364:in `constantize'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:363:in `each'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:363:in `constantize'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
from /usr/local/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:157:in `observed_class'
from /usr/local/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:183:in `observed_classes'
from /usr/local/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:166:in `initialize'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
from /usr/local/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:38:in `instantiate_observers'
from /usr/local/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `each'
from /usr/local/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `instantiate_observers'
from /usr/local/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks'
from /usr/local/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send'
from /usr/local/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
from /usr/local/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher'
from /usr/local/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:185:in `process'
from /usr/local/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from /usr/local/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from /usr/local/redmine-1.2.1/config/environment.rb:20
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /usr/local/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
from /usr/local/redmine-1.2.1/vendor/rails/railties/lib/commands/server.rb:84
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/server:3
[root@svn redmine-1.2.1]#


Replies (1)

RE: Redmine1.2.1 service not starting up - Added by Guy Saban over 12 years ago

I found that commenting out all unset options in the redmine/config/configuration.yml file got past this.

    (1-1/1)