<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question ambari-server start error (REASON: Ambari Server java process died with exitcode 255) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/235138#M196958</link>
    <description>&lt;P&gt;I am new to this. i've tried installing ambari and on the first try, i was able to start the ambari-server. but when i tried again, an error occurred.&lt;/P&gt;&lt;P&gt;Using python /usr/bin/python&lt;/P&gt;&lt;P&gt;Starting ambari-server&lt;/P&gt;&lt;P&gt;Ambari Server running with administrator privileges.&lt;/P&gt;&lt;P&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;/P&gt;&lt;P&gt;Ambari database consistency check started...&lt;/P&gt;&lt;P&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;/P&gt;&lt;P&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;/P&gt;&lt;P&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;/P&gt;&lt;P&gt;Waiting for server start.........Unable to determine server PID. Retrying...&lt;/P&gt;&lt;P&gt;......Unable to determine server PID. Retrying...&lt;/P&gt;&lt;P&gt;......Unable to determine server PID. Retrying...&lt;/P&gt;&lt;P&gt;ERROR: Exiting with exit code -1.&lt;/P&gt;&lt;P&gt;REASON: Ambari Server java process died with exitcode 255.&lt;/P&gt;&lt;P&gt;the /var/log/ambari-server/ambari-server.out gave me:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:23 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.cluster.ClusterFactory will be slow because class org.apache.ambari.server.state.cluster.ClusterImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.cluster.ClusterImpl.&amp;lt;init&amp;gt;()[1]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:24 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.controller.ResourceProviderFactory will be slow because class org.apache.ambari.server.controller.internal.HostComponentResourceProvider has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.controller.internal.HostComponentResourceProvider.&amp;lt;init&amp;gt;()[1]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:24 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.scheduler.RequestExecutionFactory will be slow because class org.apache.ambari.server.state.scheduler.RequestExecutionImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.scheduler.RequestExecutionImpl.&amp;lt;init&amp;gt;()[2]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:24 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.scheduler.RequestExecutionFactory will be slow because class org.apache.ambari.server.state.scheduler.RequestExecutionImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.scheduler.RequestExecutionImpl.&amp;lt;init&amp;gt;()[3]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:25 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.RepositoryVersionDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@5f172d4a]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:26 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.AmbariConfigurationDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@5f172d4a]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:26 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.HostVersionDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@5f172d4a]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:26 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public java.lang.Object org.apache.ambari.server.topology.tasks.ConfigureClusterTask.call() throws java.lang.Exception] is synthetic and is being intercepted by [org.apache.ambari.server.security.authorization.internal.InternalAuthenticationInterceptor@44a085e5]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.core.v3.ConnectionFactoryImpl log&lt;/P&gt;&lt;P&gt;WARNING: IOException occurred while connecting to ambari:5432&lt;/P&gt;&lt;P&gt;java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.Driver connect&lt;/P&gt;&lt;P&gt;SEVERE: Connection error:&lt;/P&gt;&lt;P&gt;org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;Caused by: java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;... 24 more&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.core.v3.ConnectionFactoryImpl log&lt;/P&gt;&lt;P&gt;WARNING: IOException occurred while connecting to ambari:5432&lt;/P&gt;&lt;P&gt;java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.directConnect(DefaultConnector.java:165)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:117)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.Driver connect&lt;/P&gt;&lt;P&gt;SEVERE: Connection error:&lt;/P&gt;&lt;P&gt;org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.directConnect(DefaultConnector.java:165)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:117)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;Caused by: java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;... 23 more&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;An unexpected error occured during starting Ambari Server.&lt;/P&gt;&lt;P&gt;javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException&lt;/P&gt;&lt;P&gt;Internal Exception: org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;Error Code: 0&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:815)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException&lt;/P&gt;&lt;P&gt;Internal Exception: org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;Error Code: 0&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:326)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;... 9 more&lt;/P&gt;&lt;P&gt;Caused by: org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;... 14 more&lt;/P&gt;&lt;P&gt;Caused by: java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;... 21 more&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.core.v3.ConnectionFactoryImpl log&lt;/P&gt;&lt;P&gt;WARNING: IOException occurred while connecting to ambari:5432&lt;/P&gt;&lt;P&gt;java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.AmbariConfigurationDAO$$EnhancerByGuice$$59ebffe4.findByCategory(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.configuration.AmbariServerConfigurationProvider.loadInstance(AmbariServerConfigurationProvider.java:123)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.configuration.AmbariServerConfigurationProvider.jpaInitialized(AmbariServerConfigurationProvider.java:100)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/P&gt;&lt;P&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;P&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;/P&gt;&lt;P&gt;at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;please help me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 23:18:20 GMT</pubDate>
    <dc:creator>aleahjehan1996</dc:creator>
    <dc:date>2019-07-10T23:18:20Z</dc:date>
    <item>
      <title>ambari-server start error (REASON: Ambari Server java process died with exitcode 255)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/235138#M196958</link>
      <description>&lt;P&gt;I am new to this. i've tried installing ambari and on the first try, i was able to start the ambari-server. but when i tried again, an error occurred.&lt;/P&gt;&lt;P&gt;Using python /usr/bin/python&lt;/P&gt;&lt;P&gt;Starting ambari-server&lt;/P&gt;&lt;P&gt;Ambari Server running with administrator privileges.&lt;/P&gt;&lt;P&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;/P&gt;&lt;P&gt;Ambari database consistency check started...&lt;/P&gt;&lt;P&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;/P&gt;&lt;P&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;/P&gt;&lt;P&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;/P&gt;&lt;P&gt;Waiting for server start.........Unable to determine server PID. Retrying...&lt;/P&gt;&lt;P&gt;......Unable to determine server PID. Retrying...&lt;/P&gt;&lt;P&gt;......Unable to determine server PID. Retrying...&lt;/P&gt;&lt;P&gt;ERROR: Exiting with exit code -1.&lt;/P&gt;&lt;P&gt;REASON: Ambari Server java process died with exitcode 255.&lt;/P&gt;&lt;P&gt;the /var/log/ambari-server/ambari-server.out gave me:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:23 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.cluster.ClusterFactory will be slow because class org.apache.ambari.server.state.cluster.ClusterImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.cluster.ClusterImpl.&amp;lt;init&amp;gt;()[1]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:24 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.controller.ResourceProviderFactory will be slow because class org.apache.ambari.server.controller.internal.HostComponentResourceProvider has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.controller.internal.HostComponentResourceProvider.&amp;lt;init&amp;gt;()[1]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:24 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.scheduler.RequestExecutionFactory will be slow because class org.apache.ambari.server.state.scheduler.RequestExecutionImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.scheduler.RequestExecutionImpl.&amp;lt;init&amp;gt;()[2]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:24 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;/P&gt;&lt;P&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.scheduler.RequestExecutionFactory will be slow because class org.apache.ambari.server.state.scheduler.RequestExecutionImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.scheduler.RequestExecutionImpl.&amp;lt;init&amp;gt;()[3]]&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:25 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.RepositoryVersionDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@5f172d4a]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:26 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.AmbariConfigurationDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@5f172d4a]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:26 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.HostVersionDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@5f172d4a]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:26 PM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;/P&gt;&lt;P&gt;WARNING: Method [public java.lang.Object org.apache.ambari.server.topology.tasks.ConfigureClusterTask.call() throws java.lang.Exception] is synthetic and is being intercepted by [org.apache.ambari.server.security.authorization.internal.InternalAuthenticationInterceptor@44a085e5]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.core.v3.ConnectionFactoryImpl log&lt;/P&gt;&lt;P&gt;WARNING: IOException occurred while connecting to ambari:5432&lt;/P&gt;&lt;P&gt;java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.Driver connect&lt;/P&gt;&lt;P&gt;SEVERE: Connection error:&lt;/P&gt;&lt;P&gt;org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;Caused by: java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;... 24 more&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.core.v3.ConnectionFactoryImpl log&lt;/P&gt;&lt;P&gt;WARNING: IOException occurred while connecting to ambari:5432&lt;/P&gt;&lt;P&gt;java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.directConnect(DefaultConnector.java:165)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:117)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.Driver connect&lt;/P&gt;&lt;P&gt;SEVERE: Connection error:&lt;/P&gt;&lt;P&gt;org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.directConnect(DefaultConnector.java:165)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:117)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO$$EnhancerByGuice$$6c95db51.findByKey(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;Caused by: java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;... 23 more&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;An unexpected error occured during starting Ambari Server.&lt;/P&gt;&lt;P&gt;javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException&lt;/P&gt;&lt;P&gt;Internal Exception: org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;Error Code: 0&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:815)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;/P&gt;&lt;P&gt;Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException&lt;/P&gt;&lt;P&gt;Internal Exception: org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;Error Code: 0&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:326)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;... 9 more&lt;/P&gt;&lt;P&gt;Caused by: org.postgresql.util.PSQLException: The connection attempt failed.&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;... 14 more&lt;/P&gt;&lt;P&gt;Caused by: java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;... 21 more&lt;/P&gt;&lt;P&gt;Jul 10, 2019 10:02:27 PM org.postgresql.core.v3.ConnectionFactoryImpl log&lt;/P&gt;&lt;P&gt;WARNING: IOException occurred while connecting to ambari:5432&lt;/P&gt;&lt;P&gt;java.net.UnknownHostException: ambari&lt;/P&gt;&lt;P&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)&lt;/P&gt;&lt;P&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:69)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)&lt;/P&gt;&lt;P&gt;at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/P&gt;&lt;P&gt;at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:195)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.makeConnection(Driver.java:452)&lt;/P&gt;&lt;P&gt;at org.postgresql.Driver.connect(Driver.java:254)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;/P&gt;&lt;P&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)&lt;/P&gt;&lt;P&gt;at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)&lt;/P&gt;&lt;P&gt;at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.orm.dao.AmbariConfigurationDAO$$EnhancerByGuice$$59ebffe4.findByCategory(&amp;lt;generated&amp;gt;)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.configuration.AmbariServerConfigurationProvider.loadInstance(AmbariServerConfigurationProvider.java:123)&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.configuration.AmbariServerConfigurationProvider.jpaInitialized(AmbariServerConfigurationProvider.java:100)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/P&gt;&lt;P&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;P&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)&lt;/P&gt;&lt;P&gt;at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;/P&gt;&lt;P&gt;at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;please help me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 23:18:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/235138#M196958</guid>
      <dc:creator>aleahjehan1996</dc:creator>
      <dc:date>2019-07-10T23:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server start error (REASON: Ambari Server java process died with exitcode 255)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/235139#M196959</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/115200/aleahjehan1996.html" nodeid="115200"&gt;@NUR ALEAH JEHAN ABDULLAH&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We see the failure is happening due to:&lt;/P&gt;&lt;PRE&gt;WARNING: IOException occurred while connecting to ambari:5432
