I have SQ which was working fine, I always run it using
/opt/sonarqube/sonarqube-10.7.0.96327/bin/linux-x86-64/sonar.sh console
This morning I did the same thing but it did not go through with the following log in the terminal
Running SonarQube...
Removed stale pid file: ./SonarQube.pid
2025.02.01 11:20:07 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-10.7.0.96327/temp
2025.02.01 11:20:08 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:39655]
2025.02.01 11:20:10 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/sonarqube-10.7.0.96327/elasticsearch]: /usr/lib/jvm/java-21-openjdk-21.0.5.0.11-1.fc41.x86_64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/sonarqube-10.7.0.96327/elasticsearch -Des.path.conf=/opt/sonarqube/sonarqube-10.7.0.96327/temp/conf/es -Des.distribution.type=tar -cp /opt/sonarqube/sonarqube-10.7.0.96327/elasticsearch/lib/*:/opt/sonarqube/sonarqube-10.7.0.96327/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2025.02.01 11:20:10 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Feb 01, 2025 11:20:57 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
2025.02.01 11:23:34 INFO es[][o.e.n.NativeAccess] Using [jdk] native provider and native methods for [Linux]
2025.02.01 11:23:36 WARN es[][o.a.l.i.v.VectorizationProvider] Java vector incubator module is not readable. For optimal vector performance, pass --add-modules jdk.incubator.vector to enable Vector API.
2025.02.01 11:23:38 INFO es[][o.e.n.Node] version[8.14.1], pid[4401], build[tar/93a57a1a76f556d8aee6a90d1a95b06187501310/2024-06-10T23:35:17.114581191Z], OS[Linux/6.11.10-300.fc41.x86_64/amd64], JVM[Red Hat, Inc./OpenJDK 64-Bit Server VM/21.0.5/21.0.5+11]
2025.02.01 11:23:38 INFO es[][o.e.n.Node] JVM home [/usr/lib/jvm/java-21-openjdk-21.0.5.0.11-1.fc41.x86_64], using bundled JDK [false]
2025.02.01 11:23:38 INFO es[][o.e.n.Node] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -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, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=org.elasticsearch.preallocate, --add-opens=org.apache.lucene.core/org.apache.lucene.store=org.elasticsearch.vec, --enable-native-access=org.elasticsearch.nativeaccess, -XX:ReplayDataFile=logs/replay_pid%p.log, -Djava.library.path=/opt/sonarqube/sonarqube-10.7.0.96327/elasticsearch/lib/platform/linux-x64:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib, -Djna.library.path=/opt/sonarqube/sonarqube-10.7.0.96327/elasticsearch/lib/platform/linux-x64:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib, -Des.distribution.type=tar, -XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/sonarqube-10.7.0.96327/temp, -XX:ErrorFile=/opt/sonarqube/sonarqube-10.7.0.96327/logs/es_hs_err_pid%p.log, -Xlog:disable, -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, -Djna.tmpdir=/opt/sonarqube/sonarqube-10.7.0.96327/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, --module-path=/opt/sonarqube/sonarqube-10.7.0.96327/elasticsearch/lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
2025.02.01 11:23:38 INFO es[][o.e.n.Node] Default Locale [en_US]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [rest-root]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-core]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-redact]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-security]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-apm-data]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [old-lucene-versions]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [counted-keyword]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-inference]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [health-shards-availability]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [apm]
2025.02.01 11:23:54 INFO es[][o.e.p.PluginsService] loaded module [aggregations]
2025.02.01 11:23:58 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/mapper/fedora-root)]], net usable_space [13.7gb], net total_space [47.4gb], types [ext4]
2025.02.01 11:23:58 INFO es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2025.02.01 11:23:58 INFO es[][o.e.n.Node] node name [sonarqube], node ID [lBLiRkN-Rve-OxUUOLx_Wg], cluster name [sonarqube], roles [ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold, ingest, data_frozen]
2025.02.01 11:24:04 INFO es[][o.e.f.FeatureService] Registered local node features [desired_node.version_deprecated, features_supported, health.extended_repository_indicator, knn_retriever_supported, license-trial-independent-version, retrievers_supported, standard_retriever_supported, usage.data_tiers.precalculate_stats]
2025.02.01 11:24:05 INFO es[][o.e.x.s.Security] Security is disabled
2025.02.01 11:24:05 INFO es[][o.e.x.a.APMPlugin] APM ingest plugin is disabled
2025.02.01 11:24:06 INFO es[][o.e.t.a.APM] Sending apm metrics is disabled
2025.02.01 11:24:06 INFO es[][o.e.t.a.APM] Sending apm tracing is disabled
2025.02.01 11:24:06 INFO es[][o.e.t.n.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]
2025.02.01 11:24:07 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2025.02.01 11:24:07 INFO es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]
2025.02.01 11:24:08 INFO es[][o.e.n.Node] initialized
2025.02.01 11:24:08 INFO es[][o.e.n.Node] starting ...
2025.02.01 11:24:08 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:39655}, bound_addresses {127.0.0.1:39655}
2025.02.01 11:24:09 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2025.02.01 11:24:09 INFO es[][o.e.c.c.ClusterBootstrapService] this node is locked into cluster UUID [ErvmE5m6Q1aN0fRQGzMg0w] and will not attempt further cluster bootstrapping
2025.02.01 11:24:10 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined in term 4)[_FINISH_ELECTION_, {sonarqube}{lBLiRkN-Rve-OxUUOLx_Wg}{BSv5jV0YRjOtigVsrxdSUw}{sonarqube}{127.0.0.1}{127.0.0.1:39655}{cdfhilmrstw}{8.14.1}{7000099-8505000} completing election], term: 4, version: 94, delta: master node changed {previous [], current [{sonarqube}{lBLiRkN-Rve-OxUUOLx_Wg}{BSv5jV0YRjOtigVsrxdSUw}{sonarqube}{127.0.0.1}{127.0.0.1:39655}{cdfhilmrstw}{8.14.1}{7000099-8505000}]}
2025.02.01 11:24:10 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{lBLiRkN-Rve-OxUUOLx_Wg}{BSv5jV0YRjOtigVsrxdSUw}{sonarqube}{127.0.0.1}{127.0.0.1:39655}{cdfhilmrstw}{8.14.1}{7000099-8505000}]}, term: 4, version: 94, reason: Publication{term=4, version=94}
2025.02.01 11:24:10 INFO es[][o.e.c.f.AbstractFileWatchingService] starting file watcher ...
2025.02.01 11:24:10 INFO es[][o.e.c.f.AbstractFileWatchingService] file settings service up and running [tid=36]
2025.02.01 11:24:10 INFO es[][o.e.r.s.FileSettingsService] setting file [/opt/sonarqube/sonarqube-10.7.0.96327/temp/conf/es/operator/settings.json] not found, initializing [file_settings] as empty
2025.02.01 11:24:10 INFO es[][o.e.c.c.NodeJoinExecutor] node-join: [{sonarqube}{lBLiRkN-Rve-OxUUOLx_Wg}{BSv5jV0YRjOtigVsrxdSUw}{sonarqube}{127.0.0.1}{127.0.0.1:39655}{cdfhilmrstw}{8.14.1}{7000099-8505000}] with reason [completing election]
2025.02.01 11:24:10 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2025.02.01 11:24:10 INFO es[][o.e.n.Node] started {sonarqube}{lBLiRkN-Rve-OxUUOLx_Wg}{BSv5jV0YRjOtigVsrxdSUw}{sonarqube}{127.0.0.1}{127.0.0.1:39655}{cdfhilmrstw}{8.14.1}{7000099-8505000}{xpack.installed=true, rack_id=sonarqube}
2025.02.01 11:24:11 INFO es[][o.e.l.ClusterStateLicenseService] license [9a669874-cbee-4364-95f0-0f5b53315fdf] mode [basic] - valid
2025.02.01 11:24:11 INFO es[][o.e.g.GatewayService] recovered [6] indices into cluster_state
2025.02.01 11:24:12 INFO es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{lBLiRkN-Rve-OxUUOLx_Wg}] is selected as the current health node.
2025.02.01 11:24:28 INFO es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[components][4], [metadatas][0]]])." previous.health="RED" reason="shards started [[components][4], [metadatas][0]]"
2025.02.01 11:24:29 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2025.02.01 11:24:29 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube/sonarqube-10.7.0.96327]: /usr/lib/jvm/java-21-openjdk-21.0.5.0.11-1.fc41.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-10.7.0.96327/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.7.0.96327.jar:/opt/sonarqube/sonarqube-10.7.0.96327/lib/jdbc/mssql/mssql-jdbc-12.6.3.jre11.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-10.7.0.96327/temp/sq-process12527188902870654083properties
Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:430)
at org.sonar.process.PluginSecurityManager.restrictPlugins(PluginSecurityManager.java:42)
at org.sonar.server.app.WebSecurityManager.apply(WebSecurityManager.java:47)
at org.sonar.server.app.WebServer.main(WebServer.java:101)
2025.02.01 11:24:29 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [Web Server]: 1
2025.02.01 11:24:29 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2025.02.01 11:24:30 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2025.02.01 11:24:30 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2025.02.01 11:24:30 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension)
10.7.0.96327 - how is SonarQube deployed: zip
- what are you trying to achieve
start sonarqube as usual - what have you tried so far to achieve this
retried lauching a couple of times
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!