Hello everyone!
I’m was trying to install SonarQube with the following specifications:
- SonarQube 10.6.0.92116
- A Zip deployment over Debian Linux on AWS EC2 (32GB RAM)
- OpenJDK Runtime Environment (build 17.0.12+7-Debian-2deb12u1)
- sonar.search.javaOpts=-Xms10g -Xmx10g
I read the elasticsearch is responding but I cant understand why it stops after that.
There is a warning too, but is just a warning.
How can I handle this error?
Thank you in advance
Guillermo
2024.08.26 13:28:36 DEBUG app[][o.apache.http.wire] http-outgoing-0 << "{"cluster_name":"sonarqube","status":"green","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":0,"active_shards":0,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}"
2024.08.26 13:28:36 DEBUG app[][o.a.http.headers] http-outgoing-0 << HTTP/1.1 200 OK
2024.08.26 13:28:36 DEBUG app[][o.a.http.headers] http-outgoing-0 << X-elastic-product: Elasticsearch
2024.08.26 13:28:36 DEBUG app[][o.a.http.headers] http-outgoing-0 << content-type: application/json
2024.08.26 13:28:36 DEBUG app[][o.a.http.headers] http-outgoing-0 << content-length: 385
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.InternalIODispatch] http-outgoing-0 [ACTIVE(385)] Response received
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.MainClientExec] [exchange: 107] Response received HTTP/1.1 200 OK
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.InternalIODispatch] http-outgoing-0 [ACTIVE(385)] Input ready
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.MainClientExec] [exchange: 107] Consume content
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.InternalHttpAsyncClient] [exchange: 107] Connection can be kept alive indefinitely
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.MainClientExec] [exchange: 107] Response processed
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.InternalHttpAsyncClient] [exchange: 107] releasing connection
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.ManagedNHttpClientConnectionImpl] http-outgoing-0 127.0.0.1:52084<->127.0.0.1:9001[ACTIVE][r:r]: Remove attribute http.nio.exchange-handler
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.PoolingNHttpClientConnectionManager] Releasing connection: [id: http-outgoing-0][route: {}->http://localhost:9001][total kept alive: 0; route allocated: 1 of 10; total allocated: 1 of 30]
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.PoolingNHttpClientConnectionManager] Connection [id: http-outgoing-0][route: {}->http://localhost:9001] can be kept alive indefinitely
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.ManagedNHttpClientConnectionImpl] http-outgoing-0 127.0.0.1:52084<->127.0.0.1:9001[ACTIVE][r:r]: Set timeout 0
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.PoolingNHttpClientConnectionManager] Connection released: [id: http-outgoing-0][route: {}->http://localhost:9001][total kept alive: 1; route allocated: 1 of 10; total allocated: 1 of 30]
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.InternalIODispatch] http-outgoing-0 [ACTIVE] [content length: 385; pos: 385; completed: true]
2024.08.26 13:28:36 DEBUG app[][o.e.c.RestClient] request [GET http://localhost:9001/_cluster/health?master_timeout=30s&level=cluster&timeout=30s&wait_for_status=yellow] returned [HTTP/1.1 200 OK]
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.PoolingNHttpClientConnectionManager] Connection manager is shutting down
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.ManagedNHttpClientConnectionImpl] http-outgoing-0 127.0.0.1:52084<->127.0.0.1:9001[ACTIVE][r:r]: Close
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.InternalIODispatch] http-outgoing-0 [CLOSED]: Disconnected
2024.08.26 13:28:36 DEBUG app[][o.a.h.i.n.c.PoolingNHttpClientConnectionManager] Connection manager shut down
2024.08.26 13:28:36 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2024.08.26 13:28:36 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] EventWatcher[ElasticSearch] tryToMoveTo ElasticSearch from STARTED to STARTING => false
2024.08.26 13:28:36 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] EventWatcher[ElasticSearch] tryToMoveTo Web Server from INIT to STARTING => true
2024.08.26 13:28:36 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube-10.6.0.92116]: /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube-10.6.0.92116/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-10.6.0.92116.jar:/opt/sonarqube-10.6.0.92116/lib/jdbc/postgresql/postgresql-42.7.3.jar org.sonar.server.app.WebServer /opt/sonarqube-10.6.0.92116/temp/sq-process12444239321386710049properties
2024.08.26 13:28:36 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] EventWatcher[ElasticSearch] tryToMoveTo Web Server from STARTING to STARTED => true
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube-10.6.0.92116/lib/sonar-application-10.6.0.92116.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [Web Server]: 0
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[Web Server] tryToMoveTo Web Server from STARTED to HARD_STOPPING => true
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[Web Server] tryToMoveTo Web Server from HARD_STOPPING to FINALIZE_STOPPING => true
2024.08.26 13:28:39 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[Web Server] tryToMoveTo Web Server from FINALIZE_STOPPING to STOPPED => true
2024.08.26 13:28:39 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from STARTING to HARD_STOPPING => true
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo Compute Engine from INIT to HARD_STOPPING => false
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo Web Server from STOPPED to HARD_STOPPING => false
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo ElasticSearch from STARTED to HARD_STOPPING => true
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo ElasticSearch from HARD_STOPPING to FINALIZE_STOPPING => true
2024.08.26 13:28:39 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[ElasticSearch] tryToMoveTo ElasticSearch from FINALIZE_STOPPING to HARD_STOPPING => false
2024.08.26 13:28:39 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2024.08.26 13:28:39 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from HARD_STOPPING to FINALIZE_STOPPING => true
2024.08.26 13:28:39 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from FINALIZE_STOPPING to STOPPED => true
2024.08.26 13:28:39 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2024.08.26 13:28:39 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo ElasticSearch from FINALIZE_STOPPING to STOPPED => true
2024.08.26 13:28:39 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from STOPPED to FINALIZE_STOPPING => false
2024.08.26 13:28:39 DEBUG app[][o.s.a.NodeLifecycle] Shutdown Hook tryToMoveTo from STOPPED to STOPPING => false