1. 程式人生 > >win7 下SonarQube服務啟動失敗

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.

相關推薦

win7 SonarQube服務啟動失敗

轉自:http://qualilogy.com/en/migrate-sonarqube-tomcat-to-windows-service/ ps:stack overflow 簡直是程式設計師的神器 I can launch this service, eithe

CentOS 7mysqld服務啟動失敗終極解決方案

啟動mysqld服務失敗,報錯如下: [[email protected] ~]# service mysqld start Starting mysqld (via systemctl): Job for mysqld.service failed because the con

CentOS 7MySQL服務啟動失敗的解決思路

今天,啟動MySQL伺服器失敗,如下所示: [[email protected] ~]# /etc/init.d/mysqld start Starting mysqld (via systemctl): Job for mysqld.service fail

CentOS,mysql服務啟動失敗

失敗 問題 情況 rest mys 情況下 文件清空 bsp centos mysql服務啟動失敗,可以使用排除法查找原因: 如果修改了my.cnf後重啟mysql服務失敗,大多數情況下都是配置文件有錯誤, 可以通過備份原來的配置文件,然後將配置文件清空,只剩下[mysql

spring-boot不同包結構,同名類衝突導致服務啟動失敗解決方案

專案背景:   兩個專案的包結構和類名都很多相同,於是開始考慮使用加一級包進行隔離,類似於這種結構 但是在啟動的過程中,丟擲來這樣的異常: 1 2 3 4 5 6 7 8 9 Caused by: org.springframework.

阿裏雲CentOS 7.2 MySQL服務啟動失敗的解決思路

阿裏雲 centos 7.2 mysql服務啟動失敗的解決思路阿裏雲 CentOS 7.2 MySQL服務啟動失敗的解決思路前言 :昨天剛剛搭建好的MySQL讓老大看了一下,經過測試已經完成任務。但是今天早晨來的時候發現服務器被關了,此時我的心情崩潰的,但是我非常冷靜的解決了MySQL問題。如下:啟動MySQ

服務器異常斷電導致windowsmysql服務啟動報1067錯誤

nbsp 服務 數據庫 window 導致 錯誤 ble can blog 服務器異常斷電導致windows下mysql服務啟動報1067錯誤 1.進入在D:\candaoserver\mysql\下面的my.ini中添加一行 innodb_force_recovery

Haproxy—缺少/run/haproxy目錄,haproxy服務啟動失敗

haproxy問題描述:搭建haproxy的機器,因出現故障重啟了,然後發現haproxy服務出現異常。重新啟動haproxy服務的時候出現下面的錯誤: [root@dev115 log]# service haproxy start Starting haproxy (via systemctl): Jo

Win7Git服務端搭建

命令行 tps java應用程序 java xxx tor config 初始 tin 1. 安裝jdk-8u172-windows-x64.exe,使用缺省設置安裝   兩個JRE:   C:\Program Files\Java\jdk1.8.0_172\jre :

Nginx 服務語法正確,服務啟動失敗解決方法

ces nag -o text 描述 alt water 找到 roc 問題描述: 搭建好nginx服務後,啟動失敗,檢查語法正確,但是後面卻顯示配置文件沒有通過測試,自己找半天都沒找到原因,以下是我的錯誤詳情及解決方法: 總結:nginx服務默認以nobody身份運行,

97: Address family not supported by protocol,nginx服務啟動失敗

soc wid image protoc toc gin file 技術 14. 1、啟動nginx服務報錯 環境:centos 6.9,yum安裝的nginx,啟動報錯 [root@lnmp ~]# nginx -tnginx: the configuration fil

服務啟動失敗

ng- could schema led oot failed nbsp 解決方法 粘貼 1、關於Spring的問題之Failed to read schema document schema_reference.4: Failed to read schema docu

VisualSVN Server 服務啟動失敗,svn Cannot start service: 由於登入失敗而無法啟動服務。 (0x8007042D)

文章目錄 VisualSVN Server 服務啟動失敗,svn Cannot start service: 由於登入失敗而無法啟動服務。 (0x8007042D) 1、可能的原因 2、如何解決

mysql5.7 安裝,服務啟動失敗無data目錄處理

廢話:今天準備做Mysql相關的開發,決定本地裝個,以後也好除錯優化。 Mysql版本:5.7   來源:官網下載,下載後解壓,應該是這個綠色包。 跟著網上的教程安裝。 好,開始說問題。 第一個坑:my.ini my.ini裡面的路徑用的都是‘\’單斜槓的(反

【spring boot】base服務啟動失敗--Process finished with exit code 0

前言    小編在啟動spring boot專案的時候,遇到了一個問題base服務啟動後直接退出:Process finished with exit code 0,之前配置專案啟動Eureka的時候也是遇到了這個問題,當時控制檯沒有報錯資訊,是啟動的埠號與本地的IIS服務

【異常總結】mapper.xml檔案parameterType值導致的服務啟動失敗

錯誤日誌: 2018-10-24 15:09:25.796 ERROR [main] o.s.boot.SpringApplication:845- Application run failed org.springframework.beans.factory

mysql配置中吃的虧:服務啟動失敗服務沒有報告任何錯誤

[mysqld] # 設定為自己MYSQL的安裝目錄 basedir=D:\\mysql # 設定為MYSQL的資料目錄 datadir=D:\\mysql\\data default-storage-engine=INNODB character-set

websphere 7.0 控制檯中的企業服務啟動失敗 ( 嘗試處理伺服器 server1 時發生異常 )

 (  C:\IBM\WebSphere7.0\AppServer\profiles\Dmgr01\logs\server1\startServer.log ) [12-2-17 8:27:46:694 CST] 00000000 AdminTool     A   A

win7的IIS啟動配置(指定的引數已超出有效值的範圍,引數名:site)

ASP.NET簡介         ASP 是一項微軟公司的技術,是一種使嵌入網頁中的指令碼可由因特網伺服器執行的伺服器端指令碼技術。指 Active Server Pages(動態伺服器頁面)

Linux系統製作服務啟動指令碼(二)

上一篇部落格介紹了在/etc/init.d目錄下製作應用服務啟動和停止指令碼,其實在/usr/bin目錄下也可以製作這種指令碼,不過一般不推薦這種方式,先來看一下是怎麼製作的: vim編寫指令碼start.sh,將指令碼複製到/usr/bin目錄下,去掉字尾名 然後進入任何目