Must-share information (formatted with Markdown):
- which versions are you using: SonarQube 9.4 with Oracle DB
- how is SonarQube deployed: zip file downloaded from official web site
- what are you trying to achieve: Bring up the 9.9 version
- what have you tried so far to achieve this:
Stopped services in app nodes and search nodes
downloaded zip file for Linux VMs
copied sonar.properties file from 9.4 to 9.9 ( app node to app node & search node to search node)
jdbc drivers, plugins copied from 9.4 to 9.9 version respective folders.
we are using ldap configurations and there is no changes in configuration files.
in search node we are able to bring-up SQ services but in app nodes services are not coming up and giving below error message.
we have 3 app nodes and 3 search nodes.
AppNode3 below error:
2023.03.20 07:10:09 WARN app3 app[][c.h.i.impl.Node] [xx.xx.xx.xxx]:61012 [SonarQube] [5.2.1] Terminating forcefully...
2023.03.20 09:17:34 WARN app3 app[][c.h.cp.CPSubsystem] [xx.xx.xx.xxx]:61012 [SonarQube] [5.2.1] CP Subsystem is not enabled. CP data structures will operate in UNSAFE mode! Please note that UNSAFE mode will not provide strong consistency guarantees.
2023.03.20 09:17:40 INFO app3 app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /xxx/xxxx/sonarqube/sonarqube-9.9.0.65466/temp
2023.03.20 09:17:41 WARN app3 app[][o.e.c.RestClient] request [GET http://xx.xx.xx.xxx:61010/] returned 1 warnings: [299 Elasticsearch-7.17.8-120eabe1c8a0cb287cffc109a5b65d213e9df1 "Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security."]
2023.03.20 09:17:41 WARN app3 app[][o.e.c.RestClient] request [GET http://xx.xx.xx.xxx:61010/_cluster/health?master_timeout=30s&level=cluster&timeout=30s&wait_for_status=yellow] returned 1 warnings: [299 Elasticsearch-7.17.8-120eabe1c8a0cb287cffc109a5b65d213e9df1 "Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security."]
2023.03.20 09:17:41 ERROR app3 app[][o.s.a.SchedulerImpl] Initialization failed. All nodes must be restarted
2023.03.20 09:34:49 INFO app3 app[][o.s.a.SchedulerImpl] Stopping SonarQube
2023.03.20 09:34:49 INFO app3 app[][o.s.a.SchedulerImpl] Sonarqube has been requested to stop
2023.03.20 09:34:49 INFO app3 app[][o.s.a.SchedulerImpl] Stopping [Compute Engine] process...
2023.03.20 09:34:49 INFO app3 app[][o.s.a.SchedulerImpl] Stopping [Web Server] process...
2023.03.20 09:34:49 INFO app3 app[][o.s.a.SchedulerImpl] SonarQube is stopped
2023.03.20 09:34:49 WARN app3 app[][c.h.i.impl.Node] [xx.xx.xx.xxx]:61012 [SonarQube] [5.2.1] Terminating forcefully...
App Node2 Below error:
2023.03.20 07:13:47 ERROR app2 app[][o.s.application.App] Startup failure
com.hazelcast.core.HazelcastException: Cannot bind to a given address: /xx.xx.xx.xxx. Hazelcast cannot start. Port [61012] is already in use and auto-increment is disabled.
at com.hazelcast.instance.impl.ServerSocketHelper.createServerSocketChannel(ServerSocketHelper.java:84)
at com.hazelcast.instance.impl.DefaultAddressPicker.getPublicAddressByPortSearch(DefaultAddressPicker.java:147)
at com.hazelcast.instance.impl.DefaultAddressPicker.pickAddress(DefaultAddressPicker.java:121)
at com.hazelcast.instance.impl.Node.<init>(Node.java:224)
at com.hazelcast.instance.impl.HazelcastInstanceImpl.createNode(HazelcastInstanceImpl.java:149)
at com.hazelcast.instance.impl.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:118)
at com.hazelcast.instance.impl.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:217)
at com.hazelcast.instance.impl.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:196)
at com.hazelcast.instance.impl.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:134)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:61)
at org.sonar.process.cluster.hz.HazelcastMemberBuilder.build(HazelcastMemberBuilder.java:135)
at org.sonar.application.AppStateFactory.createHzMember(AppStateFactory.java:72)
at org.sonar.application.AppStateFactory.create(AppStateFactory.java:57)
at org.sonar.application.App.start(App.java:49)
at org.sonar.application.App.main(App.java:81)
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:89)
at com.hazelcast.instance.impl.ServerSocketHelper.openServerSocketChannel(ServerSocketHelper.java:136)
at com.hazelcast.instance.impl.ServerSocketHelper.tryOpenServerSocketChannel(ServerSocketHelper.java:101)
at com.hazelcast.instance.impl.ServerSocketHelper.createServerSocketChannel(ServerSocketHelper.java:76)
... 14 common frames omitted
2023.03.20 09:34:50 WARN app2 app[][c.h.i.s.t.TcpServerConnectionErrorHandler] [xx.xx.xx.xxx]:61012 [SonarQube] [5.2.1] Removing connection to endpoint [xx.xx.xx.xxx]:61012 Cause => java.io.IOException {Connection refused to address /xx.xx.xx.xxx:61012}, Error-Count: 5
Appnode1 below error:
2023.03.20 07:10:09 WARN app1 app[][c.h.i.s.t.TcpServerConnectionErrorHandler] [xx.xx.xx.xxx]:61012
[SonarQube] [5.2.1] Removing connection to endpoint [xx.xx.xx.xxx]:61012 Cause => java.io.IOException
{Connection refused to address /xx.xx.xx.xxx:61012}, Error-Count: 5