5.6.1 Web server doesn't start up

450 views
Skip to first unread message

danielgl...@gmail.com

unread,
Sep 13, 2016, 3:09:03 PM9/13/16
to SonarQube
I am attempting to upgrade a 5.4 server to 5.6.1.  I used yum to install the newer version.  I cleaned out the "data" folder and the installed plugins.  Using the new/unmodified config file I attempt to start the server in order to install the required plugins for 5.6.1.  However, the start up process just hangs.  I encountered this same exact thing when I alternatively downloaded the zip and used fresh install.  I am attempting this on Base CentOS 7 Cloud with OpenJDK 1.8.0_51-b16

Launching a JVM...

Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org

  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.


2016.09.13 14:48:29 INFO  app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonar/temp

2016.09.13 14:48:29 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[es]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonar/temp -javaagent:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /opt/sonar/temp/sq-process6967977823025883918properties

2016.09.13 14:48:30 INFO   es[o.s.p.ProcessEntryPoint]  Starting es

2016.09.13 14:48:30 INFO   es[o.s.s.EsSettings]  Elasticsearch listening on 127.0.0.1:9001

2016.09.13 14:48:30 INFO   es[o.elasticsearch.node]  [sonar-1473792509256] version[1.7.5], pid[1122], build[00f95f4/2016-02-02T09:55:30Z]

2016.09.13 14:48:30 INFO   es[o.elasticsearch.node]  [sonar-1473792509256] initializing ...

2016.09.13 14:48:30 INFO   es[o.e.plugins]  [sonar-1473792509256] loaded [], sites []

2016.09.13 14:48:30 INFO   es[o.elasticsearch.env]  [sonar-1473792509256] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [34.7gb], net total_space [39.9gb], types [rootfs]

2016.09.13 14:48:32 WARN   es[o.e.bootstrap]  JNA not found. native methods will be disabled.

2016.09.13 14:48:33 INFO   es[o.elasticsearch.node]  [sonar-1473792509256] initialized

2016.09.13 14:48:33 INFO   es[o.elasticsearch.node]  [sonar-1473792509256] starting ...

2016.09.13 14:48:33 INFO   es[o.e.transport]  [sonar-1473792509256] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]}

2016.09.13 14:48:33 INFO   es[o.e.discovery]  [sonar-1473792509256] sonarqube/y-jhSPHNSIqB2QFRQkdj4g

2016.09.13 14:48:36 INFO   es[o.e.cluster.service]  [sonar-1473792509256] new_master [sonar-1473792509256][y-jhSPHNSIqB2QFRQkdj4g][sonar.instance.openstack.sas.com][inet[/127.0.0.1:9001]]{rack_id=sonar-1473792509256}, reason: zen-disco-join (elected_as_master)

2016.09.13 14:48:36 INFO   es[o.elasticsearch.node]  [sonar-1473792509256] started

2016.09.13 14:48:36 INFO   es[o.e.gateway]  [sonar-1473792509256] recovered [6] indices into cluster_state

2016.09.13 14:48:39 INFO  app[o.s.p.m.Monitor] Process[es] is up

