将SonarQube 6.4升级到6.7 LTS的问题

时间:2017-11-27 21:25:47

标签: sonarqube sonar-runner

尝试升级在m3.xlarge上运行的sonarqube实例Amazon Linux AMI 2017.03.1.20170617 x86_64 HVM GP2

在此处查看升级说明https://docs.sonarqube.org/display/SONAR/Upgrading

但是当我在新目录中启动声纳时,它会出现几秒钟然后关闭。是否有其他人有这个问题,或者我在说明书中遗漏了什么?使用与我的6.4版本相同的信息更新了sonar.properties文件,我没有看到需要在wrapper.conf中进行任何更改。旧版本仍然很好。

想知道这是否与: a)尝试连接到现有数据库 b)尚未安装任何插件

=

sonar.log

/etc/sonarqube-6.7/bin/linux-x86-64
[root@ip linux-x86-64]# ./sonar.sh start
Starting SonarQube...
Started SonarQube.
[root@ip-linux-x86-64]# ls -la
total 144
drwxr-xr-x 3 root root   4096 Nov 27 21:08 .
drwxr-xr-x 8 root root   4096 Nov  7 15:16 ..
drwxr-xr-x 2 root root   4096 Nov  7 15:16 lib
-rw-r--r-- 1 root root      6 Nov 27 21:08 SonarQube.pid
-rwxr-xr-x 1 root root  15522 Nov  7 15:06 sonar.sh
-rwxr-xr-x 1 root root 111027 Nov  7 15:06 wrapper
[root@ip- linux-x86-64]# ls -la
total 144
drwxr-xr-x 3 root root   4096 Nov 27 21:08 .
drwxr-xr-x 8 root root   4096 Nov  7 15:16 ..
drwxr-xr-x 2 root root   4096 Nov  7 15:16 lib
-rw-r--r-- 1 root root      6 Nov 27 21:08 SonarQube.pid
-rwxr-xr-x 1 root root  15522 Nov  7 15:06 sonar.sh
-rwxr-xr-x 1 root root 111027 Nov  7 15:06 wrapper
[root@ip- linux-x86-64]# ls -la
total 140
drwxr-xr-x 3 root root   4096 Nov 27 21:08 .
drwxr-xr-x 8 root root   4096 Nov  7 15:16 ..
drwxr-xr-x 2 root root   4096 Nov  7 15:16 lib
-rwxr-xr-x 1 root root  15522 Nov  7 15:06 sonar.sh
-rwxr-xr-x 1 root root 111027 Nov  7 15:06 wrapper
[root@ linux-x86-64]# ls -la
total 140

es.log

vi 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.

2017.11.27 21:20:50 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /etc/sonarqube-6.7/temp
2017.11.27 21:20:50 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2017.11.27 21:20:50 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/etc/sonarqube-6.7/elasticsearch]: /etc/sonarqube-6.7/elasticsearch/bin/elasticsearch -Epath.conf=/etc/sonarqube-6.7/temp/conf/es
2017.11.27 21:20:50 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2017.11.27 21:20:50 INFO  app[][o.e.p.PluginsService] no modules loaded
2017.11.27 21:20:50 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2017.11.27 21:20:51 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 1
2017.11.27 21:20:51 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
  2017.11.27 21:20:51 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

0 个答案:

没有答案