When installing SonarQube 7.9.1 it shows me the following error,

SonarQube 7.9.1
OS : Centos 7
Memory 4GB - Ram

I am initializing it as a sonar user, my error is the following and my sonar.service in the following lines

2019.09.24 13:12:31 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.09.24 13:12:31 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.09.24 13:12:31 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.09.24 13:12:32 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.09.24 13:12:32 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.09.24 13:12:32 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
2019.09.24 13:12:52 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 78
2019.09.24 13:12:52 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.09.24 13:12:52 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> 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.

sonar.service

[Unit]
Description=SonarQube service
After=syslog.target network.target

[Service]
Type=forking

ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start
ExecStop=/opt/sonarqube/bin/linux-x86-64/sonar.sh stop

User=sonar
Group=sonar
Restart=always

PermissionsStartOnly=true
StandardOutput=syslog
LimitNOFILE=65536
LimitNPROC=8192
TimeoutStartSec=5

[Install]
WantedBy=multi-user.target

Hi,

Welcome to the community!

Here’s your problem:

You need to up this limit either for the user running SonarQube or system-wide.

 
Ann