Waiting for elasticsearch to be up and running

  • which versions are you using (SonarQube 8.0, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve — to run sonarqube server in local machine
  • what have you tried so far to achieve this – to run sonarqube server in local machine

can anyone can help me in this below error.

C:\Sonar\bin\windows-x86-64>StartSonar.bat
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    | 2019.11.20 16:00:37 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Sonar\temp
jvm 1    | 2019.11.20 16:00:37 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1    | 2019.11.20 16:00:37 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\Sonar\elasticsearch]: C:\Progra~1\Java\jdk-13.0.1\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -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 -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=C:\Sonar\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -Xmx512m -Xms512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\Sonar\elasticsearch -Des.path.conf=C:\Sonar\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1    | 2019.11.20 16:00:37 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1    | Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
jvm 1    | 2019.11.20 16:00:37 INFO  app[][o.e.p.PluginsService] no modules loaded
jvm 1    | 2019.11.20 16:00:37 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1    | 2019.11.20 16:00:40 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
jvm 1    | 2019.11.20 16:00:40 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1    | 2019.11.20 16:00:40 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper  | <-- Wrapper Stopped

Welcome :slightly_smiling_face:

Sonarqube is not Java13-ready yet, you have to use Java11.

Gilbert

1 Like

okay let me try use JDK 11.0.5

it’s working :slight_smile: thank you so much @Rebse

how to make sure sonarqube should run all the time in local machine ? please help me in this

Sorry, i don’t understand the meaning of

You may run Sonarqube on premise if you’ve installed Sonarqube at your side
or via SonarCloud.io
If this is a new question not related to the current problem, you should create
a new topic.

Gilbert

You’re welcome
you may tag the answer as solution, for others with this problem searching solutions.

Gilbert