Installing qube sonar on a Windows 2012 server

Install sonarqube on a Windows 2012 server

I followed the steps to install sonar on Windows Server 2012. I downloaded sonarqube4.4 and extracted it to C: \ Sonarqube

Java JDK 1.7.0_60 and jre 1.7.0_67 and jre7 loaded

Installed Windows SDK 7 and .NET Framework 4

Moved to C: \ sonar \ bin \ windows x86-64 and ran StartSonar.bat as administrator, this is normal, without output, and I had to press ctrl-Z to break

Then I ran \ windows-x86-64 \ InstallNTService.bat as administrator, and I get the sonarQube services were started, but failed to start, do not know where else to look

Thank you in advance for your help.

+5
source share
3 answers

I believe that you first executed \ windows-x86-64 \ InstallNTService.bat and then StartSonar.bat unsuccessfully (the reverse order of what you described).

You will probably encounter this problem http://qualilogy.com/fr/wp-content/uploads/sites/2/2013/09/Sonar_ServiceLaunchError2.jpg

In this case, the solution is to change the user / rights to start the Sonar service: http://qualilogy.com/en/migrate-sonarqube-tomcat-to-windows-service/

Sincerely.

+9
source

i managed to solve this problem by creating a new folder named "Temp" in C: \ Windows \ System32 \ config \ systemprofile \ AppData \ Local \

+1
source

I had the same problem.

Log file shows only

-> Wrapper launched as a service

Clearing or creating> a temporary directory C: \ Program Files (x86) \ SonarQube \ sonarqube \ temp

<- Completion of the wrapper

The SonarQube service has been started but not started.

After a long search, I went to this site http://zen-and-art-of-programming.blogspot.de/2013/03/installing-and-running-sonar-source.html .

Decision:

I: go to the folder C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local \ and create the Temp directory

II: set user rights for full access

III: run StartNTService.bat

0
source

Source: https://habr.com/ru/post/1202174/


All Articles