Get Redmine running as a windows service - instructions dont work - 1053 error

Added by Jon Brown almost 8 years ago

- Ruby 2.1.5p273 (via railsinstaller.org)
- Rails version 4.1 (via railsinstaller.org)
- Windows Ultimate x64
- Server version: 5.6.21 - MySQL Community Server (GPL) via xampp
- Ruby-aware server used: Webrick
- gem win32-service 0.8.6

Hi,

I have tried the instructions from:
HowTo run Redmine as a Windows service (win32-service + taskill approach)
http://stackoverflow.com/questions/877943/how-to-configure-a-rails-app-redmine-to-run-as-a-service-on-windows

every time i run these i get the following error:


Windows could not start the redmine7 service on Local Computer.

Error 1053: The service did not respond to the start or control request in a timely fashion.

  • I know that is my Mysql service on xampp is not running the script will fail (i will need to add this as a dependancy)
  • Both scripts generate this error
  • i start the script from the redmine wiki with - sc create redmine binPath= "D:\Documents\developer\xampp\RailsInstaller\Ruby2.1.0\bin\rubyw -C D:\Documents\developer\xampp\htdocs\ruby\redmine\ service.rb"
  • when i run D:\Documents\developer\xampp\RailsInstaller\Ruby2.1.0\bin\rubyw -C D:\Documents\developer\xampp\htdocs\ruby\redmine\ service.rb from the command prompt, it works

I would appreciate some help with this as i have got a nice installation of redmine working on windows with collabNet Subversion Edge and the last thing is getting redmine to run as a service

thanks

shoulders

Replies (3)

RE: Get Redmine running as a windows service - instructions dont work - 1053 error - Added by JuanJosé Martínez Gil over 6 years ago

Hi!
I'm running with the same problem.
Any chance you solved it already, Jon?

Thanks.

RE: Get Redmine running as a windows service - instructions dont work - 1053 error - Added by Jon Brown over 6 years ago

Hi

I totally solved it and wrote extensive instructions. I just need to make a few changes to my website and I can probably give the link out at weekend.

I am pretty sure I covered every problem that you can come across.

shoulders

(1-3/3)