sonarqube install fail on Windows + PostgreSQL -


i create user sonarqube on postgres.

i create database sonarqube on postgres.

i add host sonarqube sonarqube 127.0.0.1/32 md5 in pg_hba.conf

i custom sonar.properties file:

sonar.jdbc.username=sonarqube sonar.jdbc.password=sonarqube  sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube 

when start sonar (sonarqube-6.5\bin\windows-x86-64\startsonar.bat) have logs:

wrapper  | --> wrapper started console wrapper  | launching jvm... jvm 1    | wrapper (version 3.2.3) http://wrapper.tanukisoftware.org jvm 1    |   copyright 1999-2006 tanuki software, inc.  rights reserved. jvm 1    |  jvm 1    | 2017.09.11 11:49:36 info  app[][o.s.a.appfilesystem] cleaning or creating temp directory c:\sonarqube-6.5\temp jvm 1    | 2017.09.11 11:49:36 info  app[][o.s.a.p.javaprocesslauncherimpl] launch process[es]: c:\program files\java\jre1.8.0_144\bin\java -djava.awt.headless=true -xmx1g -xms256m -xss256k -djna.nosys=true -xx:+useparnewgc -xx:+useconcmarksweepgc -xx:cmsinitiatingoccupancyfraction=75 -xx:+usecmsinitiatingoccupancyonly -xx:+heapdumponoutofmemoryerror -djava.io.tmpdir=c:\sonarqube-6.5\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.searchserver c:\sonarqube-6.5\temp\sq-process7757413999425394311properties jvm 1    | 2017.09.11 11:49:44 info  app[][o.s.a.schedulerimpl] process[es] jvm 1    | 2017.09.11 11:49:44 info  app[][o.s.a.p.javaprocesslauncherimpl] launch process[web]: c:\program files\java\jre1.8.0_144\bin\java -djava.awt.headless=true -dfile.encoding=utf-8 -xmx512m -xms128m -xx:+heapdumponoutofmemoryerror -djava.io.tmpdir=c:\sonarqube-6.5\temp -cp ./lib/common/*;./lib/server/*;c:\sonarqube-6.5\lib\jdbc\postgresql\postgresql-42.1.1.jar org.sonar.server.app.webserver c:\sonarqube-6.5\temp\sq-process301306345978378097properties jvm 1    | 2017.09.11 11:49:48 info  app[][o.s.a.schedulerimpl] process [web] stopped jvm 1    | 2017.09.11 11:49:48 info  app[][o.s.a.schedulerimpl] process [es] stopped jvm 1    | 2017.09.11 11:49:48 info  app[][o.s.a.schedulerimpl] sonarqube stopped wrapper  | <-- wrapper stopped 

i resolve when change privilege of sonarqube role in postgresql data base:

enter image description here


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -