Sonar Server dies in few seconds after starting
Hi
I have configured sonarQube plugin and trying to get analysis of my code using SONAR. However after I start the server the process ends within few seconds.
Build Error Msg is as follows
Pls find the console msg below.
settings - JDBC URL is recommended to have the property 'useConfigs=maxPerformance'
Jvm 1 | 2014.12.03 16:51:06 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[search]: /opt/java/jdk1.8.0_25/jre/bin/java -Djava.awt.headless=true -Xmx256m -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:path-InitiatingOccupancyFraction=75 -XX:+Usepath-InitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/home/project4/Desktop/sonarqube-4.5.1/temp -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /tmp/sq-process8824126600116233974properties
jvm 1 | 2014.12.03 16:51:12 INFO app[o.s.p.m.Monitor] Process[search] is up
jvm 1 | 2014.12.03 16:51:12 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: /opt/java/jdk1.8.0_25/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/home/project4/Desktop/sonarqube-4.5.1/temp -cp ./lib/common/*:./lib/server/*:/home/project4/Desktop/sonarqube-4.5.1/lib/jdbc/mysql/mysql-connector-java-5.1.27.jar org.sonar.server.app.WebServer /tmp/sq-process6540280490490118623properties
jvm 1 | 2014.12.03 16:51:23 INFO app[o.s.p.m.TerminatorThread] Process[search] is stopping
jvm 1 | 2014.12.03 16:51:24 INFO app[o.s.p.m.TerminatorThread] Process[search] is stopped
wrapper | <-- Wrapper Stopped
Thanks in advance
Ganesh
Please sign in to leave a comment.
Hi Ganesh,
Are you able to reach SonarQube server usign http://localhost:9001? Could you please attach screenshot of SonarQube Server Connection settings?
i would strongly recommend to solve this issue https://www.decodingdevops.com/sonarqube-not-starting-in-linux-centos-rhel-docker-solved/ here everything explained like what is the cause of issues and how to solve this to start sonarqube