Used Mongrel to setup redmine into windows services, but cannot open home page.
Added by 鸿辉 林 over 13 years ago
Hi
After used Mongrel to setup redmine into windows services, but cannot open home page.
windows 2003 R2
C:\redmine-1.2.0>gem list --local
- LOCAL GEMS ***
actionmailer (2.3.11)
actionpack (2.3.11)
activerecord (2.3.11)
activeresource (2.3.11)
activesupport (2.3.11)
cgi_multipart_eof_fix (2.5.0)
gem_plugin (0.2.3)
i18n (0.4.2)
mongrel (1.1.5 x86-mingw32)
mongrel_service (0.4.0)
mysql (2.8.1 x86-mingw32)
rack (1.1.0)
rails (2.3.11)
rake (0.9.2)
Already applied the patch, rails_6440_patch.rb
mongrel.log:- Starting Mongrel listening at 0.0.0.0:30003
- Starting Rails with production environment...
- Rails loaded.
- Loading any Rails specific GemPlugins
- Signals ready. INT => stop (no restart).
- Mongrel 1.1.5 available at 0.0.0.0:30003
- Use CTRL-C to stop.
Mon Jun 20 11:27:42 +0800 2011: Error calling Dispatcher.dispatch #<NoMethodError: private method `split' called for nil:NilClass>
C:/redmine-1.2.0/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:52:in `dispatch_cgi'
C:/redmine-1.2.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
C:/redmine-1.2.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:27:in `dispatch'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/rails.rb:76:in `process'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/rails.rb:74:in `synchronize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/rails.rb:74:in `process'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:159:in `process_client'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:158:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:158:in `process_client'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `initialize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `new'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `initialize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `new'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:282:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/command.rb:212:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
C:/Ruby187/bin/mongrel_rails:19:in `load'
C:/Ruby187/bin/mongrel_rails:19
- Logfile created on Mon Jun 20 11:26:29 +0800 2011
Processing WelcomeController#index (for 218.82.199.28 at 2011-06-20 11:27:42) [GET]
Parameters: {"action"=>"index", "controller"=>"welcome"}
Redirected to http://mobi4biz.net:30003/login?back_url=http%3A%2F%2Fmobi4biz.net%3A30003%2F
Filter chain halted as [:check_if_login_required] rendered_or_redirected.
Completed in 156ms (DB: 47) | 302 Found [http://mobi4biz.net/]
Replies (1)
RE: Used Mongrel to setup redmine into windows services, but cannot open home page. - Added by 鸿辉 林 over 13 years ago
I refered the topic, [[HOWTO: Redmine as Windows Server 2003 Service]http://www.redmine.org/boards/1/topics/4123] and resolved this problem. Thanks.