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:
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.
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
i was able to solve this problem by creating a new folder named “Temp” in C:\Windows\System32\config\systemprofile\AppData\Local\