title: Failed to start SonarQube, Unable to start JVM: Permission denied (13)
body: <p>Failed to start SonarQube.</p>
  
  <p>How can I fix it?</p>
  
  <p><strong>Sonar Config:</strong></p>
  
  <pre><code>sonar.jdbc.username=sonar
  sonar.jdbc.password=sonar
  sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8&amp;rewriteBatchedStatements=true&amp;useConfigs=maxPerformance
  sonar.jdbc.maxActive=20
  sonar.jdbc.maxIdle=5
  sonar.jdbc.minIdle=2
  sonar.jdbc.maxWait=5000
  sonar.jdbc.timeBetweenEvictionRunsMillis=30000
  sonar.web.javaOpts=-server -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError
  sonar.web.host=0.0.0.0
  sonar.web.port=9000
  </code></pre>
  
  <p><strong>Wrapper Config</strong></p>
  
  <pre><code>wrapper.java.command=/usr/local/jdk1.8.0_45/bin/
  
  wrapper.java.additional.1=-Djava.awt.headless=true
  wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
  wrapper.java.classpath.1=../../lib/jsw/*.jar
  wrapper.java.classpath.2=../../lib/*.jar
  wrapper.java.library.path.1=./lib
  wrapper.app.parameter.1=org.sonar.application.App
  wrapper.java.initmemory=3
  wrapper.java.maxmemory=32
  
  
  wrapper.console.format=PM
  wrapper.console.loglevel=DEBUG
  wrapper.logfile=../../logs/sonar.log
  wrapper.logfile.format=M
  wrapper.logfile.loglevel=DEBUG
  
  wrapper.syslog.loglevel=NONE
  
  
  wrapper.single_invocation=true
  
  
  wrapper.ntservice.name=SonarQube
  wrapper.ntservice.displayname=SonarQube
  wrapper.ntservice.description=SonarQube
  wrapper.ntservice.dependency.1=
  wrapper.ntservice.starttype=AUTO_START
  wrapper.ntservice.interactive=false
  
  wrapper.disable_restarts=TRUE
  wrapper.ping.timeout=0
  wrapper.shutdown.timeout=3000
  wrapper.jvm_exit.timeout=3000
  </code></pre>
  
  <p><strong>Logs:</strong></p>
  
  <pre><code>Spawning intermediate process...&lt;br&gt;
  Spawning daemon process...&lt;br&gt;
  --&gt; Wrapper Started as Daemon&lt;br&gt;
  Using tick timer.&lt;br&gt;
  server listening on port 32000.&lt;br&gt;
  Command[0] : /usr/local/jdk1.8.0_45/bin/&lt;br&gt;
  Command[1] : -Djava.awt.headless=true&lt;br&gt;
  Command[2] : -Xms3m&lt;br&gt;
  Command[3] : -Xmx32m&lt;br&gt;
  Command[4] : -Djava.library.path=./lib&lt;br&gt;
  Command[5] : -classpath&lt;br&gt;
  Command[6] : ../../lib/jsw/wrapper-3.2.3.jar:../../lib/sonar-application-5.1.1.jar&lt;br&gt;
  Command[7] : -Dwrapper.key=qGALrdnK2WooqXRW&lt;br&gt;
  Command[8] : -Dwrapper.port=32000&lt;br&gt;
  Command[9] : -Dwrapper.jvm.port.min=31000&lt;br&gt;
  Command[10] : -Dwrapper.jvm.port.max=31999&lt;br&gt;
  Command[11] : -Dwrapper.debug=TRUE&lt;br&gt;
  Command[12] : -Dwrapper.pid=26746&lt;br&gt;
  Command[13] : -Dwrapper.version=3.2.3&lt;br&gt;
  Command[14] : -Dwrapper.native_library=wrapper&lt;br&gt;
  Command[15] : -Dwrapper.service=TRUE&lt;br&gt;
  Command[16] : -Dwrapper.cpu.timeout=10&lt;br&gt;
  Command[17] : -Dwrapper.jvmid=1&lt;br&gt;
  Command[18] : org.tanukisoftware.wrapper.WrapperSimpleApp&lt;br&gt;
  Command[19] : org.sonar.application.App&lt;br&gt;
  Launching a JVM...&lt;br&gt;
  Unable to start JVM: Permission denied (13)&lt;br&gt;
  Signal trapped.  Details:&lt;br&gt;
    signal number=17 (SIGCHLD), source="unknown"&lt;br&gt;
  Received SIGCHLD, checking JVM process status.&lt;br&gt;
  JVM process exited with a code of 1, setting the wrapper exit code to 1.&lt;br&gt;
  JVM exited while loading the application.&lt;br&gt;
  JVM Restarts disabled.  Shutting down.&lt;br&gt;
  &lt;-- Wrapper Stopped
  </code></pre>