Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-21496

Setup does not start the service and manually starting service using start_service.bat fails with error

    XMLWordPrintable

Details

    Description

      Using the default installer of version 4.1.1 and selecting "install as service" during setup fails without an error: at the end of setup, the service is not started. Trying to start it using "Start Jira Service [8080]" flashes a DOS screen, but does nothing.

      Executing the command start_service.bat from a command window shows the following error:

      The service name is invalid.

      More help is available by typing NET HELPMSG 2185.

      Digging slightly deeper reveals that the service name is incorrect inside the batch file. Note that it is also incorrect in the stop_service.bat file. The contents of the start_service.bat file is as follows, the last line should be changed to match the correct name:

      @echo off
      if "%OS%" == "Windows_NT" setlocal
      rem ---------------------------------------------------------------------------
      rem Start script for the JIRA Service
      rem
      
      net start JIRA040610093559

      As a workaround, it works to go to Services and start the service manually. Alternatively, you can update the last line of the start_service.bat (and the stop_service.bat resp.) as follows:

      net start tomcat6

      Notes: this described behavior is consistently wrong in other versions of windows I ever used this setup with (Windows 2008, Windows Vista, Windows 2003).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              9db835d02945 Abel Braaksma
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: