1. 程式人生 > >Ambari安裝----Confirm Hosts Registering with the server failed解決辦法

Ambari安裝----Confirm Hosts Registering with the server failed解決辦法

安裝Ambari到Confirm Hosts這步過不去了!

點選紅色“Failed”,檢視詳細錯誤:

  1. ==========================  
  2. Creating target directory...
  3. ==========================  
  4. Command start time 2016-11-09 16:24:42  
  5. Connection to slave1 closed.  
  6. SSH command execution finished  
  7. host=slave1exitcode=0
  8. Command end time 2016-11-09 16:24:42
  9. ==========================  
  10. Copying common functions script...
  11. ==========================  
  12. Command start time 2016-11-09 16:24:42  
  13. scp /usr/lib/python2.6/site-packages/ambari_commons  
  14. host=slave1exitcode=0
  15. Command end time 2016-11-09 16:24:43
  16. ==========================  
  17. Copying OS type check script...
  18. ==========================  
  19. Command start time 2016-11-09 16:24:43  
  20. scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py  
  21. host=slave1exitcode=0
  22. Command end time 2016-11-09 16:24:43
  23. ==========================  
  24. Running OS type check...
  25. ==========================  
  26. Command start time 2016-11-09 16:24:43  
  27. Cluster primary/cluster OS family is redhat6 and local/current OS family is redhat6  
  28. Connection to slave1 closed.  
  29. SSH command execution finished  
  30. host=slave1exitcode=0
  31. Command end time 2016-11-09 16:24:43
  32. ==========================  
  33. Checking 'sudo' package on remote host...
  34. ==========================  
  35. Command start time 2016-11-09 16:24:43  
  36. sudo-1.8.6p3-12.el6.x86_64  
  37. Connection to slave1 closed.  
  38. SSH command execution finished  
  39. host=slave1exitcode=0
  40. Command end time 2016-11-09 16:24:44
  41. ==========================  
  42. Copying repo file to 'tmp' folder...
  43. ==========================  
  44. Command start time 2016-11-09 16:24:44  
  45. scp /etc/yum.repos.d/ambari.repo  
  46. host=slave1exitcode=0
  47. Command end time 2016-11-09 16:24:44
  48. ==========================  
  49. Moving file to repo dir...
  50. ==========================  
  51. Command start time 2016-11-09 16:24:44  
  52. Connection to slave1 closed.  
  53. SSH command execution finished  
  54. host=slave1exitcode=0
  55. Command end time 2016-11-09 16:24:44
  56. ==========================  
  57. Copying setup script file...
  58. ==========================  
  59. Command start time 2016-11-09 16:24:44  
  60. scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py  
  61. host=slave1exitcode=0
  62. Command end time 2016-11-09 16:24:44
  63. ==========================  
  64. Running setup agent script...
  65. ==========================  
  66. Command start time 2016-11-09 16:24:44  
  67. Verifying Python version compatibility...  
  68. Using python  /usr/bin/python2.6  
  69. Found ambari-agent PID: 17547  
  70. Stopping ambari-agent  
  71. Removing PID file at /var/run/ambari-agent/ambari-agent.pid  
  72. ambari-agent successfully stopped  
  73. ('INFO 2016-11-09 00:25:14,695 NetUtil.py:60 - Connecting to https://master:8440/ca  
  74. ERROR 2016-11-09 00:25:14,753 NetUtil.py:78 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group  
  75. ERROR 2016-11-09 00:25:14,753 NetUtil.py:79 - SSLError: Failed to connect. Please check openssl library versions.   
  76. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.  
  77. WARNING 2016-11-09 00:25:14,754 NetUtil.py:106 - Server at https://master:8440 is not reachable, sleeping for 10 seconds...  
  78. INFO 2016-11-09 00:25:21,325 main.py:68 - loglevel=logging.INFO  
  79. INFO 2016-11-09 00:25:24,754 NetUtil.py:60 - Connecting to https://master:8440/ca  
  80. ERROR 2016-11-09 00:25:24,821 NetUtil.py:78 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group  
  81. ERROR 2016-11-09 00:25:24,821 NetUtil.py:79 - SSLError: Failed to connect. Please check openssl library versions.   
  82. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.  
  83. WARNING 2016-11-09 00:25:24,822 NetUtil.py:106 - Server at https://master:8440 is not reachable, sleeping for 10 seconds...  
  84. INFO 2016-11-09 00:25:28,463 main.py:68 - loglevel=logging.INFO  
  85. INFO 2016-11-09 00:25:28,464 DataCleaner.py:36 - Data cleanup thread started  
  86. INFO 2016-11-09 00:25:28,465 DataCleaner.py:117 - Data cleanup started  
  87. INFO 2016-11-09 00:25:28,466 DataCleaner.py:119 - Data cleanup finished  
  88. INFO 2016-11-09 00:25:28,495 PingPortListener.py:51 - Ping port listener started on port: 8670  
  89. INFO 2016-11-09 00:25:28,495 main.py:258 - Connecting to Ambari server at https://slave1:8440 (192.168.140.208)  
  90. INFO 2016-11-09 00:25:28,495 NetUtil.py:60 - Connecting to https://slave1:8440/ca  
  91. WARNING 2016-11-09 00:25:28,496 NetUtil.py:83 - Failed to connect to https://slave1:8440/ca due to [Errno 111] Connection refused    
  92. WARNING 2016-11-09 00:25:28,496 NetUtil.py:106 - Server at https://slave1:8440 is not reachable, sleeping for 10 seconds...  
  93. ', None)  
  94. Connection to slave1 closed.  
  95. SSH command execution finished  
  96. host=slave1exitcode=0
  97. Command end time 2016-11-09 16:24:54  
  98. Registering with the server...  
  99. Registration with the server failed.  

主要是兩個問題:

1、vim /etc/ambari-agent/conf/ambari-agent.ini

檢視hostname是否改成本機的主機名;

輸入hostname即可知道自己主機的hostname

2、中文和英文作業系統版本問題,中文作業系統出錯,英文則成功;

centos6:

修改vim /etc/sysconfig/i18n

LANG="en_US.UTF-8"

SYSFONT="latarcyrheb-sun16"

centos7:

修改vim /etc/locale.conf

LANG="en_US.UTF-8"

LANGUAGE="en_US:en"

相關推薦

Ambari安裝----Confirm Hosts Registering with the server failed解決辦法

安裝Ambari到Confirm Hosts這步過不去了!點選紅色“Failed”,檢視詳細錯誤:==========================  Creating target directory...==========================  Comma

Ambari學習10_ambari安裝過程Registration with the server failed和[Errno 256] No more mirrors to try

今天重新安裝ambari過程中,遇到了幾個問題,耗費了我很長時間,在此記錄一下 ambari重新安裝可參考我之前的一篇隨筆 http://www.cnblogs.com/6tian/p/4097401.html 遇到的問題一: 此問題是在安裝第二步,註冊主機時遇

【記錄】react警告:Warning: Encountered two children with the same key解決辦法

問題: 在做前端專案時使用react+ant design使用<Select>標籤出現警告如下: Warning: Encountered two children with the same key, `.$高峰出車率`. Keys should be un

Resource is out of sync with the file system解決辦法

在eclipse或mycelipse中,啟動run on server時或檢視專案檔案時報錯: Resource is out of sync with the file system: '/Test_1_Struts_Spring_Hibernate/WebContent/WEB-INF/.struts-

Mysql安裝錯誤:Install/Remove of the Service Denied!解決辦法

解決辦法 win bsp 管理員 move sql安裝 執行 service all Mysql安裝錯誤:Install/Remove of the Service Denied!解決辦法 在windos 的cmd下安裝mysql 在mysql的bin目錄下面執行: mys

FTP——the connection with the server was reset

 今天幫忙配置伺服器的FTP服務,添加了FTP站點後還是無法登入,總是提示“the connection with the server was reset。”錯誤。原因:啟用了系統防火牆。解決方法:1、在防火牆設定的“高階-本地連線-設定”中把FTP的勾選取消;2、在防火牆

CentOS7安裝mysql5.5 啟動出錯 The server quit without updating PID file……

今天使用CentOS7安裝mysql後,啟動時出現了一個問題,折騰了一下午才弄好。問題如下: 啟動時報錯:Starting MySQL. ERROR! The server quit without updating PID file (/data/mysql/

centos 報錯 “Job for iptables.service failed because the control process exited with error code.”的解決辦法

cau ack res sta ble put use wal ror 原因:因為centos7默認的防火墻是firewalld防火墻,不是使用iptables,因此需要先關閉firewalld服務,或者幹脆使用默認的firewalld防火墻。 操作步驟: 關閉防火墻 1.

SQL server安裝時顯示重啟計算機失敗問題解決辦法 (win10)

前幾天在裝SQL server2016的時候,一直顯示重啟計算機失敗,網上的方法也找來用了,但是重啟完還是同樣的問題,因為我電腦上已經裝好了VS2017,所以網上說這兩個不可以同時存在,或者說是要先裝SQL server再裝VS才可以,但是我覺得不是這問題,試了很多種方法,最後在一次測試中點關機

ios Embedded binary is not signed with the same certificate as the parent app. 解決辦法

上傳應用的時候出現錯誤: error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux解決辦法

android studio: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 解決辦法: classpath 'com.android.tools.build:

SQL Server 2008 R2安裝說明以及無法通過IP訪問的解決辦法

專案中要用sql,安裝過程中遇到點小問題,把過程寫出來,也許對其他朋友有用 一路Next的步驟我就不配圖了 安裝環節 1、如果只是使用SQL Server服務以及管理器,只需要選擇以下勾選項即可 2、點選按鈕“對所有SQL Server服務使用相同的賬戶” 3、

tomcat 啟動報Could not publish to the server. Please assign JRE to the server解決方法

" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.startup.VersionLoggerListener" /> <!-- Security listener. Documentation at

win10 安裝mysql5.7.19 檢測失敗 server failed

1: Action 14:02:10: INSTALL.1:1: MySQL Server 5.72:{EC09D203-422B-4C9F-B623-230EF57EE709}1: Acti

Maven install報錯To see the full stack trace of the errors, re-run Maven with the -e switch.解決

1、在更新程式碼之後,通常需要將工程重新 install 以便將新的 jar 包安裝到本地倉庫。但由於傳遞依賴,若先更新引用了其它 jar 包的程式碼,則會出現類似於 To see the full stack trace of the errors, re-run Mave

CentOS安裝Nginx 報錯“configure: error: the HTTP rewrite module requires the PCRE library”解決辦法

CentOS 6.2 安裝Nginx時報錯 錯誤提示: ./configure: error: the HTTP rewrite

安裝centos7顯示器分辨率不適配的解決辦法

小知識由於機房顯示器分辨率過低,經常安裝系統需要外借顯示器或只能使用IPMI連接,略不方便。可以在centos安裝過程中設置分辨率自適應得到解決,具體過程如下:1,系統讀取安裝信息後,選擇到Install Centos 7,然後tab調出參數行2,在quiet後空格輸入nomodeset,回車即可安裝cent

無法卸載Sql Server解決辦法

ima images 找到 cnblogs common 卸載 rod lis ges 提示如下: 解決辦法: 命令提示符——》wmic——》product list 找到與Sql Server 有關的程序; 重新打開一個命令提示符; 執行卸載命令:msiexec /x

安裝防火墻】沒有iptables時的解決辦法

命令 div 內網ip root lis iptable 解決 啟動服務 col 一、檢查iptables服務狀態 首先檢查iptables服務的狀態 [[email protected] ~]# service iptables status ipta

VMware虛擬機中的CentOS7安裝Nginx後本機無法訪問的解決辦法

normal rap 虛擬機 star ott 解決辦法 cmd span iptables 在虛擬機centos7上安裝nginx之後虛擬機內能訪問,真機不能訪問,修改iptables配置也不起作用,最後上網查找了資料後才發現centos的防火墻改成了firewall,不