StartSonar.bat hangs - worked previously

Today I noticed that SonarQube is no longer starting as a service. I stopped the service, restarted it, and it did not work.

So I went into the bin folder and did everything step by step, installNTService.bat, StartNTService, then StartSonar.bat

It runs in a CMD window and then hangs with the following lines:

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.07.10 08:18:54 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory C:\SonarQube\var\sonarqube\temp
jvm 1 | 2019.07.10 08:18:54 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2019.07.10 08:18:54 INFO app[o.s.a.p.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [C:\SonarQube\elasticsearch]: C:\Program Files\Java\jre1.8.0_211\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:\SonarQube\var\sonarqube\temp\es6 -XX:ErrorFile=C:\SonarQube\logs\es_hs_err_pid%p.log -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\SonarQube\elasticsearch -Des.path.conf=C:\SonarQube\var\sonarqube\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1 | 2019.07.10 08:18:54 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | 2019.07.10 08:18:54 INFO app[o.e.p.PluginsService] no modules loaded
jvm 1 | 2019.07.10 08:18:54 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]

Hi,

Could you check the other log files please, especially logs/es.log?

++

Hi,

Why do you execute the StartSonar.bat after the StartNTService?
If Sonar runs as a service (you’ve installed the windows service with the 1st bat file), no need to start it again manually with the StartSonar.bat.

Check under Computer Managegemnt->Services if the windows service for sonar is in the running state. If yes, no need to start it with the bat file.

Regards,
Tamas

Looks like SonarStart.bat is failing to initialize the web serve when it says, “web service startup failed?”

Any idea why that would be happening?

   2019.07.11 14:53:20 INFO  web[][o.s.p.ProcessEntryPoint] Starting web
    2019.07.11 14:53:22 INFO  web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
    2019.07.11 14:53:24 INFO  web[][o.e.p.PluginsService] no modules loaded
    2019.07.11 14:53:24 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
    2019.07.11 14:53:24 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
    2019.07.11 14:53:24 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
    2019.07.11 14:53:27 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
    2019.07.11 14:53:27 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 7.7.0.23042 / 1dcac8b8de36b377a1810cc8f1c4c31744e12729
    2019.07.11 14:53:27 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://BRKPRCSQUBE1;databaseName=sonar;integratedSecurity=true
    2019.07.11 14:53:29 ERROR web[][o.s.s.p.Platform] Web server startup failed
    java.lang.IllegalStateException: Can not connect to database. Please check connectivity and settings (see the properties prefixed by 'sonar.jdbc.').
    	at org.sonar.db.DefaultDatabase.checkConnection(DefaultDatabase.java:119)
    	at org.sonar.db.DefaultDatabase.start(DefaultDatabase.java:85)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
    	at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
    	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
    	at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
    	at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
    	at org.picocontainer.behaviors.Stored.start(Stored.java:110)
    	at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)
    	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)
    	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
    	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
    	at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:90)
    	at org.sonar.server.platform.platformlevel.PlatformLevel1.start(PlatformLevel1.java:154)
    	at org.sonar.server.platform.Platform.start(Platform.java:211)
    	at org.sonar.server.platform.Platform.startLevel1Container(Platform.java:170)
    	at org.sonar.server.platform.Platform.init(Platform.java:86)
    	at org.sonar.server.platform.web.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:45)
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4817)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5283)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (Cannot open database "sonar" requested by the login. The login failed. ClientConnectionId:11d45a53-24c0-4059-83be-d3700d907527)
    	at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2385)
    	at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2110)
    	at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1563)
    	at org.sonar.db.profiling.NullConnectionInterceptor.getConnection(NullConnectionInterceptor.java:31)
    	at org.sonar.db.profiling.ProfiledDataSource.getConnection(ProfiledDataSource.java:317)
    	at org.sonar.db.DefaultDatabase.checkConnection(DefaultDatabase.java:116)
    	... 30 common frames omitted
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "sonar" requested by the login. The login failed. ClientConnectionId:11d45a53-24c0-4059-83be-d3700d907527
    	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:258)
    	at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256)
    	at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection$1LogonProcessor.complete(SQLServerConnection.java:4014)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4292)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3157)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:82)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3121)
    	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7151)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2478)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2026)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1687)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1528)
    	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:866)
    	at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:569)
    	at org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:53)
    	at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:291)
    	at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2395)
    	at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2381)
    	... 35 common frames omitted

