Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

I'm not able to start ambari server

avatar
Rising Star

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 
1 ACCEPTED SOLUTION

avatar
Expert Contributor

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

1 REPLY 1

avatar
Expert Contributor

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