我的jenkins作业失败,出现以下错误。我已经验证了数据库进程和它的登录...
看起来很好..
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发布于 2014-05-04 11:40:43
在观察..i发现posgresql.conf文件中的配置需要更改时,参数listen_addresses...更改后,it..it运行得很好。
/var/lib/pgsql/9.2/data/postgresql.conf
listen_addresses = '*‘
https://stackoverflow.com/questions/23426706
复制相似问题