I pasted the web logs showing a failure to load service above, here is the es.log entry:

2019.07.11 14:57:43 WARN  es[][o.e.c.s.ClusterApplierService] cluster state applier task [apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{gjdecsVwQbyz8F5FELoKTw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [12] source [shard-started StartedShardEntry{shardId [[rules][0]], allocationId [SurqoOi_R5SN4SCtrerKVA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[rules][0]], allocationId [SurqoOi_R5SN4SCtrerKVA], message [after existing store recovery; bootstrap_history_uuid=false]}]]])] took [48.9s] above the warn threshold of 30s
2019.07.11 14:57:43 WARN  es[][o.e.c.s.MasterService] cluster state update task [shard-started StartedShardEntry{shardId [[rules][0]], allocationId [SurqoOi_R5SN4SCtrerKVA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[rules][0]], allocationId [SurqoOi_R5SN4SCtrerKVA], message [after existing store recovery; bootstrap_history_uuid=false]}]] took [48.9s] above the warn threshold of 30s
2019.07.11 14:58:28 WARN  es[][o.e.c.s.MasterService] cluster state update task [shard-started StartedShardEntry{shardId [[projectmeasures][4]], allocationId [1NwnK47STUK77xz_8Kh4qw], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][4]], allocationId [1NwnK47STUK77xz_8Kh4qw], message [after existing store recovery; bootstrap_history_uuid=false]}]] took [43.4s] above the warn threshold of 30s
2019.07.11 14:58:28 WARN  es[][o.e.c.s.ClusterApplierService] cluster state applier task [apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{gjdecsVwQbyz8F5FELoKTw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [14] source [shard-started StartedShardEntry{shardId [[projectmeasures][4]], allocationId [1NwnK47STUK77xz_8Kh4qw], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][4]], allocationId [1NwnK47STUK77xz_8Kh4qw], message [after existing store recovery; bootstrap_history_uuid=false]}]]])] took [43.4s] above the warn threshold of 30s
2019.07.11 14:59:17 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[(C:)]], net usable_space [122.1gb], net total_space [149.5gb], types [NTFS]
2019.07.11 14:59:17 INFO  es[][o.e.e.NodeEnvironment] heap size [494.9mb], compressed ordinary object pointers [true]
2019.07.11 14:59:17 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [m-OY1cl5Sgmbu20r4RukRg]
2019.07.11 14:59:17 INFO  es[][o.e.n.Node] version[6.6.2], pid[6780], build[unknown/unknown/3bd3e59/2019-03-06T15:16:26.864148Z], OS[Windows Server 2016/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_211/25.211-b12]
2019.07.11 14:59:17 INFO  es[][o.e.n.Node] JVM arguments [-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:\SonarQube\var\sonarqube\temp\es6, -XX:ErrorFile=C:\SonarQube\logs\es_hs_err_pid%p.log, -Xms512m, -Xmx512m, -XX:+HeapDumpOnOutOfMemoryError, -Delasticsearch, -Des.path.home=C:\SonarQube\elasticsearch, -Des.path.conf=C:\SonarQube\var\sonarqube\temp\conf\es]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [mapper-extras]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [percolator]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [repository-url]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2019.07.11 14:59:18 INFO  es[][o.e.p.PluginsService] no plugins loaded
2019.07.11 14:59:21 WARN  es[][o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2019.07.11 14:59:22 INFO  es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2019.07.11 14:59:22 INFO  es[][o.e.n.Node] initialized
2019.07.11 14:59:22 INFO  es[][o.e.n.Node] starting ...
2019.07.11 14:59:22 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2019.07.11 14:59:25 INFO  es[][o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{fXO2NbTaQ1Si6euaeZLeVA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}
2019.07.11 14:59:25 INFO  es[][o.e.c.s.ClusterApplierService] new_master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{fXO2NbTaQ1Si6euaeZLeVA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{fXO2NbTaQ1Si6euaeZLeVA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
2019.07.11 14:59:25 INFO  es[][o.e.n.Node] started
2019.07.11 14:59:26 INFO  es[][o.e.g.GatewayService] recovered [7] indices into cluster_state
2019.07.11 15:00:17 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[(C:)]], net usable_space [122.1gb], net total_space [149.5gb], types [NTFS]
2019.07.11 15:00:17 INFO  es[][o.e.e.NodeEnvironment] heap size [494.9mb], compressed ordinary object pointers [true]
2019.07.11 15:00:18 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [m-OY1cl5Sgmbu20r4RukRg]
2019.07.11 15:00:18 INFO  es[][o.e.n.Node] version[6.6.2], pid[6052], build[unknown/unknown/3bd3e59/2019-03-06T15:16:26.864148Z], OS[Windows Server 2016/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_211/25.211-b12]
2019.07.11 15:00:18 INFO  es[][o.e.n.Node] JVM arguments [-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:\SonarQube\var\sonarqube\temp\es6, -XX:ErrorFile=C:\SonarQube\logs\es_hs_err_pid%p.log, -Xms512m, -Xmx512m, -XX:+HeapDumpOnOutOfMemoryError, -Delasticsearch, -Des.path.home=C:\SonarQube\elasticsearch, -Des.path.conf=C:\SonarQube\var\sonarqube\temp\conf\es]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [mapper-extras]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [percolator]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [repository-url]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2019.07.11 15:00:18 INFO  es[][o.e.p.PluginsService] no plugins loaded
2019.07.11 15:00:21 WARN  es[][o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2019.07.11 15:00:22 INFO  es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2019.07.11 15:00:23 INFO  es[][o.e.n.Node] initialized
2019.07.11 15:00:23 INFO  es[][o.e.n.Node] starting ...
2019.07.11 15:00:23 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2019.07.11 15:00:26 INFO  es[][o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}
2019.07.11 15:00:26 INFO  es[][o.e.c.s.ClusterApplierService] new_master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
2019.07.11 15:00:26 INFO  es[][o.e.n.Node] started
2019.07.11 15:00:26 INFO  es[][o.e.g.GatewayService] recovered [7] indices into cluster_state
2019.07.11 15:04:05 WARN  es[][o.e.c.s.ClusterApplierService] cluster state applier task [apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [13] source [shard-started StartedShardEntry{shardId [[projectmeasures][3]], allocationId [L3tXgTBsS36nevLzNT-SMA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][3]], allocationId [L3tXgTBsS36nevLzNT-SMA], message [after existing store recovery; bootstrap_history_uuid=false]}], shard-started StartedShardEntry{shardId [[projectmeasures][1]], allocationId [yirht4LvSUOdXX1m00JfeA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][1]], allocationId [yirht4LvSUOdXX1m00JfeA], message [after existing store recovery; bootstrap_history_uuid=false]}]]])] took [44.6s] above the warn threshold of 30s
2019.07.11 15:04:05 WARN  es[][o.e.c.s.MasterService] cluster state update task [shard-started StartedShardEntry{shardId [[projectmeasures][3]], allocationId [L3tXgTBsS36nevLzNT-SMA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][3]], allocationId [L3tXgTBsS36nevLzNT-SMA], message [after existing store recovery; bootstrap_history_uuid=false]}], shard-started StartedShardEntry{shardId [[projectmeasures][1]], allocationId [yirht4LvSUOdXX1m00JfeA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][1]], allocationId [yirht4LvSUOdXX1m00JfeA], message [after existing store recovery; bootstrap_history_uuid=false]}]] took [44.6s] above the warn threshold of 30s
2019.07.11 15:04:35 WARN  es[][o.e.t.TcpTransport] send message failed [channel: Netty4TcpChannel{localAddress=0.0.0.0/0.0.0.0:9001, remoteAddress=/127.0.0.1:51893}]
java.nio.channels.ClosedChannelException: null
	at io.netty.channel.AbstractChannel$AbstractUnsafe.write(...)(Unknown Source) ~[?:?]
