I’m having trouble starting the sonar server. It was working fine 1 day ago but suddenly it is failing.
We’ve searched thorough the community issues and github issues as well.
please help.sonar.log (1.2 MB) es.log (17.5 KB) ce.log (7.6 KB) web.log (246 Bytes) hs_err_pid3345.log.txt (29.0 KB)
we’ve restarted the ubuntu server where sonarqube was hosted. It is working now. Doesn’t know why the issue occurred and why it got fixed after a server restart. The logs are pointing something else.
In case you’re trying to figure out what went wrong, I can see evidence there was an issue connecting to the database:
### Cause: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
We don’t generally recommend running SonarQube and the database together on the same server. You might consider dedicating a separate server to the database and then monitoring it in the future.