ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Baldawa <sandeepbald...@gmail.com>
Subject Re: Error during Ambari start server
Date Sun, 07 Apr 2013 07:30:34 GMT
Thanks for helping out.

I resolved the issue by adding a user named "ambari-server"


On Thu, Apr 4, 2013 at 10:35 PM, PC Liao ( peicheng )
<peicheng5@gmail.com>wrote:

> Hi ,
> ambari-setup shoud created ambari table schema and bigdata user for
> postgres .
> Can you check postgres still running
> Do  ambari tables and  user exist inpostgres ?
>
>
>
> PC Liao ( @peicheng )
>
> 2013/4/5 Sandeep Baldawa <sandeepbaldawa@gmail.com>
>
> > Hi,
> >
> > Am following
> > https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development
> >
> > After ambari setup step which ran successfully I try to do start the
> > ambari server using
> > "ambari-server start", but get the following error(dump of
> > ambari-server.log), any idea what might be going wrong?
> >
> > Thanks!
> >
> >
> >
> > 18:15:02,409  INFO Configuration:222 - Generation of file with password
> > 18:15:02,464  INFO Configuration:351 - Hosts Mapping File null
> > 18:15:02,465  INFO HostsMap:60 - Using hostsmap file null
> > 18:15:06,868  INFO AmbariServer:422 - Getting the controller
> > 18:15:08,150  INFO CertificateManager:65 - Initialization of root
> > certificate
> > 18:15:08,150  INFO CertificateManager:69 - Certificate exists:false
> > 18:15:08,150  INFO CertificateManager:136 - Generation of server
> > certificate
> > 18:15:12,217  INFO ShellCommandUtil:36 - Command openssl genrsa -des3
> > -passout pass:rVkoRGHfKD4PBf8gRcfogwOP9u0mopoWaEBm53ibBpslh9eqQF -out
> > /var/lib/ambari-server/keys/ca.key 4096  was finished with exit code: 0 -
> > the operation was completely successfully.
> > 18:15:12,268  INFO ShellCommandUtil:36 - Command openssl req -passin
> > pass:rVkoRGHfKD4PBf8gRcfogwOP9u0mopoWaEBm53ibBpslh9eqQF -new -key
> > /var/lib/ambari-server/keys/ca.key -out
> /var/lib/ambari-server/keys/ca.crt
> > -batch was finished with exit code: 0 - the operation was completely
> > successfully.
> > 18:15:12,345  INFO ShellCommandUtil:36 - Command openssl x509 -passin
> > pass:rVkoRGHfKD4PBf8gRcfogwOP9u0mopoWaEBm53ibBpslh9eqQF -req -days 365
> -in
> > /var/lib/ambari-server/keys/ca.crt -signkey
> > /var/lib/ambari-server/keys/ca.key -out
> /var/lib/ambari-server/keys/ca.crt
> >  was finished with exit code: 0 - the operation was completely
> > successfully.
> > 18:15:12,366  INFO ShellCommandUtil:36 - Command openssl pkcs12 -export
> -in
> > /var/lib/ambari-server/keys/ca.crt -inkey
> > /var/lib/ambari-server/keys/ca.key -certfile
> > /var/lib/ambari-server/keys/ca.crt -out
> > /var/lib/ambari-server/keys/keystore.p12 -password
> > pass:rVkoRGHfKD4PBf8gRcfogwOP9u0mopoWaEBm53ibBpslh9eqQF -passin
> > pass:rVkoRGHfKD4PBf8gRcfogwOP9u0mopoWaEBm53ibBpslh9eqQF
> >  was finished with exit code: 0 - the operation was completely
> > successfully.
> > 18:15:12,379  INFO ClustersImpl:88 - Initializing the ClustersImpl
> > 18:15:13,853 ERROR AmbariServer:431 - Failed to run the Ambari Server
> > com.google.inject.ProvisionException: Guice provision errors:
> >
> > 1) Error injecting constructor, 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: Ident
> > authentication failed for user "ambari-server"
> > Error Code: 0
> >   at
> >
> >
> org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.<init>(ActionDBAccessorImpl.java:73)
> >   at
> >
> >
> org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.class(ActionDBAccessorImpl.java:47)
> >   while locating
> > org.apache.ambari.server.actionmanager.ActionDBAccessorImpl
> >   while locating org.apache.ambari.server.actionmanager.ActionDBAccessor
> >     for parameter 4 at
> >
> >
> org.apache.ambari.server.actionmanager.ActionManager.<init>(ActionManager.java:53)
> >   at
> >
> >
> org.apache.ambari.server.actionmanager.ActionManager.class(ActionManager.java:46)
> >   while locating org.apache.ambari.server.actionmanager.ActionManager
> >     for parameter 2 at
> >
> >
> org.apache.ambari.server.agent.HeartBeatHandler.<init>(HeartBeatHandler.java:80)
> >   at
> >
> >
> org.apache.ambari.server.agent.HeartBeatHandler.class(HeartBeatHandler.java:56)
> >   while locating org.apache.ambari.server.agent.HeartBeatHandler
> >
> > 1 error
> >     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:406)
> >     at
> >
> org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:115)
> >     at
> >
> >
> org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:428)
> > 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: Ident
> > authentication failed for user "ambari-server"
> > Error Code: 0
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:602)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:186)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:278)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:304)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:282)
> >     at
> >
> >
> com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:70)
> >     at
> >
> >
> com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:49)
> >     at
> >
> >
> org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.<init>(ActionDBAccessorImpl.java:75)
> >     at
> >
> >
> com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
> >     at
> >
> >
> com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260)
> >     at
> >
> >
> com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
> >     at
> >
> >
> com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> >     at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> >     at
> >
> >
> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> >     at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
> >     at
> >
> >
> com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
> >     at
> >
> >
> com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> >     at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> >     at
> >
> >
> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
> >     at
> >
> >
> com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
> >     at
> >
> >
> com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> >     at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> >     at
> >
> >
> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> >     at
> > com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
> >     at
> com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
> >     ... 4 more
> > Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services -
> > 2.4.0.v20120608-r11652):
> > org.eclipse.persistence.exceptions.DatabaseException
> > Internal Exception: org.postgresql.util.PSQLException: FATAL: Ident
> > authentication failed for user "ambari-server"
> > Error Code: 0
> >     at
> >
> >
> org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
> >     at
> >
> >
> org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:319)
> >     at
> >
> >
> org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)
> >     at
> >
> >
> org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
> >     at
> >
> >
> org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:685)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:213)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:542)
> >     ... 42 more
> > Caused by: org.postgresql.util.PSQLException: FATAL: Ident authentication
> > failed for user "ambari-server"
> >     at
> >
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
> >     at
> >
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
> >     at
> >
> >
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
> >     at
> >
> >
> org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
> >     at
> >
> >
> org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
> >     at
> >
> >
> org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
> >     at
> >
> >
> org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
> >     at
> org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
> >     at org.postgresql.Driver.makeConnection(Driver.java:393)
> >     at org.postgresql.Driver.connect(Driver.java:267)
> >     at java.sql.DriverManager.getConnection(DriverManager.java:582)
> >     at java.sql.DriverManager.getConnection(DriverManager.java:154)
> >     at
> >
> >
> org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)
> >     ... 46 more
> > 18:15:13,867 ERROR AmbariServer:398 - Error stopping the server
> > java.lang.NullPointerException
> >     at
> >
> >
> org.apache.ambari.server.controller.AmbariServer.stop(AmbariServer.java:396)
> >     at
> >
> >
> org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:433)
> > 18:15:24,638  INFO Configuration:234 - Reading password from existing
> file
> > 18:15:24,677  INFO Configuration:351 - Hosts Mapping File null
> > 18:15:24,677  INFO HostsMap:60 - Using hostsmap file null
> > 18:15:29,109  INFO AmbariServer:422 - Getting the controller
> > 18:15:30,291  INFO CertificateManager:65 - Initialization of root
> > certificate
> > 18:15:30,291  INFO CertificateManager:69 - Certificate exists:true
> > 18:15:30,307  INFO ClustersImpl:88 - Initializing the ClustersImpl
> > 18:15:31,824 ERROR AmbariServer:431 - Failed to run the Ambari Server
> > com.google.inject.ProvisionException: Guice provision errors:
> >
> > 1) Error injecting constructor, 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: Ident
> > authentication failed for user "ambari-server"
> > Error Code: 0
> >   at
> >
> >
> org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.<init>(ActionDBAccessorImpl.java:73)
> >   at
> >
> >
> org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.class(ActionDBAccessorImpl.java:47)
> >   while locating
> > org.apache.ambari.server.actionmanager.ActionDBAccessorImpl
> >   while locating org.apache.ambari.server.actionmanager.ActionDBAccessor
> >     for parameter 4 at
> >
> >
> org.apache.ambari.server.actionmanager.ActionManager.<init>(ActionManager.java:53)
> >   at
> >
> >
> org.apache.ambari.server.actionmanager.ActionManager.class(ActionManager.java:46)
> >   while locating org.apache.ambari.server.actionmanager.ActionManager
> >     for parameter 2 at
> >
> >
> org.apache.ambari.server.agent.HeartBeatHandler.<init>(HeartBeatHandler.java:80)
> >   at
> >
> >
> org.apache.ambari.server.agent.HeartBeatHandler.class(HeartBeatHandler.java:56)
> >   while locating org.apache.ambari.server.agent.HeartBeatHandler
> >
> > 1 error
> >     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:406)
> >     at
> >
> org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:115)
> >     at
> >
> >
> org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:428)
> > 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: Ident
> > authentication failed for user "ambari-server"
> > Error Code: 0
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:602)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:186)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:278)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:304)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:282)
> >     at
> >
> >
> com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:70)
> >     at
> >
> >
> com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:49)
> >     at
> >
> >
> org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.<init>(ActionDBAccessorImpl.java:75)
> >     at
> >
> >
> com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
> >     at
> >
> >
> com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260)
> >     at
> >
> >
> com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
> >     at
> >
> >
> com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> >     at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> >     at
> >
> >
> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> >     at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
> >     at
> >
> >
> com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
> >     at
> >
> >
> com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> >     at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> >     at
> >
> >
> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
> >     at
> >
> >
> com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
> >     at
> >
> >
> com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
> >     at
> >
> >
> com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> >     at
> >
> >
> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> >     at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> >     at
> >
> >
> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> >     at
> > com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
> >     at
> >
> >
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
> >     at
> com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
> >     ... 4 more
> > Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services -
> > 2.4.0.v20120608-r11652):
> > org.eclipse.persistence.exceptions.DatabaseException
> > Internal Exception: org.postgresql.util.PSQLException: FATAL: Ident
> > authentication failed for user "ambari-server"
> > Error Code: 0
> >     at
> >
> >
> org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
> >     at
> >
> >
> org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:319)
> >     at
> >
> >
> org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)
> >     at
> >
> >
> org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
> >     at
> >
> >
> org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:685)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:213)
> >     at
> >
> >
> org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:542)
> >     ... 42 more
> > Caused by: org.postgresql.util.PSQLException: FATAL: Ident authentication
> > failed for user "ambari-server"
> >     at
> >
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
> >     at
> >
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
> >     at
> >
> >
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
> >     at
> >
> >
> org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
> >     at
> >
> >
> org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
> >     at
> >
> >
> org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
> >     at
> >
> >
> org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
> >     at
> org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
> >     at org.postgresql.Driver.makeConnection(Driver.java:393)
> >     at org.postgresql.Driver.connect(Driver.java:267)
> >     at java.sql.DriverManager.getConnection(DriverManager.java:582)
> >     at java.sql.DriverManager.getConnection(DriverManager.java:154)
> >     at
> >
> >
> org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)
> >     ... 46 more
> > 18:15:31,841 ERROR AmbariServer:398 - Error stopping the server
> > java.lang.NullPointerException
> >     at
> >
> >
> org.apache.ambari.server.controller.AmbariServer.stop(AmbariServer.java:396)
> >     at
> >
> >
> org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:433)
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message