The above problem got resolved (one of the postgres directory permissions had to be set to 700)
Thank You.. However, I am getting the following error now: When I log into "localhost:8080" and into ambari through a browser, i complete the first three steps. In "Install Options" and in 'Host Registration Information', I provide the ssh private key (id_rsa) and the ssh user account = "root". It fails. ------------------------------------------ Permission denied (publickey,password). SSH command execution finished host=deepak-hp, exitcode=255 Command end time 2016-10-21 15:43:34 -------------------------------- When I give the ssh user account = "deepak" it fails with the following error: -------------------------------------------------------------------------- Automatic Agent registration timed out (timeout = 300 seconds). Check your network connectivity and retry registration, or use manual agent registration. -------------------------------------------------------------------------- Anyone can help? Hey Namaskara~Nalama~Guten Tag~Bonjour -- Keigu Deepak 73500 12833 www.simtree.net, dee...@simtree.net deic...@gmail.com LinkedIn: www.linkedin.com/in/deicool Skype: thumsupdeicool Google talk: deicool Blog: http://loveandfearless.wordpress.com Facebook: http://www.facebook.com/deicool "Contribute to the world, environment and more : http://www.gridrepublic.org " On Fri, Oct 21, 2016 at 11:44 AM, Deepak Goel <deic...@gmail.com> wrote: > > Hey > > Namaskara~Nalama~Guten Tag~Bonjour > > I am getting the following error when running the command "ambari-server > start": > > ====================================+== > ERROR: Exiting with exit code -1. > REASON: Ambari Server java process died with exitcode 1. Check > /var/log/ambari-server/ambari-server.out for more information. > > ------------------------------------------------------------ > -------------------- > > Exception in thread "main" com.google.inject.CreationException: Guice > creation e > rrors: > > 1) Error injecting constructor, java.lang.RuntimeException: > org.postgresql.util. > PSQLException: Connection refused. Check that the hostname and port are > correct > and that the postmaster is accepting TCP/IP connections. > ====================================+== > > > Anyone can help? > > Thanks > Deepak > -- > Keigu > > Deepak > 73500 12833 > www.simtree.net, dee...@simtree.net > deic...@gmail.com > > LinkedIn: www.linkedin.com/in/deicool > Skype: thumsupdeicool > Google talk: deicool > Blog: http://loveandfearless.wordpress.com > Facebook: http://www.facebook.com/deicool > > "Contribute to the world, environment and more : > http://www.gridrepublic.org > " >