Project

General

Profile

Trouble with Redmine in Apache tomcat following wiki

Added by Andre Flory over 12 years ago

I am following this wiki: http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache

With the exception that I had already installed Redmine/Ruby etc and am now trying to get Redmine setup on Apache tomcat. I have installed the components in their default locations, except the items I had not installed yet, Apache tomcat, PHP...

The problem I am having is I get to the point where you create the windows services and get an error.

So when I try to create the service this is what happens:

========================================================================
C:\>mongrel_rails service::install -N mongrel_redmine_3001 -D "Mongrel serving Redmine on 3001" -p 3001 -e production -c C:\redmine-1.2.1

C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:926:in `report_activate_error': RubyGem version error: win32-service(0.5.2 not < 0.6.0, >= 0.5.2) (Gem::LoadError)

from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:244:in `activate_dep'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:236:in `activate'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:1307:in `gem'
from C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel_service-0.3.4-x86-mswin32/lib/mongrel_service/init.rb:37:in `validate'
from C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/command.rb:208:in `run'
from C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
from C:/Ruby187/bin/mongrel_rails:19:in `load'
from C:/Ruby187/bin/mongrel_rails:19

C:\webserver> ========================================================================

Also, I did get an error when installing the mongrel_service gems.

When I ran: gem install mongrel_service

with both the "mongrel_service-0.3.4-i386-mswin32.gem" and "win32-service-0.5.2-mswin32.gem" gems inside the C:\webserver dir.

I got this warning: "WARNING: win32-service-0.5.2-x86-mswin32 has an invlaid nil value for @cert_chain"

And then below it says it successfully installed both gems including documentation.

Versions of everything I installed:

Redmine 1.2.x
ruby 1.8.7
Rails 2.3.11
Rack 1.1.1

gem list:

C:\Documents and Settings\Administrator>gem list

  • 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.3.4 i386-mswin32)
mysql (2.8.1 x86-mingw32)
rack (1.1.2, 1.1.0)
rails (2.3.11)
rake (0.9.2)
win32-service (0.5.2 mswin32)

C:\Documents and Settings\Administrator>gem -v
1.7.2

I need help, don't know what to do about this error.

Thanks,
DemiSheep