sonar qube installation on windows server 2012

回眸只為那壹抹淺笑 提交于 2019-12-19 07:33:07

问题


Installing sonarqube on windows server 2012

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

Downloaded Java JDK 1.7.0_60 and jre 1.7.0_67 as well as jre7

Installed Windows SDK 7 and .NET Framework 4

Navigated to C:\sonar\bin\windows x86-64 and ran StartSonar.bat as an administrator, this ran ok with no output and i had to hot ctrl- Z to break

I then ran \windows-x86-64\InstallNTService.bat as an administratot and i getting The sonarQube services was launched, but failed to start, not sure where else to look

Thanks in advance for your help


回答1:


I believe you first ran \windows-x86-64\InstallNTService.bat successfully and then StartSonar.bat unsuccessfully (inverse order of what you describe).

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

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

Regards.




回答2:


i was able to solve this problem by creating a new folder named “Temp” in C:\Windows\System32\config\systemprofile\AppData\Local\




回答3:


I had the same problem.

The Log-File shows only

--> Wrapper Started as Service

Cleaning or creating >temp directory C:\Program Files (x86)\SonarQube\sonarqube\temp

<-- Wrapper Stopped

The SonarQube service was launched, but failed to start.

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

Solution:

I: Navigate to C:\Windows\system32\config\systemprofile\AppData\Local\ and create directory Temp

II: Set the user rights to full access

III: Run the StartNTService.bat



来源:https://stackoverflow.com/questions/25750108/sonar-qube-installation-on-windows-server-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!