Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hdp 2.5 sandbox ambari agent will not start

Highlighted

hdp 2.5 sandbox ambari agent will not start

New Contributor

After starting the VM and logging into ambari, all the services are in an unknown state. The 'ambari-agent start' comes back with this error in its logs:

INFO 2016-10-30 05:19:39,945 NetUtil.py:62 - Connecting to <a href="https://sandbox.hortonworks.com:8440/connection_info">https://sandbox.hortonworks.com:8440/connection_info</a> 
INFO 2016-10-30 05:19:40,001 security.py:100 - SSL Connect being called.. connecting to the server                                                                                                                 
INFO 2016-10-30 05:19:40,069 security.py:61 - SSL connection established. Two-way SSL authentication is turned off on the server.                                                                                  
ERROR 2016-10-30 05:19:40,087 Controller.py:180 - Cannot register host with non compatible agent version, hostname=sandbox.hortonworks.com, agentVersion=, serverVersion=2.4.0.0                                   
INFO 2016-10-30 05:19:40,087 Controller.py:463 - Registration response from sandbox.hortonworks.com was FAILED                                                                                                     
INFO 2016-10-30 05:19:40,087 Controller.py:478 - Registration response from %s didn't contain 'response' as a key                                                                                                  
INFO 2016-10-30 05:19:40,087 Controller.py:450 - Finished heartbeating and registering cycle                                                                                                                       
INFO 2016-10-30 05:19:40,087 Controller.py:456 - Controller thread has successfully finished                                                                                                                       
INFO 2016-10-30 05:19:40,162 ExitHelper.py:53 - Performing cleanup before exiting...                                                                                                                               
INFO 2016-10-30 05:19:40,162 ExitHelper.py:67 - Cleanup finished, exiting with code:0  
9 REPLIES 9

Re: hdp 2.5 sandbox ambari agent will not start

Mentor

@Mark Baker

How much memory have you allocated your VM?

Can you also copy and paste the contents of Ambari server logs found at

/var/log/ambari-server/ambari-server.log 

Ambari Agent logs are found at

/var/log/ambari-agent/ambari-agent.log .

Re: hdp 2.5 sandbox ambari agent will not start

New Contributor

@Geoffrey Shelton Okot

I have the same problem, where you able to fix this? Any help is welcome. Thanks.

Re: hdp 2.5 sandbox ambari agent will not start

New Contributor

Re: hdp 2.5 sandbox ambari agent will not start

New Contributor

I have exactly the same issue - is there a solution around?

Re: hdp 2.5 sandbox ambari agent will not start

@Mark Baker

Can you check the below path for symlinks -

$ls -ltr /usr/lib/python2.6/site-packages/

ambari_commons -> /usr/lib/ambari-agent/lib/ambari_commons resource_management -> /usr/lib/ambari-agent/lib/resource_management ambari_jinja2 -> /usr/lib/ambari-agent/lib/ambari_jinja2

Re: hdp 2.5 sandbox ambari agent will not start

New Contributor

@Sagar Shimpi

my paths are as follows - anything wrong with that?

resource_management -> //usr/lib/ambari-server/lib/resource_management
ambari_simplejson -> //usr/lib/ambari-server/lib/ambari_simplejson
ambari_jinja2 -> //usr/lib/ambari-server/lib/ambari_jinja2
ambari_commons -> //usr/lib/ambari-server/lib/ambari_commons

Re: hdp 2.5 sandbox ambari agent will not start

@Michael Merker Can you take backup and point the symlink to ambari-agent instead of ambari server and try restarting ambari server. so the output should be as below -

resource_management -> /usr/lib/ambari-agent/lib/resource_management
ambari_simplejson -> /usr/lib/ambari-agent/lib/ambari_simplejson
ambari_jinja2 -> /usr/lib/ambari-agent/lib/ambari_jinja2
ambari_commons -> /usr/lib/ambari-agent/lib/ambari_commons

Let me know if that works.

Re: hdp 2.5 sandbox ambari agent will not start

Mentor

@Mark Baker

How much memory have you allocated your VM?

Does you amabari-agent.ini have these entries if it a default setting

[server]
hostname=sandbox.hortonworks.com
url_port=8440
secured_url_port=8441

Re: hdp 2.5 sandbox ambari agent will not start

New Contributor

Hi Geoffrey

i have default ports in ambari-agent.ini file , getting error attached screen shot

i am unable to connect session from browser on windows box, please help

97588-amabriagentlog.png

97589-settings1.png