Can't start Sonarqube-9.7.1.62043

Hi Guys,
I downloaded “Sonarqube-9.7.1.62043 Community Edition” and want to start it on my machine (Win 10). But when i run the StartSonar.bat, the window is always closing after few time and Sonar don’t start.

This is what i get :

2022.11.29 17:58:51 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube-9.7.1.62043\temp
2022.11.29 17:58:51 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:54514]
2022.11.29 17:58:51 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\sonarqube-9.7.1.62043\elasticsearch]: C:\Program Files\Java\jdk-11.0.15.1\bin\java -XX:+UseG1GC -Djava.io.tmpdir=C:\sonarqube-9.7.1.62043\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.7.1.62043\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.7.1.62043\elasticsearch -Des.path.conf=C:\sonarqube-9.7.1.62043\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
2022.11.29 17:58:51 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2022.11.29 17:58:57 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2022.11.29 17:58:57 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [C:\sonarqube-9.7.1.62043]: C:\Program Files\Java\jdk-11.0.15.1\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\sonarqube-9.7.1.62043\temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.7.1.62043.jar;C:\sonarqube-9.7.1.62043\lib\jdbc\h2\h2-2.1.214.jar org.sonar.server.app.WebServer C:\sonarqube-9.7.1.62043\temp\sq-process2661874316511307618properties
2022.11.29 17:58:57 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2022.11.29 17:58:57 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2022.11.29 17:58:57 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

I was looking for similar cases on the network and try many solutions but no one has solved my problem.

Is anyone could help me?

Thank you.

Hi,

Welcome to the community!

What do your server logs say?

 
Ann

Thank you.

Which log should I look at?

Hi,

There are only three. Maybe check them all?

 
Ann

I’m installing the enterprise version in Windows Server 2012 R2, it also we have 4 cores and 8GB RAM, and we have the same problem because when I execute StartSonar.bat, my Server is very slowly. What can we do?

Hi @edgar2704,

Welcome to the community!

Yours is a different issue. Please start a new thread & provide all your details there.

 
Ann