Project

General

Profile

Actions

Defect #11428

closed

LoadError while starting mongrel_cluster or thin with Redmine 2.0.3

Added by Harish Varada almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi All,

I upgraded my Redmine to the latest 2.0.3 version. All the configurations are done and Redmine is working fine with the basic webrick server.

While, trying to run Redmine with either mongrel or thin, I was not able to start server and was facing LoadError repeatedly.

My configuration is :

Redmine 2.0.3, nginx, mongrel_cluster (1.0.5), thin (1.4.1)

My error with mongrel is :

[root@localhost redmine-2.0.3]# mongrel_rails cluster::start

Log::

** Writing PID file to tmp/pids/mongrel.5000.pid
** Daemonized, any open files are closed.  Look at tmp/pids/mongrel.5000.pid and log/mongrel.5000.log for info.
** Starting Mongrel listening at 127.0.0.1:5000
** Starting Rails with production environment...
** Mounting Rails at /redmine...
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- dispatcher (LoadError)
        from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
        from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
        from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel/rails.rb:148:in `rails'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/bin/mongrel_rails:116:in `block (2 levels) in run'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel/configurator.rb:149:in `call'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel/configurator.rb:149:in `listener'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/bin/mongrel_rails:102:in `block in run'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel/configurator.rb:50:in `call'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel/configurator.rb:50:in `initialize'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/bin/mongrel_rails:86:in `new'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/bin/mongrel_rails:86:in `run'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel/command.rb:210:in `run'
        from /usr/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/bin/mongrel_rails:282:in `<top (required)>'
        from /usr/bin/mongrel_rails:23:in `load'
        from /usr/bin/mongrel_rails:23:in `<main>'

My error with thin is :

[root@localhost redmine-2.0.3]# thin start -s3 -p 5555 -e production
Starting server on 0.0.0.0:5555 ... 
Starting server on 0.0.0.0:5556 ... 
Starting server on 0.0.0.0:5557 ... 

But Log's are:
>> Writing PID to tmp/pids/thin.5555.pid
>> Using rack adapter
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
>> Thin web server (v1.4.1 codename Chromeo)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:5555, CTRL+C to stop
>> Exiting!
/usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/backends/tcp_server.rb:16:in `connect': cannot load such file -- thin/connection (LoadError)
        from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/backends/base.rb:55:in `block in start'
        from /usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
        from /usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
        from /usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
        from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/backends/base.rb:63:in `start'
        from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/server.rb:159:in `start'
        from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/controllers/controller.rb:86:in `start'
        from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:185:in `run_command'
        from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:151:in `run!'
        from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/bin/thin:6:in `<top (required)>'
        from /usr/bin/thin:23:in `load'
        from /usr/bin/thin:23:in `<main>'

Please help me resolving this.

Thanks in advance.

Actions

Also available in: Atom PDF