Unable to start SonarQube on CentOS 8

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Latest stable
  • what are you trying to achieve
    Start Sonarqube
  • what have you tried so far to achieve this
    • Deployed java 11
    • Deployed PostgreSQL 12
    • Downloaded sonarqube into /opt/sonarqube/
    • Created the systemctl service to start sonarqube
    • Logs:
    <-- Wrapper Stopped
    --> 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.

    2020.12.04 03:46:31 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
    2020.12.04 03:46:31 DEBUG app[][o.s.a.NodeLifecycle] WrapperSimpleAppMain tryToMoveTo from INIT to STARTING => true
    2020.12.04 03:46:31 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] WrapperSimpleAppMain tryToMoveTo es from INIT to STARTING => true
    2020.12.04 03:46:31 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
    2020.12.04 03:46:31 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
    2020.12.04 03:46:31 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] WrapperSimpleAppMain tryToMoveTo es from STARTING to STARTED => true
    2020.12.04 03:46:31 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
    2020.12.04 03:46:31 INFO  app[][o.e.p.PluginsService] no modules loaded
    2020.12.04 03:46:31 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [force_merge], size [1], queue size [unbounded]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [fetch_shard_started], core [1], max [2], keep alive [5m]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [listener], size [1], queue size [unbounded]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [index], size [1], queue size [200]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [refresh], core [1], max [1], keep alive [5m]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [generic], core [4], max [128], keep alive [30s]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [warmer], core [1], max [1], keep alive [5m]
    2020.12.04 03:46:31 DEBUG app[][o.e.c.u.c.QueueResizingEsThreadPoolExecutor] thread pool [_client_/search] will adjust queue by [50] when determining automatic queue size
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [search], size [2], queue size [1k]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [flush], core [1], max [1], keep alive [5m]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [fetch_shard_store], core [1], max [2], keep alive [5m]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [management], core [1], max [5], keep alive [5m]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [get], size [1], queue size [1k]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [analyze], size [1], queue size [16]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [write], size [1], queue size [200]
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [snapshot], core [1], max [1], keep alive [5m]
    2020.12.04 03:46:31 DEBUG app[][o.e.c.u.c.QueueResizingEsThreadPoolExecutor] thread pool [_client_/search_throttled] will adjust queue by [50] when determining automatic queue size
    2020.12.04 03:46:31 DEBUG app[][o.e.t.ThreadPool] created thread pool: name [search_throttled], size [1], queue size [100]
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] -Dio.netty.noUnsafe: false
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] Java version: 11
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] sun.misc.Unsafe.theUnsafe: available
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] sun.misc.Unsafe.copyMemory: available
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] java.nio.Buffer.address: available
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] direct buffer constructor: unavailable
    java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
    	at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31)
    	at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:224)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:218)
    	at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:212)
    	at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:80)
    	at io.netty.util.ConstantPool.<init>(ConstantPool.java:32)
    	at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27)
    	at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27)
    	at org.elasticsearch.transport.netty4.Netty4Transport.<clinit>(Netty4Transport.java:219)
    	at org.elasticsearch.transport.Netty4Plugin.getSettings(Netty4Plugin.java:57)
    	at org.elasticsearch.plugins.PluginsService.lambda$getPluginSettings$0(PluginsService.java:89)
    	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
    	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
    	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    	at org.elasticsearch.plugins.PluginsService.getPluginSettings(PluginsService.java:89)
    	at org.elasticsearch.client.transport.TransportClient.buildTemplate(TransportClient.java:147)
    	at org.elasticsearch.client.transport.TransportClient.<init>(TransportClient.java:277)
    	at org.sonar.application.es.EsConnectorImpl$MinimalTransportClient.<init>(EsConnectorImpl.java:103)
    	at org.sonar.application.es.EsConnectorImpl.buildTransportClient(EsConnectorImpl.java:89)
    	at org.sonar.application.es.EsConnectorImpl.getTransportClient(EsConnectorImpl.java:74)
    	at org.sonar.application.es.EsConnectorImpl.getClusterHealthStatus(EsConnectorImpl.java:61)
    	at org.sonar.application.process.EsManagedProcess.checkStatus(EsManagedProcess.java:88)
    	at org.sonar.application.process.EsManagedProcess.checkOperational(EsManagedProcess.java:73)
    	at org.sonar.application.process.EsManagedProcess.isOperational(EsManagedProcess.java:58)
    	at org.sonar.application.process.ManagedProcessHandler.refreshState(ManagedProcessHandler.java:220)
    	at org.sonar.application.process.ManagedProcessHandler$EventWatcher.run(ManagedProcessHandler.java:285)
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] java.nio.Bits.unaligned: available, true
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable
    java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @71dac704
    	at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)
    	at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591)
    	at java.base/java.lang.reflect.Method.invoke(Method.java:558)
    	at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:334)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:325)
    	at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:212)
    	at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:80)
    	at io.netty.util.ConstantPool.<init>(ConstantPool.java:32)
    	at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27)
    	at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27)
    	at org.elasticsearch.transport.netty4.Netty4Transport.<clinit>(Netty4Transport.java:219)
    	at org.elasticsearch.transport.Netty4Plugin.getSettings(Netty4Plugin.java:57)
    	at org.elasticsearch.plugins.PluginsService.lambda$getPluginSettings$0(PluginsService.java:89)
    	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
    	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
    	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    	at org.elasticsearch.plugins.PluginsService.getPluginSettings(PluginsService.java:89)
    	at org.elasticsearch.client.transport.TransportClient.buildTemplate(TransportClient.java:147)
    	at org.elasticsearch.client.transport.TransportClient.<init>(TransportClient.java:277)
    	at org.sonar.application.es.EsConnectorImpl$MinimalTransportClient.<init>(EsConnectorImpl.java:103)
    	at org.sonar.application.es.EsConnectorImpl.buildTransportClient(EsConnectorImpl.java:89)
    	at org.sonar.application.es.EsConnectorImpl.getTransportClient(EsConnectorImpl.java:74)
    	at org.sonar.application.es.EsConnectorImpl.getClusterHealthStatus(EsConnectorImpl.java:61)
    	at org.sonar.application.process.EsManagedProcess.checkStatus(EsManagedProcess.java:88)
    	at org.sonar.application.process.EsManagedProcess.checkOperational(EsManagedProcess.java:73)
    	at org.sonar.application.process.EsManagedProcess.isOperational(EsManagedProcess.java:58)
    	at org.sonar.application.process.ManagedProcessHandler.refreshState(ManagedProcessHandler.java:220)
    	at org.sonar.application.process.ManagedProcessHandler$EventWatcher.run(ManagedProcessHandler.java:285)
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent0] java.nio.DirectByteBuffer.<init>(long, int): unavailable
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent] sun.misc.Unsafe: available
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent] maxDirectMemory: 32440320 bytes (maybe)
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent] -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent] -Dio.netty.bitMode: 64 (sun.arch.data.model)
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent] -Dio.netty.maxDirectMemory: -1 bytes
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent] -Dio.netty.uninitializedArrayAllocationThreshold: -1
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.CleanerJava9] java.nio.ByteBuffer.cleaner(): available
    2020.12.04 03:46:31 DEBUG app[][i.n.u.i.PlatformDependent] -Dio.netty.noPreferDirect: false
    OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Module execution: 97ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] TypeListeners creation: 21ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Scopes creation: 2ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Converters creation: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Binding creation: 1ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Private environment creation: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Injector construction: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Binding initialization: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Binding indexing: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Collecting injection requests: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Binding validation: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Static validation: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Instance member validation: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Provider verification: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Static member injection: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Instance injection: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.i.i.Stopwatch] Preloading singletons: 0ms
    2020.12.04 03:46:32 DEBUG app[][o.e.c.t.TransportClientNodesService] node_sampler_interval[5s]
    2020.12.04 03:46:33 DEBUG app[][i.n.c.MultithreadEventLoopGroup] -Dio.netty.eventLoopThreads: 2
    2020.12.04 03:46:33 DEBUG app[][i.n.c.n.NioEventLoop] -Dio.netty.noKeySetOptimization: false
    2020.12.04 03:46:33 DEBUG app[][i.n.c.n.NioEventLoop] -Dio.netty.selectorAutoRebuildThreshold: 512
    2020.12.04 03:46:33 DEBUG app[][i.n.u.i.PlatformDependent] org.jctools-core.MpscChunkedArrayQueue: available
    2020.12.04 03:46:33 DEBUG app[][o.e.c.t.TransportClientNodesService] adding address [{#transport#-1}{6ZiqKtU9SiOkwb0Fyyh9og}{127.0.0.1}{127.0.0.1:9001}]
    2020.12.04 03:46:33 DEBUG app[][i.n.c.DefaultChannelId] -Dio.netty.processId: 94153 (auto-detected)
    2020.12.04 03:46:33 DEBUG app[][i.netty.util.NetUtil] -Djava.net.preferIPv4Stack: false
    2020.12.04 03:46:33 DEBUG app[][i.netty.util.NetUtil] -Djava.net.preferIPv6Addresses: false
    2020.12.04 03:46:33 DEBUG app[][i.netty.util.NetUtil] Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
    2020.12.04 03:46:33 DEBUG app[][i.netty.util.NetUtil] /proc/sys/net/core/somaxconn: 128
    2020.12.04 03:46:33 DEBUG app[][i.n.c.DefaultChannelId] -Dio.netty.machineId: 4a:a8:9d:ff:fe:42:f6:ac (auto-detected)
    2020.12.04 03:46:33 DEBUG app[][i.n.u.i.InternalThreadLocalMap] -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
    2020.12.04 03:46:33 DEBUG app[][i.n.u.i.InternalThreadLocalMap] -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
    2020.12.04 03:46:33 DEBUG app[][i.n.u.ResourceLeakDetector] -Dio.netty.leakDetection.level: simple
    2020.12.04 03:46:33 DEBUG app[][i.n.u.ResourceLeakDetector] -Dio.netty.leakDetection.targetRecords: 4
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.numHeapArenas: 0
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.numDirectArenas: 0
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.pageSize: 8192
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.maxOrder: 11
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.chunkSize: 16777216
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.tinyCacheSize: 512
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.smallCacheSize: 256
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.normalCacheSize: 64
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.maxCachedBufferCapacity: 32768
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.cacheTrimInterval: 8192
    2020.12.04 03:46:33 DEBUG app[][i.n.b.PooledByteBufAllocator] -Dio.netty.allocator.useCacheForAllThreads: true
    2020.12.04 03:46:33 DEBUG app[][i.n.b.ByteBufUtil] -Dio.netty.allocator.type: pooled
    2020.12.04 03:46:33 DEBUG app[][i.n.b.ByteBufUtil] -Dio.netty.threadLocalDirectBufferSize: 0
    2020.12.04 03:46:33 DEBUG app[][i.n.b.ByteBufUtil] -Dio.netty.maxThreadLocalCharBufferSize: 16384
    2020.12.04 03:46:33 DEBUG app[][o.e.c.t.TransportClientNodesService] failed to connect to node [{#transport#-1}{6ZiqKtU9SiOkwb0Fyyh9og}{127.0.0.1}{127.0.0.1:9001}], ignoring...
    org.elasticsearch.transport.ConnectTransportException: [][127.0.0.1:9001] connect_exception
    	at org.elasticsearch.transport.TcpTransport$ChannelsConnectedListener.onFailure(TcpTransport.java:1309)
    	at org.elasticsearch.action.ActionListener.lambda$toBiConsumer$2(ActionListener.java:100)
    	at org.elasticsearch.common.concurrent.CompletableContext.lambda$addListener$0(CompletableContext.java:42)
    	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
    	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
    	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
    	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
    	at org.elasticsearch.common.concurrent.CompletableContext.completeExceptionally(CompletableContext.java:57)
    	at org.elasticsearch.transport.netty4.Netty4TcpChannel.lambda$new$1(Netty4TcpChannel.java:72)
    	at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:511)
    	at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:504)
    	at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:483)
    	at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:424)
    	at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:121)
    	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:327)
    	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:343)
    	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644)
    	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:591)
    	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:508)
    	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:470)
    	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909)
    	at java.base/java.lang.Thread.run(Thread.java:834)
    Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:9001
    	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    	at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779)
    	at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
    	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
    	... 6 common frames omitted
    Caused by: java.net.ConnectException: Connection refused
    	... 10 common frames omitted
    2020.12.04 03:46:33 DEBUG app[][o.s.a.e.EsConnectorImpl] Connected to Elasticsearch node: [127.0.0.1:9001]
    2020.12.04 03:46:34 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
    2020.12.04 03:46:34 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[es] tryToMoveTo es from STARTED to HARD_STOPPING => true
    2020.12.04 03:46:34 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[es] tryToMoveTo es from HARD_STOPPING to FINALIZE_STOPPING => true
    2020.12.04 03:46:34 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
    2020.12.04 03:46:34 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[es] tryToMoveTo es from FINALIZE_STOPPING to STOPPED => true
    2020.12.04 03:46:34 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from STARTING to HARD_STOPPING => true
    2020.12.04 03:46:34 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo ce from INIT to HARD_STOPPING => false
    2020.12.04 03:46:34 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo web from INIT to HARD_STOPPING => false
    2020.12.04 03:46:34 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo es from STOPPED to HARD_STOPPING => false
    2020.12.04 03:46:34 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from HARD_STOPPING to FINALIZE_STOPPING => true
    2020.12.04 03:46:34 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from FINALIZE_STOPPING to STOPPED => true
    2020.12.04 03:46:34 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
    2020.12.04 03:46:34 DEBUG app[][o.s.a.NodeLifecycle] Shutdown Hook tryToMoveTo from STOPPED to STOPPING => false

Hi @uhlhosting ,

can you share the content of your logs folder (/opt/sonarqube/logs should it be in your case)? there should be a es.log file in there with more information about the failure.
Apart from that you need java 11 and not javascript 11 but this seems to be the case already and it would be interesting to see your systemd service file. it looks like you are triggering the wrapper and not sonarqube directly as it is documented here.

1 Like