SonarQube installation

I have installed SonarQube Developer Edition on Centos7 server using zip. After installation started SonarQube using command /bin/linux-x86-64/sonar.sh start. After running command received a message as Started SonarQube. Now trying to browse SonarQube at http://localhost:9000. But getting a message as Unable to connect.

What do the logs say?

sonarqubeLogs.zip (1.0 MB)

Now changed the operating system to ubuntu 22.04, but the same issue still persists. Attched log files for reference.

Well, it looks like your sonar.jdbc.url, sonar.jdbc.username and sonar.jdbc.password settings aren’t successfully connecting to a database.

Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user “sonar”

Have you confirmed these details are correct?

Hi Colin,

Thanks for the reply… checked sonar.properties file for user id and password. Credentials are correct and I am able to connect to database through terminal using same credentials.