I am installing Sonarqube for the first time on a CentOS box and this is what I am getting. I have made no changes with the config files at all, just used the port number to be dynamic instead of 9000/9001. Any help will be appreciated.
root@xxx.xxx.xxxxx.xxxxxx.com-/opt/sonarqube-8.3.1.34397/bin/linux-x86-64 # ./sonar.sh console
Running SonarQube…
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 | 2020.05.12 10:28:18 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube-8.3.1.34397/temp
jvm 1 | 2020.05.12 10:28:18 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:44831
jvm 1 | 2020.05.12 10:28:18 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube-8.3.1.34397/elasticsearch]: /opt/sonarqube-8.3.1.34397/elasticsearch/bin/elasticsearch
jvm 1 | 2020.05.12 10:28:18 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | Exception in thread “EventWatcher[es]” java.lang.NoClassDefFoundError: org/apache/lucene/util/SetOnce
jvm 1 | at org.elasticsearch.common.settings.Settings$Builder.(Settings.java:787)
jvm 1 | at org.elasticsearch.common.settings.Settings$Builder.(Settings.java:782)
jvm 1 | at org.elasticsearch.common.settings.Settings.(Settings.java:84)