I'm having a problems while setting up service for SonarQube. I have tried everything I could but still I'm not able to fix this problem. This is the error I got. As you can see, I logged on using my administrator account (not Local System) suggested by SonarQube and many other posts here and there. I installed Sonar successfully on my laptop using this method but not be able to do that on my PC. Please help, my thanks in advance.
Asked
Active
Viewed 5,177 times
0
-
What, if anything, do your SonarQube logs say on the topic? – G. Ann - SonarSource Team May 31 '16 at 16:38
-
You mean when I install or start the service in the bin directory? I got this only: Unable to start the service - The service did not start due to a logon failure - Just like the image. – Củ Su Hào May 31 '16 at 17:03
-
in mean in _$SONARQUBE_HOME/logs/sonar.log_ – G. Ann - SonarSource Team May 31 '16 at 17:46
-
Starting the SonarQube service... Unable to start the service - The service did not start due to a logon failure. (0x42d) --> Wrapper Started as Console Launching a JVM... Unable to execute Java command. The system cannot find the file specified. Not sure that this helps... – Củ Su Hào May 31 '16 at 18:42
-
Do you use a local database? Did you re-enter your admin password? – Jeroen Heier May 31 '16 at 20:15
-
Sr for late respone, it was midnight by the time I asked. Yes I did use local database and I re-entered my admin password also. – Củ Su Hào Jun 01 '16 at 02:12
-
1I suggest to test version 5.6 which fixes https://jira.sonarsource.com/browse/SONAR-7154. Note that final release will be published in the next few days but Release Candidate 2 is already available for testing. – Simon Brandhof Jun 01 '16 at 07:43
-
does it work if you use `local system`?? – harishr Jun 02 '16 at 11:32
-
@entre well, no it doesn't. Still trying to figure out the problem. – Củ Su Hào Jun 02 '16 at 14:17
-
Thank you for all of your support, guest that it's all my fault when setting up my PC, didn't specify related information. Sorry for wasting your time on this one. – Củ Su Hào Jun 06 '16 at 14:50
1 Answers
1
You may have multiple issues here. First "Wrapper Started as Console Launching a JVM... Unable to execute Java command. The system cannot find the file specified" is telling you that you incorrectly set the wrapper.java.command property in wrapper.conf.
According to the screenshot, the service is not starting due to #1069 error, the initial cause can be due to multiple reason, incorrect password or Administrator does not have the right to start services, you may find the reason in the event viewer.

Eric Hartmann
- 1,691
- 8
- 8