java - Failed to start SonarQube, Unable to start JVM: Permission denied (13) -
failed start sonarqube.
how can fix it?
sonar config:
sonar.jdbc.username=sonar sonar.jdbc.password=sonar sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useunicode=true&characterencoding=utf8&rewritebatchedstatements=true&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
wrapper config
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
logs:
spawning intermediate process...<br> spawning daemon process...<br> --> wrapper started daemon<br> using tick timer.<br> server listening on port 32000.<br> command[0] : /usr/local/jdk1.8.0_45/bin/<br> command[1] : -djava.awt.headless=true<br> command[2] : -xms3m<br> command[3] : -xmx32m<br> command[4] : -djava.library.path=./lib<br> command[5] : -classpath<br> command[6] : ../../lib/jsw/wrapper-3.2.3.jar:../../lib/sonar-application-5.1.1.jar<br> command[7] : -dwrapper.key=qgalrdnk2wooqxrw<br> command[8] : -dwrapper.port=32000<br> command[9] : -dwrapper.jvm.port.min=31000<br> command[10] : -dwrapper.jvm.port.max=31999<br> command[11] : -dwrapper.debug=true<br> command[12] : -dwrapper.pid=26746<br> command[13] : -dwrapper.version=3.2.3<br> command[14] : -dwrapper.native_library=wrapper<br> command[15] : -dwrapper.service=true<br> command[16] : -dwrapper.cpu.timeout=10<br> command[17] : -dwrapper.jvmid=1<br> command[18] : org.tanukisoftware.wrapper.wrappersimpleapp<br> command[19] : org.sonar.application.app<br> launching jvm...<br> unable start jvm: permission denied (13)<br> signal trapped. details:<br> signal number=17 (sigchld), source="unknown"<br> received sigchld, checking jvm process status.<br> jvm process exited code of 1, setting wrapper exit code 1.<br> jvm exited while loading application.<br> jvm restarts disabled. shutting down.<br> <-- wrapper stopped
the problem here:
command[0] : /usr/local/jdk1.8.0_45/bin/
this configuration error; java
missing @ end here!
this seems culprit line in wrapper configuration:
# missing java @ end wrapper.java.command=/usr/local/jdk1.8.0_45/bin/
Comments
Post a Comment