java.net.UnknownHostException: ambari&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Which indicates that your Ambari DB hostname is not resolving.&lt;/P&gt;&lt;P&gt;1. Are you sure that your Ambari Postgres DB hostname is "ambari" ? &lt;/P&gt;&lt;P&gt;2. From a remote machine how do you connect to your Ambari Postgres DB (Using which hostname) ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;3. Do you have the correct "/etc/hosts" file entry to point the hostname  'ambari' to your DB IPAddress? Please share?&lt;/P&gt;&lt;PRE&gt;# cat /etc/hosts&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;4. If you have incorrectly configured the Postgres DB hostname then please fix it inside the "/etc/ambari-server/conf/ambari.properties" . Specially the &lt;STRONG&gt;&lt;EM&gt;"server.jdbc.url" &lt;/EM&gt;&lt;/STRONG&gt;property.  You can fix it manually to specify your Postgres DB hostname.&lt;/P&gt;&lt;PRE&gt;# grep 'jdbc' /etc/ambari-server/conf/ambari.properties&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 09:40:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/235139#M196959</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-07-11T09:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server start error (REASON: Ambari Server java process died with exitcode 255)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/235140#M196960</link>
      <description>&lt;P&gt;Hi. thank you for your fast respond! after checking the hostname, I found that i've gotten the wrong hostname. Therefore, I've fixed my hostname and the server is up and running! Thank you very much! I appreciate your help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:24:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/235140#M196960</guid>
      <dc:creator>aleahjehan1996</dc:creator>
      <dc:date>2019-07-11T14:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server start error (REASON: Ambari Server java process died with exitcode 255)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/299577#M219750</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing the same issues. Can you please help me out as well. My ambar-server.out file reads:&lt;/P&gt;&lt;P&gt;OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0&lt;BR /&gt;Jul 13, 2020 7:58:44 AM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;BR /&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.cluster.ClusterFactory will be slow because class org.apache.ambari.server.state.cluster.ClusterImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.cluster.ClusterImpl.&amp;lt;init&amp;gt;()[1]]&lt;BR /&gt;Jul 13, 2020 7:58:44 AM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;BR /&gt;WARNING: AssistedInject factory org.apache.ambari.server.controller.ResourceProviderFactory will be slow because class org.apache.ambari.server.controller.internal.HostComponentResourceProvider has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.controller.internal.HostComponentResourceProvider.&amp;lt;init&amp;gt;()[1]]&lt;BR /&gt;Jul 13, 2020 7:58:44 AM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;BR /&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.scheduler.RequestExecutionFactory will be slow because class org.apache.ambari.server.state.scheduler.RequestExecutionImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.scheduler.RequestExecutionImpl.&amp;lt;init&amp;gt;()[2]]&lt;BR /&gt;Jul 13, 2020 7:58:44 AM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject&lt;BR /&gt;WARNING: AssistedInject factory org.apache.ambari.server.state.scheduler.RequestExecutionFactory will be slow because class org.apache.ambari.server.state.scheduler.RequestExecutionImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider&amp;lt;T&amp;gt; (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.apache.ambari.server.state.scheduler.RequestExecutionImpl.&amp;lt;init&amp;gt;()[3]]&lt;BR /&gt;Jul 13, 2020 7:58:46 AM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;BR /&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.RepositoryVersionDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@2ec3633f]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;BR /&gt;Jul 13, 2020 7:58:46 AM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;BR /&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.AmbariConfigurationDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@2ec3633f]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;BR /&gt;Jul 13, 2020 7:58:46 AM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;BR /&gt;WARNING: Method [public void org.apache.ambari.server.orm.dao.HostVersionDAO.create(java.lang.Object)] is synthetic and is being intercepted by [org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor@2ec3633f]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;BR /&gt;Jul 13, 2020 7:58:47 AM com.google.inject.internal.ProxyFactory &amp;lt;init&amp;gt;&lt;BR /&gt;WARNING: Method [public java.lang.Object org.apache.ambari.server.topology.tasks.ConfigureClusterTask.call() throws java.lang.Exception] is synthetic and is being intercepted by [org.apache.ambari.server.security.authorization.internal.InternalAuthenticationInterceptor@78a515e4]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.&lt;BR /&gt;Jul 13, 2020 7:58:48 AM org.postgresql.jdbc.PgConnection &amp;lt;init&amp;gt;&lt;BR /&gt;WARNING: Unsupported Server Version: 8.0.2&lt;BR /&gt;Jul 13, 2020 7:58:48 AM org.postgresql.jdbc.PgConnection &amp;lt;init&amp;gt;&lt;BR /&gt;WARNING: Unsupported Server Version: 8.0.2&lt;BR /&gt;Jul 13, 2020 7:58:48 AM org.postgresql.jdbc.PgConnection &amp;lt;init&amp;gt;&lt;BR /&gt;WARNING: Unsupported Server Version: 8.0.2&lt;BR /&gt;An unexpected error occured during starting Ambari Server.&lt;BR /&gt;Jul 13, 2020 7:58:48 AM com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException&lt;BR /&gt;SEVERE: Could not dispatch event: org.apache.ambari.server.ldap.service.AmbariLdapConfigurationProvider@6949e948 to public void org.apache.ambari.server.configuration.AmbariServerConfigurationProvider.jpaInitialized(org.apache.ambari.server.events.JpaInitializedEvent)&lt;BR /&gt;Local Exception Stack:&lt;BR /&gt;Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException&lt;BR /&gt;Internal Exception: org.postgresql.util.PSQLException: ERROR: relation "ambari_configuration" does not exist&lt;BR /&gt;Error Code: 0&lt;BR /&gt;Call: SELECT property_name, category_name, property_value FROM ambari_configuration WHERE (category_name = ?)&lt;BR /&gt;bind =&amp;gt; [1 parameter bound]&lt;BR /&gt;Query: ReadAllQuery(name="AmbariConfigurationEntity.findByCategory" referenceClass=AmbariConfigurationEntity sql="SELECT property_name, category_name, property_value FROM ambari_configuration WHERE (category_name = ?)")&lt;BR /&gt;at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:684)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:560)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:2055)&lt;BR /&gt;at org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:570)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:299)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:694)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2740)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2693)&lt;BR /&gt;at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:559)&lt;BR /&gt;at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1175)&lt;BR /&gt;at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:904)&lt;BR /&gt;at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1134)&lt;BR /&gt;at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:460)&lt;BR /&gt;at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1222)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2896)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1857)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1839)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1804)&lt;BR /&gt;at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:258)&lt;BR /&gt;at org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:473)&lt;BR /&gt;at org.apache.ambari.server.orm.dao.DaoUtils.selectList(DaoUtils.java:53)&lt;BR /&gt;at org.apache.ambari.server.orm.dao.AmbariConfigurationDAO.findByCategory(AmbariConfigurationDAO.java:62)&lt;BR /&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:44)&lt;BR /&gt;at org.apache.ambari.server.configuration.AmbariServerConfigurationProvider.loadInstance(AmbariServerConfigurationProvider.java:123)&lt;BR /&gt;at org.apache.ambari.server.configuration.AmbariServerConfigurationProvider.jpaInitialized(AmbariServerConfigurationProvider.java:100)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)&lt;BR /&gt;at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)&lt;BR /&gt;at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)&lt;BR /&gt;at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)&lt;BR /&gt;at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: org.postgresql.util.PSQLException: ERROR: relation "ambari_configuration" does not exist&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)&lt;BR /&gt;at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)&lt;BR /&gt;at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)&lt;BR /&gt;at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)&lt;BR /&gt;at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:1009)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)&lt;BR /&gt;... 38 more&lt;/P&gt;&lt;P&gt;Local Exception Stack:&lt;BR /&gt;Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException&lt;BR /&gt;Internal Exception: org.postgresql.util.PSQLException: ERROR: relation "metainfo" does not exist&lt;BR /&gt;Error Code: 0&lt;BR /&gt;Call: SELECT "metainfo_key", "metainfo_value" FROM metainfo WHERE ("metainfo_key" = ?)&lt;BR /&gt;bind =&amp;gt; [1 parameter bound]&lt;BR /&gt;Query: ReadObjectQuery(name="readMetainfoEntity" referenceClass=MetainfoEntity sql="SELECT "metainfo_key", "metainfo_value" FROM metainfo WHERE ("metainfo_key" = ?)")&lt;BR /&gt;at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:684)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:560)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:2055)&lt;BR /&gt;at org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:570)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectOneRow(DatasourceCallQueryMechanism.java:714)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectOneRowFromTable(ExpressionQueryMechanism.java:2803)&lt;BR /&gt;at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectOneRow(ExpressionQueryMechanism.java:2756)&lt;BR /&gt;at org.eclipse.persistence.queries.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:555)&lt;BR /&gt;at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1175)&lt;BR /&gt;at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:904)&lt;BR /&gt;at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1134)&lt;BR /&gt;at org.eclipse.persistence.queries.ReadObjectQuery.execute(ReadObjectQuery.java:441)&lt;BR /&gt;at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1222)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2896)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1857)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1839)&lt;BR /&gt;at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1790)&lt;BR /&gt;at org.eclipse.persistence.internal.jpa.EntityManagerImpl.executeQuery(EntityManagerImpl.java:911)&lt;BR /&gt;at org.eclipse.persistence.internal.jpa.EntityManagerImpl.findInternal(EntityManagerImpl.java:854)&lt;BR /&gt;at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:730)&lt;BR /&gt;at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:599)&lt;BR /&gt;at org.apache.ambari.server.orm.dao.MetainfoDAO.findByKey(MetainfoDAO.java:44)&lt;BR /&gt;at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:44)&lt;BR /&gt;at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)&lt;BR /&gt;at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)&lt;BR /&gt;Caused by: org.postgresql.util.PSQLException: ERROR: relation "metainfo" does not exist&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)&lt;BR /&gt;at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)&lt;BR /&gt;at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)&lt;BR /&gt;at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)&lt;BR /&gt;at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:1009)&lt;BR /&gt;at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)&lt;BR /&gt;... 26 more&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:39:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/299577#M219750</guid>
      <dc:creator>ashish_inamdar</dc:creator>
      <dc:date>2020-07-13T11:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server start error (REASON: Ambari Server java process died with exitcode 255)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/299651#M219786</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79917"&gt;@ashish_inamdar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;based on the stack trace you shared with us:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: relation "metainfo" does not exist
