426U4tG0
2017-01-12 01:50:05

java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

sudo service sonar start


2017.01.12 11:55:13 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2017.01.12 11:55:13 INFO es[o.elasticsearch.node] [sonar-1484202311439] initialized
2017.01.12 11:55:13 INFO es[o.elasticsearch.node] [sonar-1484202311439] starting ...
2017.01.12 11:55:13 INFO es[o.e.transport] [sonar-1484202311439] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]}
2017.01.12 11:55:13 INFO es[o.e.discovery] [sonar-1484202311439] sonarqube/Na0HTn9LQCKWaEOGXCcVFA
2017.01.12 11:55:16 INFO es[o.e.cluster.service] [sonar-1484202311439] new_master [sonar-1484202311439][Na0HTn9LQCKWaEOGXCcVFA][ip-172-31-25-34.ap-southeast-1.compute.internal][inet[/127.0.0.1:9001]]{r
ack_id=sonar-1484202311439}, reason: zen-disco-join (elected_as_master)
2017.01.12 11:55:16 INFO es[o.elasticsearch.node] [sonar-1484202311439] started
2017.01.12 11:55:16 INFO es[o.e.gateway] [sonar-1484202311439] recovered [0] indices into cluster_state
2017.01.12 11:55:17 INFO app[o.s.p.m.Monitor] Process[es] is up
2017.01.12 11:55:17 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: /usr/lib/jvm/java-8-oracle/jre/bin/java
-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djr
uby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/usr/local/sonar/temp -javaagent:/usr/lib/jvm/java-8-oracle/jre/lib/manag
ement-agent.jar -cp ./lib/common/*:./lib/server/*:/usr/local/sonar/lib/jdbc/mysql/mysql-connector-java-5.1.35.jar org.sonar.server.app.WebServer /usr/local/sonar/temp/sq-process757896455623925264propertie
s
2017.01.12 11:55:17 INFO web[o.s.p.ProcessEntryPoint] Starting web
2017.01.12 11:55:17 INFO web[o.s.s.a.TomcatContexts] Webapp directory: /usr/local/sonar/web
2017.01.12 11:55:18 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2017.01.12 11:55:18 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2017.01.12 11:55:18 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.6.4 / 52298794f1a34a4fd713ff8d441a0c13432e40a9
2017.01.12 11:55:18 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerforma
nce
2017.01.12 11:55:18 ERROR web[o.a.c.c.C.[.[.[/]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.PlatformServletContextListener
org.sonar.api.utils.MessageException: Unsupported mysql version: 5.5. Minimal supported version is 5.6.
2017.01.12 11:55:18 ERROR web[o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file
2017.01.12 11:55:18 ERROR web[o.a.c.c.StandardContext] Context [] startup failed due to previous errors
2017.01.12 11:55:18 WARN web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is ver$
likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)