2016.09.13 14:48:39 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/opt/sonar/temp -javaagent:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/server/*:/opt/sonar/lib/jdbc/h2/h2-1.3.176.jar org.sonar.server.app.WebServer /opt/sonar/temp/sq-process3863011028202214258properties

2016.09.13 14:48:39 INFO  web[o.s.p.ProcessEntryPoint] Starting web

2016.09.13 14:48:40 INFO  web[o.s.s.a.TomcatContexts] Webapp directory: /opt/sonar/web

2016.09.13 14:48:40 INFO  web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]

2016.09.13 14:48:40 INFO  web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read

2016.09.13 14:48:40 INFO  web[o.s.s.p.ServerImpl] SonarQube Server / 5.6.1 / 07c82b2477ac69126115671fe56d53c2ff47d5f5

2016.09.13 14:48:42 INFO  web[o.s.s.d.EmbeddedDatabase] Starting embedded database on port 9092 with url jdbc:h2:tcp://localhost:9092/sonar

2016.09.13 14:48:42 INFO  web[o.s.s.d.EmbeddedDatabase] Embedded database started. Data stored in: /opt/sonar/data

2016.09.13 14:48:42 INFO  web[o.sonar.db.Database] Create JDBC data source for jdbc:h2:tcp://localhost:9092/sonar

2016.09.13 14:48:42 WARN  web[o.s.d.DatabaseChecker] H2 database should be used for evaluation purpose only

2016.09.13 14:48:43 INFO  web[o.s.s.p.DefaultServerFileSystem] SonarQube home: /opt/sonar

2016.09.13 14:48:43 INFO  web[o.e.plugins] [sonar-1473792509256] loaded [], sites []

2016.09.13 14:48:45 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin C# / 5.0 / 17ddb09047940791828dcb70c9e225f006ab11aa

2016.09.13 14:48:45 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17

2016.09.13 14:48:45 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin Java / 3.13.1 / cf0f0c950ba3e83a87c7fe11c6ff7e63f4864bd9

2016.09.13 14:48:45 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin JavaScript / 2.11 / a9b1afa9ceef7079811779d9efc5f8026acb1400

2016.09.13 14:48:45 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.3 / aff503d48bc77b07c2b62abf93249d0a20bd355c

2016.09.13 14:48:45 INFO  web[o.s.s.p.RailsAppsDeployer] Deploying Ruby on Rails applications

2016.09.13 14:48:46 INFO  web[o.s.s.p.UpdateCenterClient] Update center: http://update.sonarsource.org/update-center.properties (no proxy)

2016.09.13 14:48:47 INFO  web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.)

2016.09.13 14:48:47 INFO  web[o.s.s.s.RegisterMetrics] Register metrics

2016.09.13 14:48:47 INFO  web[o.s.s.r.RegisterRules] Register rules

2016.09.13 14:48:50 INFO  web[o.s.s.q.RegisterQualityProfiles] Register quality profiles

2016.09.13 14:48:51 INFO  web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters

2016.09.13 14:48:51 INFO  web[o.s.s.s.RegisterDashboards] Register dashboards

2016.09.13 14:48:51 INFO  web[o.s.s.s.RegisterPermissionTemplates] Register permission templates

2016.09.13 14:48:51 INFO  web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys

2016.09.13 14:48:51 INFO  web[o.s.s.e.IndexerStartupTask] Index activities

2016.09.13 14:48:51 INFO  web[o.s.s.e.IndexerStartupTask] Index issues

2016.09.13 14:48:51 INFO  web[o.s.s.e.IndexerStartupTask] Index tests

2016.09.13 14:48:51 INFO  web[o.s.s.e.IndexerStartupTask] Index users

2016.09.13 14:48:51 INFO  web[o.s.s.e.IndexerStartupTask] Index views

2016.09.13 14:48:52 INFO  web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on OpenJDK 64-Bit Server VM 1.8.0_51-b16 [linux-amd64]

2016.09.13 14:48:52 INFO  web[jruby.rack] using a shared (threadsafe!) runtime

2016.09.13 14:49:03 INFO  web[jruby.rack] keeping custom (config.logger) Rails logger instance

danielgl...@gmail.com

unread,
Sep 13, 2016, 8:25:44 PM9/13/16
to SonarQube, danielgl...@gmail.com
Continue to "ignore" me:
  1. Realized this is the wrong forum--StackOverflow is the place this should have been posted
  2. I wasn't being "patient" enough...

    2016.09.13 20:22:58 INFO  web[o.a.c.u.SessionIdGeneratorBase] Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [3,196,860] milliseconds.

Simon Brandhof

unread,
Sep 14, 2016, 2:58:45 AM9/14/16
to danielgl...@gmail.com, SonarQube
Hi,

Note that this step about SecureRandom should be faster by adding sonar.web.javaAdditionalOpts=-Djava.security.egd=file:/dev/./urandom to conf/sonar.properties.

Regards

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/a5d09f9f-c06f-40e4-a98e-9222dccb7fb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Simon BRANDHOF | SonarSource
Tech Lead & Co-Founder
http://twitter.com/SimonBrandhof

danielgl...@gmail.com

unread,
Sep 14, 2016, 9:21:17 AM9/14/16
to SonarQube, danielgl...@gmail.com
I came across that setting in a StackOverflow post, but wasn't sure the best way to apply it.  Thanks for the sonar.properties pointer.  Works like a charm!
Reply all
Reply to author
Forward
0 new messages