You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "sara arroyo (JIRA)" <ji...@apache.org> on 2016/02/03 21:52:39 UTC

[jira] [Updated] (AMBARI-14908) AmbariServer:819 - Failed to run the Ambari Server

     [ https://issues.apache.org/jira/browse/AMBARI-14908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sara arroyo updated AMBARI-14908:
---------------------------------
    Affects Version/s:     (was: 2.1.0)
                       2.2.0

> AmbariServer:819 - Failed to run the Ambari Server
> --------------------------------------------------
>
>                 Key: AMBARI-14908
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14908
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>         Environment: DEV
>            Reporter: sara arroyo
>
> Hi 
> I am facing this issue trying to start ambari server:
> AmbariServer:819 - Failed to run the Ambari Server
> the ambari agent start successfully but for the ambari server: 
> I got this in the log:
> 03 Feb 2016 10:48:53,000  INFO [main] AmbariServer:173 - Found org/apache/ambari/server/controller/AmbariServer.class class in file:/usr/lib/ambari-server/amba
> ri-server-2.2.0_IBM_1-SNAPSHOT.jar!/org/apache/ambari/server/controller/AmbariServer.class
> 03 Feb 2016 10:48:53,059  INFO [main] Configuration:749 - Reading password from existing file
> 03 Feb 2016 10:48:53,067  INFO [main] Configuration:1079 - Hosts Mapping File null
> 03 Feb 2016 10:48:53,067  INFO [main] HostsMap:60 - Using hostsmap file null
> 03 Feb 2016 10:48:53,509  INFO [main] ControllerModule:193 - Detected POSTGRES as the database type from the JDBC URL
> 03 Feb 2016 10:48:54,863  INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispa
> tchers.AlertScriptDispatcher
> 03 Feb 2016 10:48:54,869  INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispa
> tchers.EmailDispatcher
> 03 Feb 2016 10:48:54,925  INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispa
> tchers.SNMPDispatcher
> 03 Feb 2016 10:48:57,103  INFO [main] AmbariServer:807 - Getting the controller
> 03 Feb 2016 10:48:58,055  INFO [main] StackManager:107 - Initializing the stack manager...
> 03 Feb 2016 10:48:58,056  INFO [main] StackManager:267 - Validating stack directory /var/lib/ambari-server/resources/stacks ...
> 03 Feb 2016 10:48:58,056  INFO [main] StackManager:243 - Validating common services directory /var/lib/ambari-server/resources/common-services ...
> 03 Feb 2016 10:48:58,879  INFO [main] StackDirectory:472 - Stack '/var/lib/ambari-server/resources/stacks/BigInsights/4.0' doesn't contain config upgrade pack
> file
> 03 Feb 2016 10:48:58,896  INFO [main] StackDirectory:488 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/BigInsights/4.
> 0/role_command_order.json
> 03 Feb 2016 10:48:58,909  INFO [main] StackDirectory:472 - Stack '/var/lib/ambari-server/resources/stacks/BigInsights/4.1' doesn't contain config upgrade pack
> file
> 03 Feb 2016 10:48:58,928  INFO [main] StackDirectory:488 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/BigInsights/4.
> 1/role_command_order.json
> 03 Feb 2016 10:48:58,943  INFO [main] StackDirectory:472 - Stack '/var/lib/ambari-server/resources/stacks/BigInsights/4.2' doesn't contain config upgrade pack
> file
> 03 Feb 2016 10:48:58,963  INFO [main] StackDirectory:488 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/BigInsights/4.
> 2/role_command_order.json
> 03 Feb 2016 10:48:59,462  INFO [main] ActionDefinitionManager:124 - Added custom action definition for check_host
> 03 Feb 2016 10:48:59,462  INFO [main] ActionDefinitionManager:124 - Added custom action definition for update_repo
> 03 Feb 2016 10:48:59,462  INFO [main] ActionDefinitionManager:124 - Added custom action definition for validate_configs
> 03 Feb 2016 10:48:59,463  INFO [main] ActionDefinitionManager:124 - Added custom action definition for install_packages
> 03 Feb 2016 10:48:59,463  INFO [main] ActionDefinitionManager:124 - Added custom action definition for ru_execute_tasks
> 03 Feb 2016 10:48:59,466  INFO [main] CertificateManager:68 - Initialization of root certificate
> 03 Feb 2016 10:48:59,466  INFO [main] CertificateManager:70 - Certificate exists:true
> 03 Feb 2016 10:48:59,625  INFO [main] Configuration:846 - Credential provider creation failed. Reason: Master key initialization failed.
> 03 Feb 2016 10:48:59,637  INFO [main] ClustersImpl:166 - Initializing the ClustersImpl
> 03 Feb 2016 10:48:59,935  INFO [main] CredentialStoreServiceImpl:59 - Initialized the temporary credential store. KeyStore entries will be retained for 90 minu
> tes and will be actively purged
> 03 Feb 2016 10:48:59,936  INFO [main] AmbariManagementControllerImpl:304 - Initializing the AmbariManagementControllerImpl
> 03 Feb 2016 10:48:59,991  INFO [main] DatabaseChecker:151 - Checking DB store version
> 03 Feb 2016 10:48:59,993  INFO [main] DatabaseChecker:177 - DB store version is compatible
> 03 Feb 2016 10:48:59,993  INFO [main] DatabaseChecker:55 - Checking DB consistency
> 03 Feb 2016 10:49:00,048 ERROR [main] AmbariServer:819 - Failed to run the Ambari Server
> org.apache.ambari.server.StackAccessException: Stack data, stackName=BigInsights, stackVersion=4.0, serviceName=GANGLIA
>         at org.apache.ambari.server.api.services.AmbariMetaInfo.getService(AmbariMetaInfo.java:518)
>         at org.apache.ambari.server.api.services.AmbariMetaInfo.getComponent(AmbariMetaInfo.java:286)
>         at org.apache.ambari.server.controller.utilities.DatabaseChecker.checkDBConsistency(DatabaseChecker.java:95)
>         at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:263)
>         at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:817)
> Please help!!  in google I am not able to find how I can solve this
> Thank you!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)