Support Questions

Find answers, ask questions, and share your expertise

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