SonarQube Installation Error

I get following error when I’m trying to run StartSonar.bat. Can someone please help me to figure out what this is
What I already Tried:
Changing sonar.search.port and sonar.web.port properties.

wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | 2022.04.02 06:57:19 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube-9.3.0.51899\temp
jvm 1    | 2022.04.02 06:57:19 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:1667]
jvm 1    | 2022.04.02 06:57:19 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\sonarqube-9.3.0.51899\elasticsearch]: C:\jdk-11.0.13\bin\java -XX:+UseG1GC -Djava.io.tmpdir=C:\sonarqube-9.3.0.51899\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djna.tmpdir=C:\sonarqube-9.3.0.51899\temp -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dio.netty.allocator.numDirectArenas=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j2.formatMsgNoLookups=true -Djava.locale.providers=COMPAT -Dcom.redhat.fips=false -Xmx512m -Xms512m -XX:MaxDirectMemorySize=256m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\sonarqube-9.3.0.51899\elasticsearch -Des.path.conf=C:\sonarqube-9.3.0.51899\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1    | 2022.04.02 06:57:19 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1    | 2022.04.02 06:57:19 ERROR app[][o.s.a.p.EsManagedProcess] Failed to check status
jvm 1    | org.elasticsearch.ElasticsearchException: java.util.concurrent.ExecutionException: org.elasticsearch.client.ResponseException: method [GET], host [http://127.0.0.1:9001], URI [/], status line [HTTP/1.1 404 Not Found]
jvm 1    | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
jvm 1    | <HTML><HEAD><TITLE>Not Found</TITLE>
jvm 1    | <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
jvm 1    | <BODY><h2>Not Found</h2>
jvm 1    | <hr><p>HTTP Error 404. The requested resource is not found.</p>
jvm 1    | </BODY></HTML>
jvm 1    |
jvm 1    |      at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2695)
jvm 1    |      at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171)
jvm 1    |      at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:2137)
jvm 1    |      at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:2105)
jvm 1    |      at org.elasticsearch.client.ClusterClient.health(ClusterClient.java:151)
jvm 1    |      at org.sonar.application.es.EsConnectorImpl.getClusterHealthStatus(EsConnectorImpl.java:64)
jvm 1    |      at org.sonar.application.process.EsManagedProcess.checkStatus(EsManagedProcess.java:97)
jvm 1    |      at org.sonar.application.process.EsManagedProcess.checkOperational(EsManagedProcess.java:82)
jvm 1    |      at org.sonar.application.process.EsManagedProcess.isOperational(EsManagedProcess.java:67)
jvm 1    |      at org.sonar.application.process.ManagedProcessHandler.refreshState(ManagedProcessHandler.java:220)
jvm 1    |      at org.sonar.application.process.ManagedProcessHandler$EventWatcher.run(ManagedProcessHandler.java:285)
jvm 1    | Caused by: java.util.concurrent.ExecutionException: org.elasticsearch.client.ResponseException: method [GET], host [http://127.0.0.1:9001], URI [/], status line [HTTP/1.1 404 Not Found]
jvm 1    | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
jvm 1    | <HTML><HEAD><TITLE>Not Found</TITLE>
jvm 1    | <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
jvm 1    | <BODY><h2>Not Found</h2>
jvm 1    | <hr><p>HTTP Error 404. The requested resource is not found.</p>
jvm 1    | </BODY></HTML>
jvm 1    |
jvm 1    |      at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:257)
jvm 1    |      at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:244)
jvm 1    |      at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:75)
jvm 1    |      at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2692)
jvm 1    |      ... 10 common frames omitted
jvm 1    | Caused by: org.elasticsearch.client.ResponseException: method [GET], host [http://127.0.0.1:9001], URI [/], status line [HTTP/1.1 404 Not Found]
jvm 1    | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
jvm 1    | <HTML><HEAD><TITLE>Not Found</TITLE>
jvm 1    | <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
jvm 1    | <BODY><h2>Not Found</h2>
jvm 1    | <hr><p>HTTP Error 404. The requested resource is not found.</p>
jvm 1    | </BODY></HTML>
jvm 1    |
jvm 1    |      at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:331)
jvm 1    |      at org.elasticsearch.client.RestClient.access$1800(RestClient.java:106)
jvm 1    |      at org.elasticsearch.client.RestClient$1.completed(RestClient.java:381)
jvm 1    |      at org.elasticsearch.client.RestClient$1.completed(RestClient.java:377)
jvm 1    |      at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122)
jvm 1    |      at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181)
jvm 1    |      at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448)
jvm 1    |      at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338)
jvm 1    |      at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265)

Error Continues but cannot enter due to character limit

Hi,

Welcome to the community!

You’ve gotten a 404 for an internal check between processes within SonarQube. That’s odd, & I suspect you have something else on this box that’s intercepting the call. I’d start by checking your server logs to see what they say. And then, of course, take a look around to see what’s serving that 404.

 
HTH,
Ann