求解:在虚拟上部署gitlab、jenkins和sonarqube,前两个都可以在网页上正常登录,sonar只有第一Tina登录上了,之后再也打不开网页
es.log
2022.08.29 02:38:36 INFO es[][o.e.n.Node] version[7.16.2], pid[31], build[default/tar/2b937c44140b6559905130a8650c64dbd0879cfb/2021-12-18T19:42:46.604893745Z], OS[Linux/5.4.0-109-generic/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/11.0.13/11.0.13+8]
2022.08.29 02:38:36 INFO es[][o.e.n.Node] JVM home [/opt/java/openjdk]
2022.08.29 02:38:36 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/opt/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=/opt/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, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2022.08.29 02:38:37 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2022.08.29 02:38:37 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2022.08.29 02:38:37 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2022.08.29 02:38:37 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2022.08.29 02:38:37 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2022.08.29 02:38:37 INFO es[][o.e.p.PluginsService] no plugins loaded
2022.08.29 02:38:37 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/mapper/ubuntu--vg-ubuntu--lv)]], net usable_space [8.4gb], net total_space [24.1gb], types [ext4]
2022.08.29 02:38:37 INFO es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2022.08.29 02:38:37 INFO es[][o.e.n.Node] node name [sonarqube], node ID [Vkl3p0R9QJ-3CxIfRjsiUg], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2022.08.29 02:38:44 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.08.29 02:38:44 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2022.08.29 02:38:44 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.08.29 02:38:45 INFO es[][o.e.n.Node] initialized
2022.08.29 02:38:45 INFO es[][o.e.n.Node] starting ...
2022.08.29 02:38:45 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:37785}, bound_addresses {127.0.0.1:37785}
2022.08.29 02:38:46 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2022.08.29 02:38:46 INFO es[][o.e.c.c.Coordinator] cluster UUID [mOAndHNqQOOyizlkcQvMtQ]
2022.08.29 02:38:46 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{Vkl3p0R9QJ-3CxIfRjsiUg}{S7nGX0N1RQGtsRyOqIdmNw}{127.0.0.1}{127.0.0.1:37785}{cdfhimrsw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 11, version: 264, delta: master node changed {previous [], current [{sonarqube}{Vkl3p0R9QJ-3CxIfRjsiUg}{S7nGX0N1RQGtsRyOqIdmNw}{127.0.0.1}{127.0.0.1:37785}{cdfhimrsw}]}
2022.08.29 02:38:46 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{Vkl3p0R9QJ-3CxIfRjsiUg}{S7nGX0N1RQGtsRyOqIdmNw}{127.0.0.1}{127.0.0.1:37785}{cdfhimrsw}]}, term: 11, version: 264, reason: Publication{term=11, version=264}
2022.08.29 02:38:46 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2022.08.29 02:38:46 INFO es[][o.e.n.Node] started
2022.08.29 02:38:46 INFO es[][o.e.g.GatewayService] recovered [7] indices into cluster_state
2022.08.29 02:38:48 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]]).
sonar.log
2022.08.29 02:38:21 INFO app[][o.s.a.SchedulerImpl] Stopping SonarQube
2022.08.29 02:38:32 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2022.08.29 02:38:32 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:37785]
2022.08.29 02:38:33 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2022.08.29 02:38:33 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2022.08.29 02:38:48 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2022.08.29 02:38:48 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/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 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-8.9.8.54436.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.3.3.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process2305498283124466998properties