INFO app[][o.s.a.SchedulerImpl] Process[web] is stopped INFO app[][o.s.a.SchedulerImpl] Process[es] is stopped INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped

→ Wrapper Started as Console
Launching a JVM…
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2022.02.23 10:36:11 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp

2022.02.23 10:36:11 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:49989]

2022.02.23 10:36:11 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [G:\Newr\sonarqube-9.3.0.51899\elasticsearch]: C:\Program Files\Java\jdk-11.0.1\bin\java -XX:+UseG1GC -Djava.io.tmpdir=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp -XX:ErrorFile=…/logs/es_hs_err_pid%p.log -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=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\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 -Dcom.redhat.fips=false -Des.enforce.bootstrap.checks=true -Xmx512m -Xms512m -XX:MaxDirectMemorySize=256m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=G:\Newr\sonarqube-9.3.0.51899\elasticsearch -Des.path.conf=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch

2022.02.23 10:36:11 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running

2022.02.23 10:36:54 INFO app[o.s.a.SchedulerImpl] Process[es] is up

2022.02.23 10:36:54 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [G:\Newr\sonarqube-9.3.0.51899]: C:\Program Files\Java\jdk-11.0.1\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\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 -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.3.0.51899.jar;G:\Newr\sonarqube-9.3.0.51899\lib\jdbc\postgresql\postgresql-42.3.1.jar org.sonar.server.app.WebServer G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp\sq-process17040263759891088635properties

2022.02.23 10:37:00 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped

2022.02.23 10:37:00 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped

2022.02.23 10:37:00 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped

← Wrapper Stopped

WEB LOG

2022.02.23 10:36:58 INFO web[o.s.p.ProcessEntryPoint] Starting web
2022.02.23 10:37:00 ERROR web[o.a.c.c.StandardService] Failed to initialize connector [Connector[HTTP/1.1-9001]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1076)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:843)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
at org.sonar.server.app.WebServer.start(WebServer.java:53)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
at org.sonar.server.app.WebServer.main(WebServer.java:102)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:461)
at java.base/sun.nio.ch.Net.bind(Net.java:453)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:221)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1161)
at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:222)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:599)
at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:80)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1074)
… 12 common frames omitted
2022.02.23 10:37:00 ERROR web[o.s.s.a.EmbeddedTomcat] Fail to start web server
org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-9001]]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:843)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
at org.sonar.server.app.WebServer.start(WebServer.java:53)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
at org.sonar.server.app.WebServer.main(WebServer.java:102)
2022.02.23 10:37:00 WARN web[o.s.p.ProcessEntryPoint] Fail to start web
java.lang.RuntimeException: org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-9001]]
at com.google.common.base.Throwables.propagate(Throwables.java:241)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:77)
at org.sonar.server.app.WebServer.start(WebServer.java:53)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
at org.sonar.server.app.WebServer.main(WebServer.java:102)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-9001]]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:843)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
… 4 common frames omitted
2022.02.23 10:37:00 INFO web[o.s.p.ProcessEntryPoint] Hard stopping process
2022.02.23 10:51:25 INFO web[o.s.p.ProcessEntryPoint] Starting web
2022.02.23 10:51:28 ERROR web[o.a.c.c.StandardService] Failed to initialize connector [Connector[HTTP/1.1-9001]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1076)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:843)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
at org.sonar.server.app.WebServer.start(WebServer.java:53)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
at org.sonar.server.app.WebServer.main(WebServer.java:102)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:461)
at java.base/sun.nio.ch.Net.bind(Net.java:453)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:221)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1161)
at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:222)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:599)
at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:80)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1074)
… 12 common frames omitted
2022.02.23 10:51:28 ERROR web[o.s.s.a.EmbeddedTomcat] Fail to start web server
org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-9001]]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:843)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
at org.sonar.server.app.WebServer.start(WebServer.java:53)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
at org.sonar.server.app.WebServer.main(WebServer.java:102)
2022.02.23 10:51:28 WARN web[o.s.p.ProcessEntryPoint] Fail to start web
java.lang.RuntimeException: org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-9001]]
at com.google.common.base.Throwables.propagate(Throwables.java:241)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:77)
at org.sonar.server.app.WebServer.start(WebServer.java:53)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
at org.sonar.server.app.WebServer.main(WebServer.java:102)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-9001]]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:843)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
… 4 common frames omitted
2022.02.23 10:51:28 INFO web[o.s.p.ProcessEntryPoint] Hard stopping process


ES.LOG

