You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/12/13 10:47:00 UTC

[jira] [Commented] (AMBARI-22641) Cannot start Ambari Server

    [ https://issues.apache.org/jira/browse/AMBARI-22641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289075#comment-16289075 ] 

Doroszlai, Attila commented on AMBARI-22641:
--------------------------------------------

Hi [~pravindsilva], {{org.apache.ambari.server.api.services.ldap.LdapConfigurationService}} no longer exists on trunk, see AMBARI-22481.  Did you {{clean}} before building?  If the problem persists after cleaning, can you please share the git hash of the tree you are trying to build, and the exact command used?  Thanks.

> Cannot start Ambari Server
> --------------------------
>
>                 Key: AMBARI-22641
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22641
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>         Environment: Red Hat Enterprise Linux Server release 7.1 (Maipo)
>            Reporter: Pravin Dsilva
>            Priority: Blocker
>
> {code:java}
> # ambari-server start
> Ambari database consistency check started...
> Server PID at: /var/run/ambari-server/ambari-server.pid
> Server out at: /var/log/ambari-server/ambari-server.out
> Server log at: /var/log/ambari-server/ambari-server.log
> Waiting for server start.........Unable to determine server PID. Retrying...
> ......Unable to determine server PID. Retrying...
> ......Unable to determine server PID. Retrying...
> ERROR: Exiting with exit code -1.
> REASON: Ambari Server java process died with exitcode 1. Check /var/log/ambari-server/ambari-server.out for more information.
> {code}
> /var/log/ambari-server/ambari-server.out :
> {code:java}
> Dec 13, 2017 1:41:34 PM com.google.inject.internal.ProxyFactory <init>
> 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@6e33fcae]. This could indicate a bug.  The method may be intercepted twice, or may not be intercepted at all.
> Dec 13, 2017 1:41:34 PM com.google.inject.internal.ProxyFactory <init>
> 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@6e33fcae]. This could indicate a bug.  The method may be intercepted twice, or may not be intercepted at all.
> Dec 13, 2017 1:41:35 PM com.google.inject.internal.ProxyFactory <init>
> 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@6e33fcae]. This could indicate a bug.  The method may be intercepted twice, or may not be intercepted at all.
> Exception in thread "main" com.google.inject.CreationException: Guice creation errors:
> 1) No implementation for org.apache.ambari.server.ldap.domain.AmbariLdapConfigurationFactory was bound.
>   while locating org.apache.ambari.server.ldap.domain.AmbariLdapConfigurationFactory
>     for field at org.apache.ambari.server.api.services.ldap.LdapConfigurationService.ambariLdapConfigurationFactory(LdapConfigurationService.java:67)
>   at org.apache.ambari.server.controller.ControllerModule.bindByAnnotation(ControllerModule.java:568)
> 1 error
>         at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
>         at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
>         at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
>         at com.google.inject.Guice.createInjector(Guice.java:95)
>         at com.google.inject.Guice.createInjector(Guice.java:72)
>         at com.google.inject.Guice.createInjector(Guice.java:62)
>         at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1072)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)