2019.07.11 15:04:57 WARN  es[][o.e.c.s.MasterService] cluster state update task [shard-started StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} marked shard as initializing, but shard state is [POST_RECOVERY], mark shard as started]}[StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} marked shard as initializing, but shard state is [POST_RECOVERY], mark shard as started]}], shard-started StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [after existing store recovery; bootstrap_history_uuid=false]}]] took [50.3s] above the warn threshold of 30s
2019.07.11 15:04:57 WARN  es[][o.e.c.s.ClusterApplierService] cluster state applier task [apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [15] source [shard-started StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} marked shard as initializing, but shard state is [POST_RECOVERY], mark shard as started]}[StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} marked shard as initializing, but shard state is [POST_RECOVERY], mark shard as started]}], shard-started StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[projectmeasures][0]], allocationId [6VOqe9wiQs6YCokZyMtcxA], message [after existing store recovery; bootstrap_history_uuid=false]}]]])] took [50.3s] above the warn threshold of 30s
2019.07.11 15:05:04 WARN  es[][o.e.m.j.JvmGcMonitorService] [gc][277] overhead, spent [1.5s] collecting in the last [1.6s]
2019.07.11 15:05:50 WARN  es[][o.e.c.s.ClusterApplierService] cluster state applier task [apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [17] source [shard-started StartedShardEntry{shardId [[components][3]], allocationId [H1Bj_XmUSFKP_9YoP-ln7A], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[components][3]], allocationId [H1Bj_XmUSFKP_9YoP-ln7A], message [after existing store recovery; bootstrap_history_uuid=false]}]]])] took [51.6s] above the warn threshold of 30s
2019.07.11 15:05:50 WARN  es[][o.e.c.s.MasterService] cluster state update task [shard-started StartedShardEntry{shardId [[components][3]], allocationId [H1Bj_XmUSFKP_9YoP-ln7A], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[components][3]], allocationId [H1Bj_XmUSFKP_9YoP-ln7A], message [after existing store recovery; bootstrap_history_uuid=false]}]] took [51.6s] above the warn threshold of 30s
2019.07.11 15:06:37 WARN  es[][o.e.c.s.MasterService] cluster state update task [shard-started StartedShardEntry{shardId [[components][2]], allocationId [oWndcW4hRb-EmevC2shhRg], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[components][2]], allocationId [oWndcW4hRb-EmevC2shhRg], message [after existing store recovery; bootstrap_history_uuid=false]}]] took [46.3s] above the warn threshold of 30s
2019.07.11 15:06:37 WARN  es[][o.e.c.s.ClusterApplierService] cluster state applier task [apply cluster state (from master [master {sonarqube}{m-OY1cl5Sgmbu20r4RukRg}{2p3DF7lbRai_v1UFQb6RiQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [19] source [shard-started StartedShardEntry{shardId [[components][2]], allocationId [oWndcW4hRb-EmevC2shhRg], message [after existing store recovery; bootstrap_history_uuid=false]}[StartedShardEntry{shardId [[components][2]], allocationId [oWndcW4hRb-EmevC2shhRg], message [after existing store recovery; bootstrap_history_uuid=false]}]]])] took [46.3s] above the warn threshold of 30s
2019.07.11 15:06:39 INFO  es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]] ...]).

It also looks like I could be having issues accessing a .dll… the account I’m using to run it though has admin access, and I followed the directory and the file IS there.

C:\SonarQube\var\sonarqube\temp\es6\jna--924338610\jna5607985228070984390.dll