2022.02.23 10:36:27 INFO es[o.e.n.Node] version[7.16.3], pid[6080], build[unknown/unknown/4e6e4eab2297e949ec994e688dad46290d018022/2022-01-06T23:43:02.825887787Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/11.0.1/11.0.1+13]
2022.02.23 10:36:27 INFO es[o.e.n.Node] JVM home [C:\Program Files\Java\jdk-11.0.1]
2022.02.23 10:36:27 INFO es[o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp, -XX:ErrorFile=…/logs/es_hs_err_pid%p.log, -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=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\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, -Dcom.redhat.fips=false, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Delasticsearch, -Des.path.home=G:\Newr\sonarqube-9.3.0.51899\elasticsearch, -Des.path.conf=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp\conf\es]
2022.02.23 10:36:35 INFO es[o.e.p.PluginsService] loaded module [analysis-common]
2022.02.23 10:36:35 INFO es[o.e.p.PluginsService] loaded module [lang-painless]
2022.02.23 10:36:35 INFO es[o.e.p.PluginsService] loaded module [parent-join]
2022.02.23 10:36:35 INFO es[o.e.p.PluginsService] loaded module [transport-netty4]
2022.02.23 10:36:35 INFO es[o.e.p.PluginsService] no plugins loaded
2022.02.23 10:36:35 INFO es[o.e.e.NodeEnvironment] using [1] data paths, mounts [[Test (G:)]], net usable_space [169.3gb], net total_space [250.4gb], types [NTFS]
2022.02.23 10:36:35 INFO es[o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2022.02.23 10:36:38 INFO es[o.e.n.Node] node name [sonarqube], node ID [7rC_K6dnRGKgxzXWav8gbg], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2022.02.23 10:36:50 INFO es[o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=512mb}]
2022.02.23 10:36:50 INFO es[o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2022.02.23 10:36:50 INFO es[o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2022.02.23 10:36:50 INFO es[o.e.n.Node] initialized
2022.02.23 10:36:50 INFO es[o.e.n.Node] starting …
2022.02.23 10:36:51 INFO es[o.e.t.TransportService] publish_address {127.0.0.1:49989}, bound_addresses {127.0.0.1:49989}
2022.02.23 10:36:52 INFO es[o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2022.02.23 10:36:52 INFO es[o.e.c.c.Coordinator] cluster UUID [nmcv5xnTTgGyHKMsHFsN1Q]
2022.02.23 10:36:53 INFO es[o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{7rC_K6dnRGKgxzXWav8gbg}{JLG9XfyDQTunog3BtfmRMQ}{127.0.0.1}{127.0.0.1:49989}{cdfhimrsw} elect leader, BECOME_MASTER_TASK, FINISH_ELECTION], term: 11, version: 15, delta: master node changed {previous , current [{sonarqube}{7rC_K6dnRGKgxzXWav8gbg}{JLG9XfyDQTunog3BtfmRMQ}{127.0.0.1}{127.0.0.1:49989}{cdfhimrsw}]}
2022.02.23 10:36:53 INFO es[o.e.c.s.ClusterApplierService] master node changed {previous , current [{sonarqube}{7rC_K6dnRGKgxzXWav8gbg}{JLG9XfyDQTunog3BtfmRMQ}{127.0.0.1}{127.0.0.1:49989}{cdfhimrsw}]}, term: 11, version: 15, reason: Publication{term=11, version=15}
2022.02.23 10:36:53 INFO es[o.e.g.GatewayService] recovered [0] indices into cluster_state
2022.02.23 10:36:53 INFO es[o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2022.02.23 10:36:53 INFO es[o.e.n.Node] started
2022.02.23 10:50:51 INFO es[o.e.n.Node] version[7.16.3], pid[9672], build[unknown/unknown/4e6e4eab2297e949ec994e688dad46290d018022/2022-01-06T23:43:02.825887787Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/11.0.1/11.0.1+13]
2022.02.23 10:50:51 INFO es[o.e.n.Node] JVM home [C:\Program Files\Java\jdk-11.0.1]
2022.02.23 10:50:51 INFO es[o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp, -XX:ErrorFile=…/logs/es_hs_err_pid%p.log, -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=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\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, -Dcom.redhat.fips=false, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Delasticsearch, -Des.path.home=G:\Newr\sonarqube-9.3.0.51899\elasticsearch, -Des.path.conf=G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp\conf\es]
2022.02.23 10:50:59 INFO es[o.e.p.PluginsService] loaded module [analysis-common]
2022.02.23 10:50:59 INFO es[o.e.p.PluginsService] loaded module [lang-painless]
2022.02.23 10:50:59 INFO es[o.e.p.PluginsService] loaded module [parent-join]
2022.02.23 10:50:59 INFO es[o.e.p.PluginsService] loaded module [transport-netty4]
2022.02.23 10:50:59 INFO es[o.e.p.PluginsService] no plugins loaded
2022.02.23 10:51:00 INFO es[o.e.e.NodeEnvironment] using [1] data paths, mounts [[Test (G:)]], net usable_space [169.3gb], net total_space [250.4gb], types [NTFS]
2022.02.23 10:51:00 INFO es[o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2022.02.23 10:51:03 INFO es[o.e.n.Node] node name [sonarqube], node ID [7rC_K6dnRGKgxzXWav8gbg], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2022.02.23 10:51:19 INFO es[o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=512mb}]
2022.02.23 10:51:19 INFO es[o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2022.02.23 10:51:20 INFO es[o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2022.02.23 10:51:20 INFO es[o.e.n.Node] initialized
2022.02.23 10:51:20 INFO es[o.e.n.Node] starting …
2022.02.23 10:51:21 INFO es[o.e.t.TransportService] publish_address {127.0.0.1:50530}, bound_addresses {127.0.0.1:50530}
2022.02.23 10:51:21 INFO es[o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2022.02.23 10:51:21 INFO es[o.e.c.c.Coordinator] cluster UUID [nmcv5xnTTgGyHKMsHFsN1Q]
2022.02.23 10:51:22 INFO es[o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{7rC_K6dnRGKgxzXWav8gbg}{WlwpdysmTr2qCVio8g7wuQ}{127.0.0.1}{127.0.0.1:50530}{cdfhimrsw} elect leader, BECOME_MASTER_TASK, FINISH_ELECTION], term: 12, version: 17, delta: master node changed {previous , current [{sonarqube}{7rC_K6dnRGKgxzXWav8gbg}{WlwpdysmTr2qCVio8g7wuQ}{127.0.0.1}{127.0.0.1:50530}{cdfhimrsw}]}
2022.02.23 10:51:22 INFO es[o.e.c.s.ClusterApplierService] master node changed {previous , current [{sonarqube}{7rC_K6dnRGKgxzXWav8gbg}{WlwpdysmTr2qCVio8g7wuQ}{127.0.0.1}{127.0.0.1:50530}{cdfhimrsw}]}, term: 12, version: 17, reason: Publication{term=12, version=17}
2022.02.23 10:51:22 INFO es[o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2022.02.23 10:51:22 INFO es[o.e.n.Node] started
2022.02.23 10:51:22 INFO es[o.e.g.GatewayService] recovered [0] indices into cluster_state


Config files details :

Wrapper.conf : wrapper.java.command=C:/Program Files/Java/jdk-11.0.1/bin/java

Sonar.Properties:
sonar.jdbc.username=sonarqube
sonar.jdbc.password=database
sonar.jdbc.url=jdbc:postgresql://localhost:5433/postgres
sonar.web.host=0.0.0.0
sonar.web.port=9001
sonar.path.data=/var/sonarqube/data
sonar.path.temp=/var/sonarqube/temp


When I search http://localhost:9001/ in google. it shows like this,

{
“name” : “sonarqube”,
“cluster_name” : “sonarqube”,
“cluster_uuid” : “nmcv5xnTTgGyHKMsHFsN1Q”,
“version” : {
“number” : “7.16.3”,
“build_flavor” : “unknown”,
“build_type” : “unknown”,
“build_hash” : “4e6e4eab2297e949ec994e688dad46290d018022”,
“build_date” : “2022-01-06T23:43:02.825887787Z”,
“build_snapshot” : false,
“lucene_version” : “8.10.1”,
“minimum_wire_compatibility_version” : “6.8.0”,
“minimum_index_compatibility_version” : “6.0.0-beta1”
},
“tagline” : “You Know, for Search”
}

Need help, how to fix this ,

Hey there.

sonar.web.port=9001

This attempts to start the SonarQube web server on port 9000, which is the same port Elasticsearch is being started on. These need to be configured as different ports.

hey @Colin, thanks for the reply.

I’d really appreciate you if you can guide me on Where / How to configure them as different ports.

You’ve already offered the configuraiton file details.

A raw (uneditd) conf/sonar.properties will show all the properties available, but sonar.search.port is what you are looking for if you want to change the port Elasticsearch runs on.

I uncommented and changed the port to like this " sonar.search.port=9003 "

  • tried 9001 and 9003

but in console, it shows like this

→ Wrapper Started as Console Launching a JVM…
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2022.02.23 15:46:09 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp

2022.02.23 15:46:09 ERROR app[o.s.application.App] Startup failure
java.nio.file.AccessDeniedException: G:\Newr\sonarqube-9.3.0.51899\var\sonarqube\temp\jna16107979359994772048.dll at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:270)
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1141)
at org.sonar.application.AppFileSystem$CleanTempDirFileVisitor.visitFile(AppFileSystem.java:121)
at org.sonar.application.AppFileSystem$CleanTempDirFileVisitor.visitFile(AppFileSystem.java:101)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2724)
at org.sonar.application.AppFileSystem.createOrCleanTempDirectory(AppFileSystem.java:96)
at org.sonar.application.AppFileSystem.reset(AppFileSystem.java:62)
at org.sonar.application.App.start(App.java:53)
at org.sonar.application.App.main(App.java:81)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.base/java.lang.Thread.run(Thread.java:834)
← Wrapper Stopped

I would suggest making sure that all previous java processes were stopped, and that the user running the service has full permissions on the install directory.