win7 下SonarQube服务启动失败

转自:http://qualilogy.com/en/migrate-sonarqube-tomcat-to-windows-service/

ps:stack overflow 简直是程序员的神器

I can launch this service, either with a ‘Start’ from this service, either executing the corresponding file in the ‘bin’ directory of SonarQube, from my DOS window.

sonar_Runservice1

But this will bring the following error message:

Sonar_ServiceLaunchError

Same if I try to start the SonarQube service:

Sonar_ServiceLaunchError2

Sonar_ServiceProp1

Now, if we open the service Properties (right click on the service to get the menus)…

 

 

 

 

…and goes on the tab ‘Log On’.

Sonar_ServiceProp2

Check the box ‘This account’ and then the button ‘Browse’ :

Sonar_ServiceProp3

In the following windows, click the button ‘Advanced’.

Sonar_ServiceProp4a

Then ‘Find Now’ in order to list the users who can connect (Log On) to launch this service.

Sonar_ServiceProp4

I will select the Windows user I use to log on my laptop:

Sonar_ServiceProp5

‘OK’ to validate. Notice that my Window user is prefixed with the ID of my machine (JPFPC).

Sonar_ServiceProp6

‘OK’ again to get back to the ‘Log On’ tab, where I can enter the password corresponding to my user. ‘Apply’ then ‘OK’ to close the Properties window.

Now we can start again the service and … Yes, it works ! The error message has disappeared and the service displays a ‘Started’ status.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值