Geeting error while starting sonarqube7.8

Hi Team I hope you are doing well.
Actually i tried to installed Sonar 7.8 but getting connection refused error.
I installed open jdk 11 on one of my server and tried with that, but no success.
With same configuration with jdk 8 sonar 5.0.1 is working fine on same server.
please see the logs as well–>

2019.07.02 21:18:25 DEBUG app[o.e.c.t.TransportClientNodesService] failed to connect to node [{#transport#-1}{ec8Retj6Q4ak6xLXFKrV0w}{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.lang.Thread.run(Thread.java:748)

Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:9001
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
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
2019.07.02 21:06:09 DEBUG app[i.n.b.AbstractByteBuf] -Dio.netty.buffer.checkAccessible: true
2019.07.02 21:06:09 DEBUG app[i.n.b.AbstractByteBuf] -Dio.netty.buffer.checkBounds: true
2019.07.02 21:06:09 DEBUG app[i.n.u.ResourceLeakDetectorFactory] Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@2a2daf70
2019.07.02 21:06:09 DEBUG app[i.n.util.Recycler] -Dio.netty.recycler.maxCapacityPerThread: 4096
2019.07.02 21:06:09 DEBUG app[i.n.util.Recycler] -Dio.netty.recycler.maxSharedCapacityFactor: 2
2019.07.02 21:06:09 DEBUG app[i.n.util.Recycler] -Dio.netty.recycler.linkCapacity: 16
2019.07.02 21:06:09 DEBUG app[i.n.util.Recycler] -Dio.netty.recycler.ratio: 8
2019.07.02 21:06:09 DEBUG app[o.e.t.ConnectionManager] connected to node [{sonarqube}{pJreLXGTSn-MQ-c2xMMkzw}{v-f-uTpZRQCI0iDLCn-8lw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}]
2019.07.02 21:06:09 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2019.07.02 21:06:09 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] fr:

Hi,

SonarQube needs several ports to run, among them 9001 (the Elasticsearch process uses this port). Is the port free and available to SonarQube? You say this

You’re not trying to run both versions at the same time, are you?

 
Ann

Hi Ann,

Thanks for the reply.
Actually earlier i installed 5.0.1 after that i want go to 7.8.
5.0.1 is stopped completely but 7.8 not starting.
And with the same configration 5.0.1 is working fine i mean to say.
I have updated JDK 8 to JDK11 as well.
Oracle 12c Database i have.
Driver: ojdbc8.jar
I am troubleshooting and now i am getting attached logs.txt (2.3 KB) error:

Vipin

Vipin

Any update on it?