java - When starting sonar, I get the following exception: org.elasticsearch.client.transport.NoNodeAvailableException: No node available -
when starting sonar (sonar start) exception:
2015.05.11 15:19:15 info web[o.s.c.p.database] create jdbc datasource jdbc:h2:tcp://localhost:9092/sonar 2015.05.11 15:19:16 warn web[o.s.s.d.databasechecker] h2 database should used evaluation purpose 2015.05.11 15:19:16 info web[o.s.s.p.defaultserverfilesystem] sonarqube home: /usr/local/cellar/sonar4/4.5.4/libexec 2015.05.11 15:19:45 info web[o.s.s.d.embeddeddatabase] embedded database stopped 2015.05.11 15:19:45 error web[o.a.c.c.c.[.[.[/]] exception sending context initialized event listener instance of class org.sonar.server.platform.platformservletcontextlistener org.elasticsearch.client.transport.nonodeavailableexception: no node available @ org.elasticsearch.client.transport.transportclientnodesservice.execute(transportclientnodesservice.java:219) ~[elasticsearch-1.1.2.jar:na] @ org.elasticsearch.client.transport.support.internaltransportindicesadminclient.execute(internaltransportindicesadminclient.java:85) ~[elasticsearch-1.1.2.jar:na] @ org.elasticsearch.client.support.abstractindicesadminclient.exists(abstractindicesadminclient.java:164) ~[elasticsearch-1.1.2.jar:na] @ org.elasticsearch.action.admin.indices.exists.indices.indicesexistsrequestbuilder.doexecute(indicesexistsrequestbuilder.java:54) ~[elasticsearch-1.1.2.jar:na] @ org.elasticsearch.action.actionrequestbuilder.execute(actionrequestbuilder.java:85) ~[elasticsearch-1.1.2.jar:na] @ org.elasticsearch.action.actionrequestbuilder.execute(actionrequestbuilder.java:59) ~[elasticsearch-1.1.2.jar:na] @ org.sonar.server.search.baseindex.initializeindex(baseindex.java:155) ~[sonar-server-4.5.4.jar:na] @ org.sonar.server.search.baseindex.start(baseindex.java:98) ~[sonar-server-4.5.4.jar:na] @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) ~[na:1.8.0_45] i have tried sonar 4 , sonar 5 on mac os 10.10, jdk 1.8. used brew install sonar (brew install sonar/ brew install sonar4) , have tried install using http://docs.sonarqube.org/display/sonar/requirements http://docs.sonarqube.org/display/sonar/setup+and+upgrade
i have disabled firewall , seems working now.
Comments
Post a Comment