Error starting Sonarqube

2,926 views
Skip to first unread message

emr...@gmail.com

unread,
Apr 25, 2017, 11:41:41 AM4/25/17
to SonarQube
I'm using sonarqube 6.3.1 with default configuration

Thanks

es.log

2017.04.25 18:32:32 INFO  es[][o.s.p.ProcessEntryPoint] Starting es
2017.04.25 18:32:32 INFO  es[][o.s.s.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2017.04.25 18:32:32 INFO  es[][o.elasticsearch.node] [sonarqube] version[2.4.4], pid[5344], build[fcbb46d/2017-01-03T11:33:16Z]
2017.04.25 18:32:32 INFO  es[][o.elasticsearch.node] [sonarqube] initializing ...
2017.04.25 18:32:32 INFO  es[][o.e.plugins] [sonarqube] modules [], plugins [], sites []
2017.04.25 18:32:32 INFO  es[][o.elasticsearch.env] [sonarqube] using [1] data paths, mounts [[(C:)]], net usable_space [26.4gb], net total_space [111.2gb], spins? [unknown], types [NTFS]
2017.04.25 18:32:32 INFO  es[][o.elasticsearch.env] [sonarqube] heap size [990.7mb], compressed ordinary object pointers [true]
2017.04.25 18:32:34 INFO  es[][o.elasticsearch.node] [sonarqube] initialized
2017.04.25 18:32:34 INFO  es[][o.elasticsearch.node] [sonarqube] starting ...
2017.04.25 18:32:34 INFO  es[][o.e.transport] [sonarqube] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2017.04.25 18:32:34 INFO  es[][o.e.discovery] [sonarqube] sonarqube/PaYDkQb0Sg-AvuAldHJzyw
2017.04.25 18:32:38 INFO  es[][o.e.cluster.service] [sonarqube] new_master {sonarqube}{PaYDkQb0Sg-AvuAldHJzyw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube, master=true}, reason: zen-disco-join(elected_as_master, [0] joins received)
2017.04.25 18:32:38 INFO  es[][o.elasticsearch.node] [sonarqube] started
2017.04.25 18:32:38 INFO  es[][o.e.gateway] [sonarqube] recovered [0] indices into cluster_state
2017.04.25 18:32:48 INFO  es[][o.s.p.StopWatcher] Stopping process
2017.04.25 18:32:48 INFO  es[][o.elasticsearch.node] [sonarqube] stopping ...
2017.04.25 18:32:48 INFO  es[][o.elasticsearch.node] [sonarqube] stopped
2017.04.25 18:32:48 INFO  es[][o.elasticsearch.node] [sonarqube] closing ...
2017.04.25 18:32:48 INFO  es[][o.elasticsearch.node] [sonarqube] closed


sonar.log

--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2017.04.25 18:32:31 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube\temp
2017.04.25 18:32:31 INFO  app[][o.s.p.m.JavaProcessLauncher] Launch process[es]: C:\Program Files\Java\jre1.8.0_131\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\sonarqube\temp -javaagent:C:\Program Files\Java\jre1.8.0_131\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\sonarqube\temp\sq-process3463306471654904943properties
2017.04.25 18:32:38 INFO  app[][o.s.p.m.Monitor] Process[es] is up
2017.04.25 18:32:38 INFO  app[][o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jre1.8.0_131\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\sonarqube\temp -javaagent:C:\Program Files\Java\jre1.8.0_131\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;C:\sonarqube\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer C:\sonarqube\temp\sq-process2447271566778121971properties
2017.04.25 18:32:47 INFO  app[][o.s.p.m.Monitor] Process[es] is stopping
2017.04.25 18:32:48 ERROR app[][o.s.p.m.Monitor] Process[web] failed to start
2017.04.25 18:32:49 INFO  app[][o.s.p.m.Monitor] Process[es] is stopped
<-- Wrapper Stopped


web.log

2017.04.25 18:32:40 INFO  web[][o.s.p.ProcessEntryPoint] Starting web
2017.04.25 18:32:40 INFO  web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2017.04.25 18:32:40 INFO  web[][o.e.plugins] [X-Ray] modules [], plugins [], sites []
2017.04.25 18:32:41 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2017.04.25 18:32:41 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 6.3.1.21392 / 54be39f47d188340b14d4d9236bbf3d43b1db2ae
2017.04.25 18:32:41 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Starting embedded database on port 9092 with url jdbc:h2:tcp://localhost:9092/sonar
2017.04.25 18:32:41 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database started. Data stored in: C:\sonarqube\data
2017.04.25 18:32:41 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:h2:tcp://localhost:9092/sonar
2017.04.25 18:32:41 WARN  web[][o.s.d.DatabaseChecker] H2 database should be used for evaluation purpose only
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: C:\sonarqube
2017.04.25 18:32:42 INFO  web[][o.s.s.p.d.m.h.MigrationHistoryTableImpl] Creating table schema_migrations
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin C# [csharp] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Flex [flex] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Java [java] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin SonarJS [javascript] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin PHP [php] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Python [python] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Git [scmgit] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin SVN [scmsvn] installed
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin C# / 5.7.0.612 / 6c7d5830a41c62429eade2ead6e3fdf12a388856
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Flex / 2.3 / 79167f762219bea1fd181ff5ef6ca4b34abd1675
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Java / 4.5.0.8398 / f5a869c42a13d27735d57da1691ca167093a885b
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin PHP / 2.9.2.1744 / 949b3433f56b501573b08243bc8485b0585ad5a1
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Python / 1.7.0.1195 / 5c015d7ae2353373d3dc52a465d1cd805ab6535a
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.4.0.522 / 1309b92a587d1c8fd55a2981c69ceadc1f79e79c
2017.04.25 18:32:42 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarJS / 2.20.0.4207 / d65285af4c43250613fa9d176207aeda9176d20a
2017.04.25 18:32:44 INFO  web[][o.s.s.p.Platform] DB needs migration, entering safe mode
2017.04.25 18:32:44 INFO  web[][o.s.s.p.d.m.AutoDbMigration] Automatically perform DB migration on fresh install
2017.04.25 18:32:44 INFO  web[][o.s.s.p.Platform] DB has been updated, exiting safe mode
2017.04.25 18:32:45 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2017.04.25 18:32:45 INFO  web[][o.s.s.e.IndexCreator] Create index components
2017.04.25 18:32:45 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database stopped
2017.04.25 18:32:46 ERROR web[][o.a.c.c.C.[.[.[/]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.web.PlatformServletContextListener
java.lang.IllegalArgumentException: Custom Analyzer [ındex_words_analyzer] failed to find filter under name [word_filter]
at org.elasticsearch.index.analysis.CustomAnalyzerProvider.build(CustomAnalyzerProvider.java:76)
at org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:216)
at org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:70)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201)
at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:879)
at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:154)
at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:55)
at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:358)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:311)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:480)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:784)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2017.04.25 18:32:46 ERROR web[][o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file
2017.04.25 18:32:46 ERROR web[][o.a.c.c.StandardContext] Context [] startup failed due to previous errors
2017.04.25 18:32:46 INFO  web[][o.s.s.a.TomcatAccessLog] Web server is started
2017.04.25 18:32:46 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2017.04.25 18:32:46 WARN  web[][o.s.p.ProcessEntryPoint] Fail to start web
java.lang.IllegalStateException: Webapp did not start
at org.sonar.server.app.EmbeddedTomcat.isUp(EmbeddedTomcat.java:83)
at org.sonar.server.app.WebServer.isUp(WebServer.java:46)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:105)
at org.sonar.server.app.WebServer.main(WebServer.java:67)
2017.04.25 18:32:47 INFO  web[][o.s.s.a.TomcatAccessLog] Web server is stopped

Julien Lancelot

unread,
Apr 28, 2017, 9:42:19 AM4/28/17
to emr...@gmail.com, SonarQube
Hi,

You should probably delete your data/es folder : 
  • Stop the SonarQube server
  • Remove the {SONAR_QUBE}/data/es folder
  • Restart the server
Regards,

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/55b10172-f6c4-4641-aff8-de5e9df6cd8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Julien Lancelot | SonarSource

Emre ÇAĞLAR

unread,
Apr 28, 2017, 10:23:31 AM4/28/17
to Julien Lancelot, SonarQube
Thank you for your help but I tried this solution but it didn't work.

28 Nis 2017 16:42 tarihinde "Julien Lancelot" <julien....@sonarsource.com> yazdı:
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
Message has been deleted

Nurhan Yagci

unread,
Sep 26, 2017, 7:45:23 AM9/26/17
to SonarQube
I changed my regional and language settings to English. (Control Panel->Clock, Language, and Region->egion and Language-> Administrative->Change System Locale->English(US).) Then restarted my computer, that solved my problem.

On Tue, Sep 26, 2017 at 2:06 PM, nrh ygc <nurhan...@gmail.com> wrote:
Hi,
Is somebody find any solution for this problem?
I am getting same error and could not find any solution.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
--
Julien Lancelot | SonarSource

--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/nxFg7wx_hPY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/9e169cba-8852-4cbb-8c24-b7db536235af%40googlegroups.com.

Nurhan Yagci

unread,
Sep 26, 2017, 7:46:12 AM9/26/17
to SonarQube
I changed my regional and language settings to English. (Control Panel->Clock, Language, and Region->egion and Language-> Administrative->Change System Locale->English(US).) Then restarted my computer, that solved my problem.
On Tue, Sep 26, 2017 at 2:06 PM, nrh ygc <nurhan...@gmail.com> wrote:
Hi,
Is somebody find any solution for this problem?
I am getting same error and could not find any solution.

On Friday, April 28, 2017 at 5:23:31 PM UTC+3, Emre ÇAĞLAR wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
--
Julien Lancelot | SonarSource

--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/nxFg7wx_hPY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/9e169cba-8852-4cbb-8c24-b7db536235af%40googlegroups.com.

G. Ann Campbell

unread,
Sep 27, 2017, 8:50:03 AM9/27/17
to SonarQube
Hi,

Thanks for reporting this. We've created a ticket:

  1. SONAR-9890
  2. Elasticsearch startup fails with Turkish locale

Ann

daniel....@sonarsource.com

unread,
Sep 27, 2017, 8:50:53 AM9/27/17
to SonarQube
Thanks a lot for your report and your patience.

This issue is tracked as https://jira.sonarsource.com/browse/SONAR-9890 and I'm currently working on a solution.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages