sonarqubesonarqube-ops

SonarQube 8.5.1 - Failed to Start Service - Wrapper Error


I cannot get sonarQube to start as a service. SonaruQube server/console starts without issues.

I tried to start the service via the supplied 'StartNTService.bat' as per docs (SQ Docs) or via Windows Services GUI. start service

Both display the following error:

enter image description here

The only log file that has an exception is 'wrapper.log':

"FATAL | wrapper | 2021/01/19 17:25:36 | The argument 'Files\sonarqube\conf\wrapper.conf' is not a valid property name-value pair."

The above error line is duplicated every time I try to start the service. (I have verified permission settings). Not sure where else to look.

wrapper.conf was not modified by me in any way.

Service was installed via: [ sc create SonarQube binPath= ""C:\Program Files\sonarqube\bin\windows-x86-64\wrapper.exe" -s C:\Program Files\sonarqube\conf\wrapper.conf" ]

SonarQube Version: 8.5.1

Windows version: 10.0.18363

Java Version : 11.0.9+7-LTS Java HotSpot(TM) 64-Bit Server VM

Any hints or suggestions would be greatly appreciated.


Solution

  • It looks like an issue with a space in the path (separated Program Files into two distinct parameters). Your experience might be better if you choose to install the server in a path that does not include a space.