質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
PostgreSQL

PostgreSQLはオープンソースのオブジェクトリレーショナルデータベース管理システムです。 Oracle Databaseで使われるPL/SQLを参考に実装されたビルトイン言語で、Windows、 Mac、Linux、UNIX、MSなどいくつものプラットフォームに対応しています。

Java

Javaは、1995年にサン・マイクロシステムズが開発したプログラミング言語です。表記法はC言語に似ていますが、既存のプログラミング言語の短所を踏まえていちから設計されており、最初からオブジェクト指向性を備えてデザインされています。セキュリティ面が強力であることや、ネットワーク環境での利用に向いていることが特徴です。Javaで作られたソフトウェアは基本的にいかなるプラットフォームでも作動します。

Q&A

解決済

1回答

5090閲覧

sonarqubeの起動後webアクセスができない

Y.Takahashi

総合スコア5

PostgreSQL

PostgreSQLはオープンソースのオブジェクトリレーショナルデータベース管理システムです。 Oracle Databaseで使われるPL/SQLを参考に実装されたビルトイン言語で、Windows、 Mac、Linux、UNIX、MSなどいくつものプラットフォームに対応しています。

Java

Javaは、1995年にサン・マイクロシステムズが開発したプログラミング言語です。表記法はC言語に似ていますが、既存のプログラミング言語の短所を踏まえていちから設計されており、最初からオブジェクト指向性を備えてデザインされています。セキュリティ面が強力であることや、ネットワーク環境での利用に向いていることが特徴です。Javaで作られたソフトウェアは基本的にいかなるプラットフォームでも作動します。

0グッド

0クリップ

投稿2020/04/05 15:45

素人な質問だと思いますが、どうかご教授願います。

vmwareにcentos8(linux)を入れsonarqubeをインストールし起動しましたが、windows側のwebブラウザが開けません。
sonar.log上ではプロセスが立ち上がっており、linux側ではcurl http://localhost:9000/sonarqubeで応答が返ってきます。

ブラウザには以下のURLを入力しましたが、開けませんでした。
http://localhost:9000/sonarqube
・http://<IPアドレス>:9000/sonarqube

以下に起動時のログを添付します。
sonar.log

--> Wrapper Started as Daemon Launching a JVM... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. 2020.04.06 00:33:50 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /home/sonarqube/sonarqube/temp 2020.04.06 00:33:50 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001 2020.04.06 00:33:50 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/home/sonarqube/sonarqube/elasticsearch]: /home/sonarqube/sonarqube/elasticsearch/bin/elasticsearch 2020.04.06 00:33:51 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. 2020.04.06 00:33:51 INFO app[][o.e.p.PluginsService] no modules loaded 2020.04.06 00:33:51 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin] 2020.04.06 00:34:08 INFO app[][o.s.a.SchedulerImpl] Process[es] is up 2020.04.06 00:34:08 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/home/sonarqube/sonarqube]: /usr/lib/jvm/java-11-openjdk-11.0.6.10-0.el8_1.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/home/sonarqube/sonarqube/temp --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/common/*:/home/sonarqube/sonarqube/lib/jdbc/postgresql/postgresql-42.2.8.jar org.sonar.server.app.WebServer /home/sonarqube/sonarqube/temp/sq-process4618036297582148342properties 2020.04.06 00:34:26 INFO app[][o.s.a.SchedulerImpl] Process[web] is up 2020.04.06 00:34:26 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/home/sonarqube/sonarqube]: /usr/lib/jvm/java-11-openjdk-11.0.6.10-0.el8_1.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/home/sonarqube/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*:/home/sonarqube/sonarqube/lib/jdbc/postgresql/postgresql-42.2.8.jar org.sonar.ce.app.CeServer /home/sonarqube/sonarqube/temp/sq-process9966737242198388776properties 2020.04.06 00:34:35 INFO app[][o.s.a.SchedulerImpl] Process[ce] is up 2020.04.06 00:34:35 INFO app[][o.s.a.SchedulerImpl] SonarQube is up

es.log

2020.04.06 00:33:55 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/mapper/cs-root)]], net usable_space [43.6gb], net total_space [46.9gb], types [xfs] 2020.04.06 00:33:55 INFO es[][o.e.e.NodeEnvironment] heap size [495.3mb], compressed ordinary object pointers [true] 2020.04.06 00:33:55 INFO es[][o.e.n.Node] node name [sonarqube], node ID [Qc7wZSgfTVyk8evaqNVEBA] 2020.04.06 00:33:55 INFO es[][o.e.n.Node] version[6.8.4], pid[104589], build[default/tar/bca0c8d/2019-10-16T06:19:49.319352Z], OS[Linux/4.18.0-151.el8.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/11.0.6/11.0.6+10-LTS] 2020.04.06 00:33:55 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -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, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/home/sonarqube/sonarqube/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/home/sonarqube/sonarqube/elasticsearch, -Des.path.conf=/home/sonarqube/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [analysis-common] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [lang-painless] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [mapper-extras] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [parent-join] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [percolator] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [reindex] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [repository-url] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4] 2020.04.06 00:33:56 INFO es[][o.e.p.PluginsService] no plugins loaded 2020.04.06 00:34:00 WARN es[][o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version. 2020.04.06 00:34:01 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings] 2020.04.06 00:34:02 INFO es[][o.e.n.Node] initialized 2020.04.06 00:34:02 INFO es[][o.e.n.Node] starting ... 2020.04.06 00:34:02 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001} 2020.04.06 00:34:02 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks 2020.04.06 00:34:05 INFO es[][o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{Qc7wZSgfTVyk8evaqNVEBA}{2cG6aeQaQdC8gTlxQBaixw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} 2020.04.06 00:34:05 INFO es[][o.e.c.s.ClusterApplierService] new_master {sonarqube}{Qc7wZSgfTVyk8evaqNVEBA}{2cG6aeQaQdC8gTlxQBaixw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{Qc7wZSgfTVyk8evaqNVEBA}{2cG6aeQaQdC8gTlxQBaixw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]]) 2020.04.06 00:34:05 INFO es[][o.e.n.Node] started 2020.04.06 00:34:06 INFO es[][o.e.g.GatewayService] recovered [7] indices into cluster_state 2020.04.06 00:34:08 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[components][3], [components][0], [metadatas][0]] ...]).

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

自己解決

Sonarqubeサーバ側のインバウンド設定ができていなかったのでインバウンド設定後接続できました。

投稿2020/05/26 02:16

Y.Takahashi

総合スコア5

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問