Error Code: 0
Call: SELECT "metainfo_key", "metainfo_value" FROM metainfo WHERE ("metainfo_key" = ?)
bind =&amp;gt; [1 parameter bound]
Query: ReadObjectQuery(name="readMetainfoEntity" referenceClass=MetainfoEntity sql="SELECT "metainfo_key", "metainfo_value" FROM metainfo WHERE ("metainfo_key" = ?)")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It means that the &lt;A href="https://community.cloudera.com/t5/Support-Questions/Ambari-server-upgrade-2-2-2-to-2-4-1/td-p/173454" target="_self"&gt;metainfo table does not exis&lt;/A&gt;t.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you follow the installation steps, please?&lt;/P&gt;&lt;P&gt;I've found the same issue was&lt;A href="http://mail-archives.apache.org/mod_mbox/ambari-user/201412.mbox/%3cCALUpvHUAtMwZyfg73_wK=CG-bc23NnDjqy-KtGVEztUpKLybcQ@mail.gmail.com%3e" target="_self"&gt; resolved in this thread&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Quoting: "I used yum to uninstall ambari and associated packages, including postgres. Then I re-installed Ambari using yum and ran ambari-server install."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let us know if it helped!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards:&lt;/P&gt;&lt;P&gt;Ferenc&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 13:42:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/299651#M219786</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-07-14T13:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server start error (REASON: Ambari Server java process died with exitcode 255)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/300404#M220204</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12296"&gt;@Bender&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. This helped is resolving the error.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jul 2020 10:41:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-start-error-REASON-Ambari-Server-java-process/m-p/300404#M220204</guid>
      <dc:creator>ashish_inamdar</dc:creator>
      <dc:date>2020-07-25T10:41:37Z</dc:date>
    </item>
  </channel>
</rss>

