I'm not able to start ambari server, it is failing with below error :
Internal Exception: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Error Code: 0
Can you please check if the postgresql service is running on ambari server (if you are running default embedded database for ambari)
# service postgresql status
# netstat -ntpl | grep 5432
If not please start postgresql and then try to start ambari-server
View solution in original post