I tried to install sonarqube on Windows Server 2016. No problem during the installation and I even got access to the web interface. Everything is working just fine.
But, I had to restart my server. Now Sonarqube refuses to start again.
Here the 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.
2018.05.25 15:51:26 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube\sonarqube-6.7.3\temp
2018.05.25 15:51:26 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2018.05.25 15:51:26 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\sonarqube\sonarqube-6.7.3\elasticsearch]: C:\Program Files\Java\jdk1.8.0_171\jre\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -Xms2048m -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\sonarqube\sonarqube-6.7.3\elasticsearch -cp lib/* org.elasticsearch.bootstrap.Elasticsearch -Epath.conf=C:\sonarqube\sonarqube-6.7.3\temp\conf\es
2018.05.25 15:51:26 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2018.05.25 15:51:27 INFO app[][o.e.p.PluginsService] no modules loaded
2018.05.25 15:51:27 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2018.05.25 15:51:31 DEBUG app[][i.netty.util.NetUtil] Failed to get SOMAXCONN from sysctl and file \proc\sys\net\core\somaxconn. Default: 200
2018.05.25 15:51:34 DEBUG app[][o.e.c.t.TransportClientNodesService] failed to connect to node [{#transport#-1}{rUfN9MfRR1yx1epNtNzu6A}{127.0.0.1}{127.0.0.1:9001}], ignoring...
2018.05.25 15:51:34 DEBUG app[][o.s.a.p.EsProcessMonitor] Connected to Elasticsearch node: [127.0.0.1:9001]
2018.05.25 15:51:36 DEBUG app[][o.e.c.t.TransportClientNodesService] failed to connect to node [{#transport#-1}{rUfN9MfRR1yx1epNtNzu6A}{127.0.0.1}{127.0.0.1:9001}], ignoring...
2018.05.25 15:51:41 DEBUG app[][o.e.t.n.Netty4Transport] connected to node [{sonarqube}{CFUKuUDmTQ2UsgzJtMo9sA}{-uBZwbFUTHyRUFcE7jQ78w}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}]
2018.05.25 15:51:48 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2018.05.25 15:51:48 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [C:\sonarqube\sonarqube-6.7.3]: C:\Program Files\Java\jdk1.8.0_171\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\sonarqube\sonarqube-6.7.3\temp -Xmx2048m -Xms2048m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*;./lib/server/*;C:\sonarqube\sonarqube-6.7.3\lib\jdbc\mssql\mssql-jdbc-6.2.2.jre8.jar org.sonar.server.app.WebServer C:\sonarqube\sonarqube-6.7.3\temp\sq-process5165540938815359073properties
2018.05.25 15:52:10 DEBUG app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [web]: 0
2018.05.25 15:52:10 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
2018.05.25 15:52:10 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
2018.05.25 15:52:10 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
the web.log :
2018.05.25 15:51:48 INFO web[][o.s.p.ProcessEntryPoint] Starting web
2018.05.25 15:51:49 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2018.05.25 15:51:51 INFO web[][o.e.p.PluginsService] no modules loaded
2018.05.25 15:51:51 INFO web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.index.reindex.ReindexPlugin]
2018.05.25 15:51:51 INFO web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2018.05.25 15:51:51 INFO web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2018.05.25 15:51:51 INFO web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2018.05.25 15:51:52 DEBUG web[][i.n.c.MultithreadEventLoopGroup] -Dio.netty.eventLoopThreads: 2
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] Platform: Windows
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] -Dio.netty.noUnsafe: false
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] Java version: 8
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] sun.misc.Unsafe.theUnsafe: available
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] sun.misc.Unsafe.copyMemory: available
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] java.nio.Buffer.address: available
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] direct buffer constructor: available
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] java.nio.Bits.unaligned: available, true
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent0] java.nio.DirectByteBuffer.<init>(long, int): available
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] sun.misc.Unsafe: available
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] -Dio.netty.tmpdir: C:\sonarqube\sonarqube-6.7.3\temp (java.io.tmpdir)
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] -Dio.netty.bitMode: 64 (sun.arch.data.model)
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] -Dio.netty.noPreferDirect: false
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] -Dio.netty.maxDirectMemory: 2075918336 bytes
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] -Dio.netty.uninitializedArrayAllocationThreshold: -1
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.CleanerJava6] java.nio.ByteBuffer.cleaner(): available
2018.05.25 15:51:52 DEBUG web[][i.n.c.n.NioEventLoop] -Dio.netty.noKeySetOptimization: false
2018.05.25 15:51:52 DEBUG web[][i.n.c.n.NioEventLoop] -Dio.netty.selectorAutoRebuildThreshold: 512
2018.05.25 15:51:52 DEBUG web[][i.n.u.i.PlatformDependent] org.jctools-core.MpscChunkedArrayQueue: available
2018.05.25 15:51:52 DEBUG web[][i.n.c.DefaultChannelId] -Dio.netty.processId: 5492 (auto-detected)
2018.05.25 15:51:52 DEBUG web[][i.netty.util.NetUtil] -Djava.net.preferIPv4Stack: false
2018.05.25 15:51:52 DEBUG web[][i.netty.util.NetUtil] -Djava.net.preferIPv6Addresses: false
2018.05.25 15:51:52 DEBUG web[][i.netty.util.NetUtil] Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1)
2018.05.25 15:51:52 DEBUG web[][i.netty.util.NetUtil] Failed to get SOMAXCONN from sysctl and file \proc\sys\net\core\somaxconn. Default: 200
2018.05.25 15:51:52 DEBUG web[][i.n.c.DefaultChannelId] -Dio.netty.machineId: 00:15:5d:ff:fe:01:ab:03 (auto-detected)
2018.05.25 15:51:52 DEBUG web[][i.n.u.ResourceLeakDetector] -Dio.netty.leakDetection.level: simple
2018.05.25 15:51:52 DEBUG web[][i.n.u.ResourceLeakDetector] -Dio.netty.leakDetection.maxRecords: 4
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.numHeapArenas: 2
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.numDirectArenas: 2
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.pageSize: 8192
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.maxOrder: 11
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.chunkSize: 16777216
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.tinyCacheSize: 512
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.smallCacheSize: 256
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.normalCacheSize: 64
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.maxCachedBufferCapacity: 32768
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.cacheTrimInterval: 8192
2018.05.25 15:51:52 DEBUG web[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.useCacheForAllThreads: true
2018.05.25 15:51:52 DEBUG web[][i.n.b.ByteBufUtil] -Dio.netty.allocator.type: pooled
2018.05.25 15:51:52 DEBUG web[][i.n.b.ByteBufUtil] -Dio.netty.threadLocalDirectBufferSize: 65536
2018.05.25 15:51:52 DEBUG web[][i.n.b.ByteBufUtil] -Dio.netty.maxThreadLocalCharBufferSize: 16384
2018.05.25 15:51:52 DEBUG web[][i.n.b.AbstractByteBuf] -Dio.netty.buffer.bytebuf.checkAccessible: true
2018.05.25 15:51:52 DEBUG web[][i.n.u.ResourceLeakDetectorFactory] Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector#497e6350
2018.05.25 15:51:52 DEBUG web[][i.n.util.Recycler] -Dio.netty.recycler.maxCapacityPerThread: 32768
2018.05.25 15:51:52 DEBUG web[][i.n.util.Recycler] -Dio.netty.recycler.maxSharedCapacityFactor: 2
2018.05.25 15:51:52 DEBUG web[][i.n.util.Recycler] -Dio.netty.recycler.linkCapacity: 16
2018.05.25 15:51:52 DEBUG web[][i.n.util.Recycler] -Dio.netty.recycler.ratio: 8
2018.05.25 15:51:53 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2018.05.25 15:51:53 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 6.7.3.38370 / baa823c2ae6ed4dd406b2ef12bc5ac6201e466f9
2018.05.25 15:51:53 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://localhost;databaseName=sonar
2018.05.25 15:52:09 ERROR web[][o.s.s.p.Platform] Web server startup failed
I've tried to change a lots of settings in .conf of sonar and wrapper without any success. Can anyone help ? I can provide more info if needed.
Thanks a lot!
Related
When I tried to start the sonarqube it gives me following errors.
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2019.08.19 17:30:23 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.08.19 17:30:23 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.08.19 17:30:23 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.08.19 17:30:23 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.08.19 17:30:24 INFO app[][o.e.p.PluginsService] no modules loaded
2019.08.19 17:30:24 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.08.19 17:30:41 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2019.08.19 17:30:41 INFO app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.08.19 17:30:41 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
I can't find any solution for this problem and I really need some help to run sonarqube. I might have done something wrong, but I've followed sonarqube documentation for installation.
And this is the es.log file
Server VM/11.0.4/11.0.4+11-post-Ubuntu-1ubuntu218.04.3]
2019.08.20 20:38:29 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=/opt/sonarqube/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.enforce.bootstrap.checks=true, -Xms512m, -Xmx512m, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [mapper-extras]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [percolator]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [repository-url]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2019.08.20 20:38:30 INFO es[][o.e.p.PluginsService] no plugins loaded
2019.08.20 20:38:34 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.08.20 20:38:36 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2019.08.20 20:38:36 INFO es[][o.e.n.Node] initialized
2019.08.20 20:38:36 INFO es[][o.e.n.Node] starting ...
2019.08.20 20:38:37 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2019.08.20 20:38:37 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2019.08.20 20:38:37 ERROR es[][o.e.b.Bootstrap] node validation exception
[1] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
2019.08.20 20:38:37 INFO es[][o.e.n.Node] stopping ...
2019.08.20 20:38:37 INFO es[][o.e.n.Node] stopped
2019.08.20 20:38:37 INFO es[][o.e.n.Node] closing ...
2019.08.20 20:38:37 INFO es[][o.e.n.Node] closed
Elasticsearch is not starting, see the logs :
2019.08.20 20:38:37 ERROR es[][o.e.b.Bootstrap] node validation exception
[1] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
And here is what they say in their doc:
Elasticsearch uses a lot of file descriptors or file handles. Running
out of file descriptors can be disastrous and will most probably lead
to data loss. Make sure to increase the limit on the number of open
files descriptors for the user running Elasticsearch to 65,536 or
higher.
Therefore you need to increase the limit:
For the .zip and .tar.gz packages, set ulimit -n 65535 as root before
starting Elasticsearch, or set nofile to 65535 in
/etc/security/limits.conf.
Solution is withing the sonar.service file which should be stayed in /etc/systemd/system.sonar.service
[Unit]
Description=SonarQube service
After=syslog.target network.target
[Service]
Type=simple
User=sonarqube
Group=sonarqube
PermissionsStartOnly=true
ExecStart=/bin/nohup /opt/java/bin/java -Xms32m -Xmx32m -Djava.net.preferIPv4Stack=true -jar /opt/sonarqube/lib/sonar-application-7.4.jar
StandardOutput=syslog
LimitNOFILE=65536
LimitNPROC=8192
TimeoutStartSec=5
Restart=always
[Install]
WantedBy=multi-user.target
You have to define the file limit on the service
You need to set fs.file-max to increase max file descriptors.
sysctl -w fs.file-max=65535
You're likely to also need to set the vm.max-map-count
sysctl -w vm.max_map_count=262144
I have installed Sonar on a windows machine and when I am trying to run it am getting the below error and the sonar is not coming up.
Could someone help on this.
Sonar start up log (below) -
*Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
D:\Agile\NewSonarQube\sonarqube-5.6.6\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.06.24 16:30:05 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory D:\Agile\NewSonarQube\sonarqube-5.6.6\temp
jvm 1 | 2019.06.24 16:30:26 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+
UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\
sq-process5784289335367032457properties
jvm 1 | 2019.06.24 16:32:29 INFO app[o.s.p.m.Monitor] Process[es] is up
jvm 1 | 2019.06.24 16:32:29 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError
-Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.ser
ver.app.WebServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process7712868170609596655properties
jvm 1 | 2019.06.24 16:34:52 INFO app[o.s.p.m.Monitor] Process[web] is up
jvm 1 | 2019.06.24 16:34:52 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQub
e\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;./lib/ce/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.ce.app.CeServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-
process6453747015728432890properties
jvm 1 | 2019.06.24 16:35:21 INFO app[o.s.p.m.Monitor] Process[ce] is up
jvm 1 | 2019.06.24 16:35:21 INFO app[o.s.p.m.Monitor] Process[web] is stopping
jvm 1 | 2019.06.24 16:35:30 INFO app[o.s.p.m.Monitor] Process[web] is stopped
jvm 1 | 2019.06.24 16:35:30 INFO app[o.s.p.m.Monitor] Process[es] is stopping
jvm 1 | 2019.06.24 16:35:33 INFO app[o.s.p.m.Monitor] Process[es] is stopped
wrapper | <-- Wrapper Stopped*
Also attaching the 'sonar.log' here below -
--> 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.
2019.07.03 11:24:28 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory D:\Agile\NewSonarQube\sonarqube-5.6.6\temp
2019.07.03 11:24:30 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process7809422627146396746properties
2019.07.03 11:24:30 INFO es[o.s.p.ProcessEntryPoint] Starting es
2019.07.03 11:24:30 INFO es[o.s.s.EsSettings] Elasticsearch listening on 127.0.0.1:9001
2019.07.03 11:24:31 INFO es[o.elasticsearch.node] [sonar-1562133268619] version[1.7.5], pid[8484], build[00f95f4/2016-02-02T09:55:30Z]
2019.07.03 11:24:31 INFO es[o.elasticsearch.node] [sonar-1562133268619] initializing ...
2019.07.03 11:24:31 INFO es[o.e.plugins] [sonar-1562133268619] loaded [], sites []
2019.07.03 11:24:31 INFO es[o.elasticsearch.env] [sonar-1562133268619] using [1] data paths, mounts [[(D:)]], net usable_space [79.6gb], net total_space [131.9gb], types [NTFS]
2019.07.03 11:24:32 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2019.07.03 11:24:33 INFO es[o.elasticsearch.node] [sonar-1562133268619] initialized
2019.07.03 11:24:33 INFO es[o.elasticsearch.node] [sonar-1562133268619] starting ...
2019.07.03 11:24:33 INFO es[o.e.transport] [sonar-1562133268619] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]}
2019.07.03 11:24:33 INFO es[o.e.discovery] [sonar-1562133268619] sonarqube/XGZJsELLSXuNlBZ4G449tw
2019.07.03 11:24:36 INFO es[o.e.cluster.service] [sonar-1562133268619] new_master [sonar-1562133268619][XGZJsELLSXuNlBZ4G449tw][CLBBLR-5070][inet[/127.0.0.1:9001]]{rack_id=sonar-1562133268619}, reason: zen-disco-join (elected_as_master)
2019.07.03 11:24:36 INFO es[o.elasticsearch.node] [sonar-1562133268619] started
2019.07.03 11:24:36 INFO es[o.e.gateway] [sonar-1562133268619] recovered [6] indices into cluster_state
2019.07.03 11:24:39 INFO app[o.s.p.m.Monitor] Process[es] is up
2019.07.03 11:24:39 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.server.app.WebServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process6230173931576405711properties
2019.07.03 11:24:40 INFO web[o.s.p.ProcessEntryPoint] Starting web
2019.07.03 11:24:41 INFO web[o.s.s.a.TomcatContexts] Webapp directory: D:\Agile\NewSonarQube\sonarqube-5.6.6\web
2019.07.03 11:24:41 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:24:41 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2019.07.03 11:24:42 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.6.6 / e8e13145497bb920921ae4fe11b09f0903f1d298
2019.07.03 11:24:42 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://localhost/sonar
2019.07.03 11:24:43 INFO web[o.s.s.p.DefaultServerFileSystem] SonarQube home: D:\Agile\NewSonarQube\sonarqube-5.6.6
2019.07.03 11:24:43 INFO web[o.e.plugins] [sonar-1562133268619] loaded [], sites []
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Android / 1.1 / 9ab2bbcc83177e67c74d365f009bfe05bf38c7e3
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin C# / 6.3.0.2862 / 1600df4ea68defd03b270da8e2935cfbf342cd8e
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin CSS / SCSS / Less / 3.1 / 58a0a86a53f82a8486a5ee93681257e1ae0a10c8
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Checkstyle / 3.7 /
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Cobertura / 1.7 / d14b7978322d19a2795286ebfed225a57b13c3af
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin CodeCracker for C# / 1.0.1
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin ESLint / 0.1.1
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin PL/SQL (Community) / 2.0.0-SNAPSHOT /
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin PMD / 2.6 / f419f834b4bea51f9b6da33517b7f6186db5c066
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.3 / aff503d48bc77b07c2b62abf93249d0a20bd355c
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarJS / 3.1.1.5128 / 564d130c281685fde03e85964417158e32a17b2b
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarJava / 4.12.0.11033 / fa9fe66b0cb1b6ab8d7f341cc1f7908897a9cf33
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarPHP / 2.11.0.2485 / 741861a29e5f9a26c6c99c06268facb6c4f4a882
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarXML / 1.4.3.1027 / 39588245cecf538bb27be4e496ff303b0143d20b
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Sonargraph / 3.5
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Timeline / 1.5 / a9cae1328fd455a128b5d7d603381f47398c6e2a
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin TypeScript / 1.2.0-rc1
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Web / 2.5.0.476 / 636872f5d37fa7a440fe07d08d504e1a881225e5
2019.07.03 11:24:47 INFO web[o.s.s.p.RailsAppsDeployer] Deploying Ruby on Rails applications
2019.07.03 11:24:49 INFO web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2019.07.03 11:24:49 INFO web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.)
2019.07.03 11:24:49 INFO web[o.s.s.s.RegisterMetrics] Register metrics
2019.07.03 11:24:50 INFO web[o.s.s.r.RegisterRules] Register rules
2019.07.03 11:24:53 INFO web[o.s.s.q.RegisterQualityProfiles] Register quality profiles
2019.07.03 11:24:56 INFO web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters
2019.07.03 11:24:56 INFO web[o.s.s.s.RegisterDashboards] Register dashboards
2019.07.03 11:24:56 INFO web[o.s.s.s.RegisterPermissionTemplates] Register permission templates
2019.07.03 11:24:56 INFO web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2019.07.03 11:24:56 INFO web[o.s.s.e.IndexerStartupTask] Index activities
2019.07.03 11:24:56 INFO web[o.s.s.e.IndexerStartupTask] Index issues
2019.07.03 11:24:57 INFO web[o.s.s.e.IndexerStartupTask] Index tests
2019.07.03 11:24:57 INFO web[o.s.s.e.IndexerStartupTask] Index users
2019.07.03 11:24:57 INFO web[o.s.s.e.IndexerStartupTask] Index views
2019.07.03 11:24:57 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_65-b17 [Windows 7-amd64]
2019.07.03 11:24:57 INFO web[jruby.rack] using a shared (threadsafe!) runtime
2019.07.03 11:25:09 INFO web[jruby.rack] keeping custom (config.logger) Rails logger instance
2019.07.03 11:25:09 INFO web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter#649f4774 [pattern=/sessions/init/*]
2019.07.03 11:25:09 INFO web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter#18a75007 [pattern=/oauth2/callback/*]
2019.07.03 11:25:09 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:09 INFO web[o.s.s.a.TomcatAccessLog] Web server is started
2019.07.03 11:25:09 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2019.07.03 11:25:09 INFO app[o.s.p.m.Monitor] Process[web] is up
2019.07.03 11:25:09 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;./lib/ce/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.ce.app.CeServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process9172021716354276652properties
2019.07.03 11:25:10 INFO ce[o.s.p.ProcessEntryPoint] Starting ce
2019.07.03 11:25:10 INFO ce[o.s.ce.app.CeServer] Compute Engine starting up...
2019.07.03 11:25:10 INFO ce[o.s.s.p.ServerImpl] SonarQube Server / 5.6.6 / e8e13145497bb920921ae4fe11b09f0903f1d298
2019.07.03 11:25:10 INFO ce[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://localhost/sonar
2019.07.03 11:25:11 INFO ce[o.s.s.p.DefaultServerFileSystem] SonarQube home: D:\Agile\NewSonarQube\sonarqube-5.6.6
2019.07.03 11:25:11 INFO ce[o.e.plugins] [sonar-1562133268619] loaded [], sites []
2019.07.03 11:25:12 INFO ce[o.s.c.c.CePluginRepository] Load plugins
2019.07.03 11:25:17 ERROR ce[o.s.ce.app.CeServer] Compute Engine startup failed
org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ce_activity_uuid"
Detail: Key (uuid)=(AWpKhMdKhBAmaVnZ4vza) already exists.
### The error may involve org.sonar.db.ce.CeActivityMapper.insert-Inline
### The error occurred while setting parameters
### SQL: insert into ce_activity (uuid, component_uuid, snapshot_id, status, task_type, is_last, is_last_key, submitter_login, submitted_at, started_at, executed_at, created_at, updated_at, execution_time_ms) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ce_activity_uuid"
Detail: Key (uuid)=(AWpKhMdKhBAmaVnZ4vza) already exists.
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:154) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:141) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:51) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52) ~[mybatis-3.2.7.jar:3.2.7]
at com.sun.proxy.$Proxy39.insert(Unknown Source) ~[na:na]
at org.sonar.db.ce.CeActivityDao.insert(CeActivityDao.java:51) ~[sonar-db-5.6.6.jar:na]
at org.sonar.ce.queue.CeQueueImpl.remove(CeQueueImpl.java:181) ~[sonar-server-5.6.6.jar:na]
at org.sonar.ce.queue.CeQueueImpl.cancelImpl(CeQueueImpl.java:156) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.InternalCeQueueImpl.cancel(InternalCeQueueImpl.java:128) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueCleaner.verifyConsistency(CeQueueCleaner.java:81) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueCleaner.clean(CeQueueCleaner.java:59) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueInitializer.initCe(CeQueueInitializer.java:59) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueInitializer.onServerStart(CeQueueInitializer.java:51) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.platform.ServerLifecycleNotifier.notifyStart(ServerLifecycleNotifier.java:67) ~[sonar-server-5.6.6.jar:na]
at org.sonar.ce.container.ComputeEngineContainerImpl.startupTasks(ComputeEngineContainerImpl.java:631) ~[sonar-ce-5.6.6.jar:na]
at org.sonar.ce.container.ComputeEngineContainerImpl.start(ComputeEngineContainerImpl.java:619) ~[sonar-ce-5.6.6.jar:na]
at org.sonar.ce.ComputeEngineImpl.startup(ComputeEngineImpl.java:43) ~[sonar-ce-5.6.6.jar:na]
at org.sonar.ce.app.CeServer$CeMainThread.startup(CeServer.java:175) [sonar-ce-5.6.6.jar:na]
at org.sonar.ce.app.CeServer$CeMainThread.attemptStartup(CeServer.java:165) [sonar-ce-5.6.6.jar:na]
at org.sonar.ce.app.CeServer$CeMainThread.run(CeServer.java:153) [sonar-ce-5.6.6.jar:na]
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ce_activity_uuid"
Detail: Key (uuid)=(AWpKhMdKhBAmaVnZ4vza) already exists.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:412) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.4.jar:1.4]
at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:44) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:69) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.ReuseExecutor.doUpdate(ReuseExecutor.java:50) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:105) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:71) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:152) ~[mybatis-3.2.7.jar:3.2.7]
... 19 common frames omitted
2019.07.03 11:25:17 INFO app[o.s.p.m.Monitor] Process[ce] is up
2019.07.03 11:25:17 INFO app[o.s.p.m.Monitor] Process[web] is stopping
2019.07.03 11:25:17 INFO web[o.s.p.StopWatcher] Stopping process
2019.07.03 11:25:17 INFO web[o.a.c.h.Http11NioProtocol] Pausing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:18 INFO web[o.s.s.n.NotificationService] Notification service stopped
2019.07.03 11:25:18 INFO web[o.a.c.h.Http11NioProtocol] Stopping ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:19 INFO web[o.a.c.h.Http11NioProtocol] Destroying ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:19 INFO web[o.s.s.a.TomcatAccessLog] Web server is stopped
2019.07.03 11:25:20 INFO app[o.s.p.m.Monitor] Process[web] is stopped
2019.07.03 11:25:20 INFO app[o.s.p.m.Monitor] Process[es] is stopping
2019.07.03 11:25:20 INFO es[o.s.p.StopWatcher] Stopping process
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] stopping ...
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] stopped
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] closing ...
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] closed
2019.07.03 11:25:21 INFO app[o.s.p.m.Monitor] Process[es] is stopped
<-- Wrapper Stopped
From the above log ERROR is
ERROR: duplicate key value violates unique constraint "ce_activity_uuid".
Any leads for the error..??
When Sonarqube server version 6.7.2 is running on AWS EC2 instance, once by month approximatively, there is an out of memory error and the server is shutdown, we need to restart it manually, there is a memory leak or bad setup configuration on OS/JRE level or Application server level.
At the beginning, the sonarqube server goes down twice a month due to Out Of Memory issue, we follow the official setup doc for PRD instance and try to scale vertically the capacity from a t2.small to a t2.medium on the EC2 instance and run the 3 java processes with more memory:
For Web:
sonar.web.javaOpts=-Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
For ElasticSearch:
sonar.search.javaOpts=-Xms1024m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
For Compute Engine:
sonar.ce.javaOpts=-Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
But the issue is still present
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2019.04.29 06:59:38 INFO app[][o.s.a.AppFileSystem] Cleaning or creating
temp directory /opt/sonarqube-6.7.2/temp
2019.04.29 06:59:38 INFO app[][o.s.a.es.EsSettings] Elasticsearch
listening on /127.0.0.1:9001
2019.04.29 06:59:38 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch
process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube-6.7.2/elasticsearch]: /opt/sonarqube- 6.7.2/elasticsearch/bin/elasticsearch -Epath.conf=/opt/sonarqube- 6.7.2/temp/conf/es
2019.04.29 06:59:38 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.04.29 06:59:39 INFO app[][o.e.p.PluginsService] no modules loaded
2019.04.29 06:59:39 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.04.29 07:00:00 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2019.04.29 07:00:00 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube- 6.7.2]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12- 1.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 - Djava.io.tmpdir=/opt/sonarqube-6.7.2/temp -Xmx1024m -Xms256m - XX:+HeapDumpOnOutOfMemoryError -Dhttp.proxyHost= -Dhttp.proxyPort= - Dhttp.auth.ntlm.domain= -DsocksProxyHost= -DsocksProxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort= -cp ./lib/common/*:./lib/server/*:/opt/sonarqube- 6.7.2/lib/jdbc/postgresql/postgresql-42.2.1.jar org.sonar.server.app.WebServer /opt/sonarqube-6.7.2/temp/sq-process5028201971842772853properties
2019.04.29 07:00:25 INFO app[][o.s.a.SchedulerImpl] Process[web] is up
2019.04.29 07:00:25 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube- 6.7.2]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12- 1.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 - Djava.io.tmpdir=/opt/sonarqube-6.7.2/temp -Xms256m -Xmx1024m - XX:+HeapDumpOnOutOfMemoryError -Dhttp.proxyHost= -Dhttp.proxyPort= - Dhttp.auth.ntlm.domain= -DsocksProxyHost= -DsocksProxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort= -cp ./lib/common/*:./lib/server/*:./lib/ce/*:/opt/sonarqube- 6.7.2/lib/jdbc/postgresql/postgresql-42.2.1.jar org.sonar.ce.app.CeServer /opt/sonarqube-6.7.2/temp/sq-process7912202285523412339properties
2019.04.29 07:00:30 INFO app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.04.29 07:00:30 INFO app[][o.s.a.SchedulerImpl] SonarQube is up
2019.04.29 15:10:28 INFO app[][o.s.a.SchedulerImpl] Process [ce] is stopped
2019.04.29 15:10:31 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.04.29 15:10:31 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.04.29 15:10:31 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.04.29 15:10:31 INFO app[][o.s.a.SchedulerImpl] SonarQube is restarting
2019.04.29 15:10:31 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.04.29 15:10:31 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube-6.7.2/temp
2019.04.29 15:10:31 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.04.29 15:10:31 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube- 6.7.2/elasticsearch]: /opt/sonarqube-6.7.2/elasticsearch/bin/elasticsearch - Epath.conf=/opt/sonarqube-6.7.2/temp/conf/es
2019.04.29 15:10:31 INFO app[][o.e.p.PluginsService] no modules loaded
2019.04.29 15:10:31 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.04.29 15:10:51 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2019.04.29 15:10:51 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube- 6.7.2]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12- 1.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 - Djava.io.tmpdir=/opt/sonarqube-6.7.2/temp -Xmx1024m -Xms256m - XX:+HeapDumpOnOutOfMemoryError -Dhttp.proxyHost= -Dhttp.proxyPort= - Dhttp.auth.ntlm.domain= -DsocksProxyHost= -DsocksProxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort= -cp ./lib/common/*:./lib/server/*:/opt/sonarqube- 6.7.2/lib/jdbc/postgresql/postgresql-42.2.1.jar org.sonar.server.app.WebServer /opt/sonarqube-6.7.2/temp/sq-process2158511348006070798properties
2019.04.29 15:11:12 INFO app[][o.s.a.SchedulerImpl] Process[web] is up
2019.04.29 15:11:12 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube- 6.7.2]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12- 1.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 - Djava.io.tmpdir=/opt/sonarqube-6.7.2/temp -Xms256m -Xmx1024m - XX:+HeapDumpOnOutOfMemoryError -Dhttp.proxyHost= -Dhttp.proxyPort= - Dhttp.auth.ntlm.domain= -DsocksProxyHost= -DsocksProxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort= -cp ./lib/common/*:./lib/server/*:./lib/ce/*:/opt/sonarqube- 6.7.2/lib/jdbc/postgresql/postgresql-42.2.1.jar org.sonar.ce.app.CeServer /opt/sonarqube-6.7.2/temp/sq-process1917579452884722345properties
2019.04.29 15:11:17 INFO app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.04.29 15:11:17 INFO app[][o.s.a.SchedulerImpl] SonarQube is up
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000dbc80000, 43515904, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 43515904 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/sonarqube-6.7.2/hs_err_pid10967.log
2019.05.14 09:56:08 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [ce]: 1
2019.05.14 09:56:08 INFO app[][o.s.a.SchedulerImpl] Process [ce] is stopped
2019.05.14 09:56:11 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.05.14 09:56:11 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.05.14 09:56:11 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.05.14 09:56:11 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
We expect a Sonarqube server up and running without insufficient memory for the JRE to continue. If you need the dump of JVM in /opt/sonarqube-6.7.2/hs_err_pid10967.log, I can also provide it if this can help to debug the memory issue.
Thanks for your help and support.
It looks like the memory allocated for Compute Engine is not sufficient.
In order to fix it, you'll need to upgrade to at least a t2.large and increase the size allocated for Compute Engine to 2 or 4Gb of memory.
We tried to install and see features of LTS sonarqube-6.7.2. When I started sonarqube it failed to start and throwing up an error in sonar.log as below.
To make sure Elastic search memory I run command as mentioned here sonarqube-es, which was sysctl -w vm.max_map_count=262144. Is the issue with Elastic search memory or server space memory?
INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp
directory/opt/sonar/sonarqube-6.7.2/temp
INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es',
ipcIndex=1,logFilenamePrefix=es]]fromopt/sonar/sonarqube6.7.2/elasticsearch]:/opt/sonar/sonarqube6.7.2/elasticsearch/bin/elasticsearch -Epath.conf=/opt/sonar/sonarqube-6.7.2/temp/conf/es
INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
INFO app[][o.e.p.PluginsService] no modules loaded
INFO app[][o.e.p.PluginsService] loaded plugin
[org.elasticsearch.transport.Netty4Plugin]
INFO app[][o.s.a.SchedulerImpl] Process[es] is up
INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web',
ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonar/sonarqube-6.7.2]:
/usr/java/jdk1.8.0_101/jre
/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -
Djava.io.tmpdir=/opt/sonar/sonarqube-6.7.2/temp -Xmx512m -Xms128m -
XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:./lib/serv
er/*:/opt/sonar/sonarqube-6.7.2/lib/jdbc/h2/h2-1.3.176.jar
org.sonar.server.app.WebServer /opt/sonar/sonarqube-6.7.2/temp/sq-
process7891544648476349877properties
INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value
[es]: 143
INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
Also es.log
WARN es[][o.e.b.BootstrapChecks] max file descriptors [4096] for
elasticsearch process is too low, increase to at least [65536]
1 INFO es[][o.e.c.s.ClusterService] new_master {sonarqube}
{NRF09Q0aSau2jbr7-dbo7w}{WOHhcKq8Qrqjrm6kEc0QZg}{127.0.0.1}{127.0.0.1:9001}
{rack_id=sonarqube}, reason: zen-disco-elected-as-master ([0] nodes joined)
INFO es[][o.e.n.Node] started
INFO es[][o.e.g.GatewayService] recovered [8] indices into cluster_state
INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from
[RED] to [GREEN] (reason: [shards started [[metadatas][0]] ...]).
INFO es[][o.e.n.Node] stopping ...
INFO es[][o.e.n.Node] stopped
INFO es[][o.e.n.Node] closing ...
INFO es[][o.e.n.Node] closed
INFO es[][o.e.n.Node] initializing ...
INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt
(/dev/mapper/rootvg-opt_lv)]], net usable_space [4.3gb], net total_space [
4.9gb], spins? [possibly], types [xfs]
INFO es[][o.e.e.NodeEnvironment] heap size [495.3mb], compressed ordinary
object pointers [true]
INFO es[][o.e.n.Node] node name [sonarqube], node ID [NRF09Q0aSau2jbr7-
dbo7w]
INFO es[][o.e.n.Node] version[5.6.3], pid[47816], build[1a2f265/2017-10-
06T20:33:39.012Z], OS[Linux/3.10.0-327.el7.x86_64/amd64], JVM[Oracle
Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_101/25.101-b13]
INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -
XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -
XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8,
-Djna.nosys=tr
ue, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -
Dio.netty.noKeySetOptimization=true, -
Dio.netty.recycler.maxCapacityPerThread=0, -
Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -
Dlog4j.skipJansi=true, -Xms512m,
-Xmx512m, -XX:+HeapDumpOnOutOfMemoryError, -
Des.path.home=/opt/sonar/sonarqube-6.7.2/elasticsearch]
INFO es[][o.e.p.PluginsService] loaded module [aggs-matrix-stats]
INFO es[][o.e.p.PluginsService] loaded module [ingest-common]
INFO es[][o.e.p.PluginsService] loaded module [parent-join]
INFO es[][o.e.p.PluginsService] loaded module [percolator]
INFO es[][o.e.p.PluginsService] loaded module [reindex]
INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
INFO es[][o.e.p.PluginsService] no plugins loaded
15:51:43 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen]
15:51:44 INFO es[][o.e.n.Node] initialized
15:51:44 INFO es[][o.e.n.Node] starting ...
INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:9001},
bound_addresses {127.0.0.1:9001}
WARN es[][o.e.b.BootstrapChecks] max file descriptors [4096] for
elasticsearch process is too low, increase to at least [65536]
INFO es[][o.e.c.s.ClusterService] new_master {sonarqube}{NRF09Q0aSau2jbr7-
dbo7w}{UVPJWQbGSdKpQJZ9dZRwCA}{127.0.0.1}{127.0.0.1:9001}
{rack_id=sonarqube},
reason: zen-disco-elected-as-master ([0] nodes joined)
INFO es[][o.e.n.Node] started
INFO es[][o.e.g.GatewayService] recovered [8] indices into cluster_state
INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from
[RED] to [GREEN] (reason: [shards started [[metadatas][0], [components][0]]
...]).
INFO es[][o.e.n.Node] stopping ...
INFO es[][o.e.n.Node] stopped
INFO es[][o.e.n.Node] closing ...
INFO es[][o.e.n.Node] closed
In my case, found out it was happening due to port conflict with Kafka.
SonarQube uses the embedded DB as a default DB, and its default port is 9092, which is also Kafka's default port
(saw the error in sonarqube/logs/web.log, "java.net.BindException: Address already in use").
The fix:
Uncomment and change the port of the attribute "sonar.embeddedDatabase.port" to something other than 9092.
I was configuring SonarQube 6.1 on my PC and initially i was able to view sonarqube dashboard on localhost:9000. But after doing required changes in configuration files(sonar and wrapper) ,after creating db in sql server i am NOT ABLE to see sonar dashboard on localhost:9000 ,its giving network error(tcp_error).
Sql server connection :
sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true.
Any hint will be appreciated.
i am attaching the logs here :
--> 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.
2018.02.14 19:22:49 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Sonarqube 6.1\temp
2018.02.14 19:22:49 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[es]: C:\Program Files\Java\jdk1.8.0_152\jre\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 6.1\temp -javaagent:C:\Program Files\Java\jdk1.8.0_152\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Sonarqube 6.1\temp\sq-process2295132313122351201properties
2018.02.14 19:22:51 INFO es[][o.s.p.ProcessEntryPoint] Starting es
2018.02.14 19:22:51 INFO es[][o.s.s.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2018.02.14 19:22:51 INFO es[][o.elasticsearch.node] [sonarqube] version[2.3.3], pid[69296], build[218bdf1/2016-05-17T15:40:04Z]
2018.02.14 19:22:51 INFO es[][o.elasticsearch.node] [sonarqube] initializing ...
2018.02.14 19:22:51 INFO es[][o.e.plugins] [sonarqube] modules [], plugins [], sites []
2018.02.14 19:22:51 INFO es[][o.elasticsearch.env] [sonarqube] using [1] data paths, mounts [[C (C:)]], net usable_space [17.2gb], net total_space [97.6gb], spins? [unknown], types [NTFS]
2018.02.14 19:22:51 INFO es[][o.elasticsearch.env] [sonarqube] heap size [990.7mb], compressed ordinary object pointers [true]
2018.02.14 19:23:10 INFO es[][o.elasticsearch.node] [sonarqube] initialized
2018.02.14 19:23:10 INFO es[][o.elasticsearch.node] [sonarqube] starting ...
2018.02.14 19:23:10 INFO es[][o.e.transport] [sonarqube] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2018.02.14 19:23:10 INFO es[][o.e.discovery] [sonarqube] sonarqube/SiLqQ7h5TnqOmun2zWvO_w
2018.02.14 19:23:14 INFO es[][o.e.cluster.service] [sonarqube] new_master {sonarqube}{SiLqQ7h5TnqOmun2zWvO_w}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube, master=true}, reason: zen-disco-join(elected_as_master, [0] joins received)
2018.02.14 19:23:14 INFO es[][o.elasticsearch.node] [sonarqube] started
2018.02.14 19:23:15 INFO es[][o.e.gateway] [sonarqube] recovered [5] indices into cluster_state
2018.02.14 19:23:19 INFO es[][o.e.c.r.allocation] [sonarqube] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[tests][4]] ...]).
2018.02.14 19:23:19 INFO app[][o.s.p.m.Monitor] Process[es] is up
2018.02.14 19:23:19 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jdk1.8.0_152\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx1024m -Xms512m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\Sonarqube 6.1\temp -javaagent:C:\Program Files\Java\jdk1.8.0_152\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;C:\Sonarqube 6.1\lib\jdbc\mssql\sqljdbc42.jar org.sonar.server.app.WebServer C:\Sonarqube 6.1\temp\sq-process6566518313829106923properties
2018.02.14 19:23:20 INFO web[][o.s.p.ProcessEntryPoint] Starting web
2018.02.14 19:23:21 INFO web[][o.s.s.a.TomcatContexts] Webapp directory: C:\Sonarqube 6.1\web
2018.02.14 19:23:21 INFO web[][o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2018.02.14 19:23:22 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2018.02.14 19:23:24 INFO web[][o.e.plugins] [The Stepford Cuckoos] modules [], plugins [], sites []
2018.02.14 19:23:25 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2018.02.14 19:23:25 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 6.1 / dc148a71a1c184ccad588b66251980c994879dff
2018.02.14 19:23:25 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: C:\Sonarqube 6.1
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin C# / 5.3.1 / 829e9f5ce2582c2e45f2db2130d2fbaa509fbc64
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Java / 4.0 / b653c6c8640ab3d6015d036a060f58e027a653af
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin JavaScript / 2.14 / 8e37a262d72dd863345f9c6e87421e2d1853a2e6
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.3 / aff503d48bc77b07c2b62abf93249d0a20bd355c
2018.02.14 19:23:30 INFO web[][o.s.s.p.w.RailsAppsDeployer] Deploying Ruby on Rails applications
2018.02.14 19:23:31 INFO web[][o.s.d.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2018.02.14 19:23:33 INFO web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2018.02.14 19:23:38 INFO web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2018.02.14 19:23:39 INFO web[][o.s.s.s.RegisterMetrics] Register metrics
2018.02.14 19:23:41 INFO web[][o.s.s.r.RegisterRules] Register rules
2018.02.14 19:23:45 INFO web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2018.02.14 19:23:47 INFO web[][o.s.s.s.RegisterNewMeasureFilters] Register measure filters
2018.02.14 19:23:47 INFO web[][o.s.s.s.RegisterDashboards] Register dashboards
2018.02.14 19:23:47 INFO web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2018.02.14 19:23:47 INFO web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index issues
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index tests
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index users
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index views
2018.02.14 19:23:48 INFO web[][jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_152-b16 [Windows 10-amd64]
2018.02.14 19:23:48 INFO web[][jruby.rack] using a shared (threadsafe!) runtime
2018.02.14 19:25:23 INFO web[][jruby.rack] keeping custom (config.logger) Rails logger instance
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter#4dbb34d2 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#d28af38]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter#65316401 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#7138d1d1]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter#70eb9145 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#1e14f235]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction#33c29508 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#afe5c1f]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction#6e03c549 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#49ce7754]
2018.02.14 19:25:24 INFO web[][o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-0.0.0.0-9000"]
2018.02.14 19:25:24 INFO web[][o.s.s.a.TomcatAccessLog] Web server is started
2018.02.14 19:25:24 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2018.02.14 19:25:24 INFO app[][o.s.p.m.Monitor] Process[web] is up
2018.02.14 19:25:24 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[ce]: C:\Program Files\Java\jdk1.8.0_152\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\Sonarqube 6.1\temp -javaagent:C:\Program Files\Java\jdk1.8.0_152\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;./lib/ce/*;C:\Sonarqube 6.1\lib\jdbc\mssql\sqljdbc42.jar org.sonar.ce.app.CeServer C:\Sonarqube 6.1\temp\sq-process3506711799158227159properties
2018.02.14 19:25:27 INFO ce[][o.s.p.ProcessEntryPoint] Starting ce
2018.02.14 19:25:27 INFO ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2018.02.14 19:25:29 INFO ce[][o.e.plugins] [Gorgon] modules [], plugins [], sites []
2018.02.14 19:25:31 INFO ce[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2018.02.14 19:25:32 INFO ce[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true
2018.02.14 19:25:34 INFO ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: C:\Sonarqube 6.1
2018.02.14 19:25:34 INFO ce[][o.s.c.c.CePluginRepository] Load plugins
2018.02.14 19:25:40 INFO ce[][o.s.s.c.q.PurgeCeActivities] Delete the Compute Engine tasks created before Fri Aug 18 19:25:40 IST 2017
2018.02.14 19:25:40 INFO ce[][o.s.ce.app.CeServer] Compute Engine is up
2018.02.14 19:25:40 INFO app[][o.s.p.m.Monitor] Process[ce] is up