SonarQube gets started normally but within a few seconds it's status goes to not running.....
It goes like
[root@host-10-10-12-71 logs]# sudo service sonar start
Starting SonarQube...
Started SonarQube.
[root@host-10-10-12-71 logs]# sudo service sonar status
SonarQube is running (17354).
[root@host-10-10-12-71 logs]# sudo service sonar status
SonarQube is running (17354).
[root@host-10-10-12-71 logs]# sudo service sonar status
SonarQube is running (17354).
[root@host-10-10-12-71 logs]# sudo service sonar status
SonarQube is running (17354).
[root@host-10-10-12-71 logs]# sudo service sonar status
SonarQube is running (17354).
[root@host-10-10-12-71 logs]# sudo service sonar status
SonarQube is not running...
This is what I could find through the logs :
2017.12.21 10:59:40 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /root/SonarQube/sonarqube-6.7/temp
2017.12.21 10:59:40 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2017.12.21 10:59:40 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/root/SonarQube/sonarqube-6.7/elasticsearch]: /roo$
2017.12.21 10:59:40 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2017.12.21 10:59:41 INFO app[][o.e.p.PluginsService] no modules loaded
2017.12.21 10:59:41 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2017.12.21 10:59:44 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 1
2017.12.21 10:59:44 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
2017.12.21 10:59:44 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
If anyone could help me resolve this issue, thanks in advance
--
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/8bb07470-3ce4-4d69-b40d-3caedcbc80df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/890810b4-ca13-43cc-8989-6d78568de3c6%40googlegroups.com.
Hello Eric,I used m4.large instance on AWS and changed vm.max_map_count nd fs.file-maxsysctl vm.max_map_countsysctl fs.file-maxulimit -nulimit -usudo sysctl -w vm.max_map_count=262144sudo sysctl -w fs.file-max=65536ulimit -n 65536ulimit -u 2048es.log====2018.05.03 18:04:45 INFO es[][o.e.n.Node] initializing ...2018.05.03 18:04:45 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [7.2gb], net total_space [9.9gb], spins? [unknown], types [rootfs]2018.05.03 18:04:45 INFO es[][o.e.e.NodeEnvironment] heap size [495.3mb], compressed ordinary object pointers [true]2018.05.03 18:04:45 INFO es[][o.e.n.Node] node name [sonarqube], node ID [tNLgcEdrRfKhe_7apQmFcg]2018.05.03 18:04:45 INFO es[][o.e.n.Node] version[5.6.3], pid[11830], build[1a2f265/2017-10-06T20:33:39.012Z], OS[Linux/3.10.0-862.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_171/25.171-b11]2018.05.03 18:04:45 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -Xms512m, -Xmx512m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonar/elasticsearch]2018.05.03 18:04:46 INFO es[][o.e.p.PluginsService] loaded module [aggs-matrix-stats]2018.05.03 18:04:46 INFO es[][o.e.p.PluginsService] loaded module [ingest-common]2018.05.03 18:04:46 INFO es[][o.e.p.PluginsService] loaded module [parent-join]2018.05.03 18:04:46 INFO es[][o.e.p.PluginsService] loaded module [percolator]2018.05.03 18:04:46 INFO es[][o.e.p.PluginsService] loaded module [reindex]2018.05.03 18:04:46 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]2018.05.03 18:04:46 INFO es[][o.e.p.PluginsService] no plugins loaded2018.05.03 18:04:48 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen]2018.05.03 18:04:49 INFO es[][o.e.n.Node] initialized2018.05.03 18:04:49 INFO es[][o.e.n.Node] starting ...2018.05.03 18:04:49 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}2018.05.03 18:04:49 WARN es[][o.e.b.BootstrapChecks] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]2018.05.03 18:04:52 INFO es[][o.e.c.s.ClusterService] new_master {sonarqube}{tNLgcEdrRfKhe_7apQmFcg}{jzeNC5viS3y2KTpTDxJ-tw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: zen-disco-elected-as-master ([0] nodes joined)2018.05.03 18:04:52 INFO es[][o.e.n.Node] started2018.05.03 18:04:52 INFO es[][o.e.g.GatewayService] recovered [0] indices into cluster_state2018.05.03 18:04:57 INFO es[][o.e.n.Node] stopping ...2018.05.03 18:04:57 INFO es[][o.e.n.Node] stopped2018.05.03 18:04:57 INFO es[][o.e.n.Node] closing ...2018.05.03 18:04:57 INFO es[][o.e.n.Node] closedThanks,Samba.
--Thanks,Samba
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/1b2e2e07-1996-40da-bdf2-ff990d4e9dc8%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/8szSQhgSqXs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/27129227-8f6e-440a-ad34-6093bb59bd02%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/27129227-8f6e-440a-ad34-6093bb59bd02%40googlegroups.com.
----Thanks,Samba
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/CALFFX%3DN83wuEuSw3zWOWnBFBLqZhL8Enp0K%3DkiOU4pJSNoat8A%40mail.gmail.com.