Configure /etc/hosts to have the machine's IP so reverse DNS (hostname -i) will give you the IP of the machine. I think its an issue with 127.0.0.1 IP.
On Wed, Jan 16, 2013 at 10:34 AM, jason chen <[email protected]> wrote: > when I try to run ambari-server start,the ambari server did not start,here > is the log,what is the problem,thanks!: > at > com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013) > at > org.apache.ambari.server.controller.AmbariServer.performStaticInjection(AmbariServer.java:375) > at > org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:112) > at > org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:396) > Caused by: javax.persistence.PersistenceException: Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > Internal Exception: org.postgresql.util.PSQLException: FATAL: no > pg_hba.conf entry for host "127.0.0.1", user "ambari-server", database > "ambari", SSL off > Error Code: 0 > >
