【发布时间】:2014-06-19 01:16:48
【问题描述】:
我的詹金斯工作因以下错误而失败..我已经验证了数据库进程及其登录...
看起来不错..
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
Caused by: java.lang.IllegalStateException: Fail to connect to database
PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)
嵌套结果
# netstat -an |grep 5432 tcp 0 0 127.0.0.1:5432 127.0.0.1:35438 ESTABLISHED tcp 0 0 127.0.0.1:5432 127.0.0.1:35092 ESTABLISHED tcp6 0 0 ::1:5432 :::* LISTEN tcp6 0 0 127.0.0.1:35092 127.0.0.1:5432 ESTABLISHED tcp6 0 0 127.0.0.1:35317 127.0.0.1:5432 ESTABLISHED tcp6 0 0 127.0.0.1:35438 127.0.0.1:5432 ESTABLISHED
【问题讨论】:
-
# netstat -an |grep 5432 tcp 0 0 127.0.0.1:5432 127.0.0.1:35438 ESTABLISHED tcp 0 0 127.0.0.1:5432 127.0.0.1:35092 ESTABLISHED tcp6 0 0 ::1: 5432 :::* LISTEN tcp6 0 0 127.0.0.1:35092 127.0.0.1:5432 ESTABLISHED tcp6 0 0 127.0.0.1:35317 127.0.0.1:5432 ESTABLISHED tcp6 0 0 127.0.0.1:35438 12跨度>
-
能贴一下sonar runner的配置(去掉db的passwd)吗?
标签: jenkins jenkins-plugins sonarqube sonar-runner jenkins-cli