1. 程式人生 > >cdh5安裝報錯解決

cdh5安裝報錯解決

1、Exhausted available authentication methods

ubuntu未啟用root使用者,或者啟用root使用者後未允許可遠端登入root 使用者

Let's consolidate everything in one post:

Default, Root user is locked in ubuntu/Linux.To unlock, first need to reset password. It asks for Password twice.

$ sudo passwd root
 Enter UNIX password:
 Retype UNIX password:

Unlock root user

$ sudo passwd -u root

Open /etc/ssh/sshd_config in an editor:

sudo nano /etc/ssh/sshd_config

In the file now look for PermitRootLogin without-password and replace it with this

PermitRootLogin yes

Restart SSH service

sudo service ssh restart
測試能否遠端登入root使用者及解決方案:

2、安裝失敗。 無法接收 Agent 發出的檢測訊號

/var/log/cloudera-scm-agent/

中的錯誤日誌如下:

[22/Apr/2018 22:23:00 +0000] 17968 MainThread agent        ERROR    Failed to connect to previous supervisor.
Traceback (most recent call last):
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.2-py2.7.egg/cmf/agent.py", line 2136, in find_or_start_supervisor
    self.configure_supervisor_clients()
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.2-py2.7.egg/cmf/agent.py", line 2317, in configure_supervisor_clients
    supervisor_options.realize(args=["-c", os.path.join(self.supervisor_dir, "supervisord.conf")])
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 1599, in realize
    Options.realize(self, *arg, **kw)
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 333, in realize
    self.process_config()
 File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 341, in process_config
    self.process_config_file(do_usage)
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 376, in process_config_file
    self.usage(str(msg))
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 164, in usage
    self.exit(2)
SystemExit: 2


可能原因:

 Ensure that the host's hostname is configured properly.

 /etc/hosts下的ip配置必須採用FQDN

如果是centOS系統,檢視 /etc/hosts 和 /etc/sysconfig/network 下的配置是否一致

如果是ubuntu系統,檢視 /etc/hosts 和 /etc/hostname 下的配置是否一致

修改hostname後,重新修改root使用者的免密碼登入自身ssh localhost(需要?如果需要cdh還要知道登入root使用者的密碼幹嘛?)

cdh大概是因為在操作中使用ssh登入root使用者時查詢當前主機的主機名,發現它是lizhifeng-Lenovo-g400,

登入後的roo使用者模式為[email protected],與以下設定的主機名稱相悖。


為什麼要求FQDN?因為FQDN就是把主機名配到域名中,作為域名的一部分。這樣就不會出現主機名配置不正確的問題


3、在安裝過程中,一直停在activating狀態

log日誌如下:

Monitor-HostMonitor throttling_logger ERROR    Failed to collect NTP metrics
Traceback (most recent call last):

安裝cdh前先安裝ntp

OSError: [Errno 2] No such file or directory
[23/Apr/2018 19:26:25 +0000] 2373 Monitor-HostMonitor throttling_logger ERROR    Timed out waiting for worker process collecting filesystem usage to complete. This may occur if the host has an NFS or other remote filesystem that is not responding to requests in a timely fashion. Current nodev filesystems: /run,/dev/shm,/run/lock,/sys/fs/cgroup,/run/user/108,/run/user/0,/run/user/1000,/run/cloudera-scm-agent/process
[23/Apr/2018 19:28:55 +0000] 2373 MainThread agent        INFO     Stopping agent...

[23/Apr/2018 20:43:37 +0000] 5921 Thread-13 https        ERROR    Failed to retrieve/stroe URL: http://master.cdh.com:7180/cmf/parcel/download/CDH-5.14.2-1.cdh5.14.2.p0.3-xenial.parcel.torrent -> /opt/cloudera/parcel-cache/CDH-5.14.2-1.cdh5.14.2.p0.3-xenial.parcel.torrent <urlopen error timed out>


相關推薦

cdh5安裝解決

1、Exhausted available authentication methods ubuntu未啟用root使用者,或者啟用root使用者後未允許可遠端登入root 使用者 Let's consolidate everything in one post:Def

cacti-spine安裝解決

cacti如果報以下錯誤checkingwhether we are using Linux Capabilities... noconfigure:error: Cannot find MySQL headers. Use--with-mysql= to specify non-default path.

Mysql安裝解決辦法

base edi 註意 eve program 搜索 重新啟動 5.1 edit .msi版MySQL安裝包在安裝最後執行的時候到第三部或者第四部死掉 主要是因為之前安裝的版本沒有卸載幹凈,要卸載幹凈MySQ安裝包有一些幾個步驟: 1.通過卸載程序MySQL的相關組件 2。

Apache awstats安裝解決過程適合初學者

Apache awstats安裝報錯解決** awstats 下載地址:https://jaist.dl.sourceforge.net/project/awstats/AWStats/7.0/awstats-7.0.tar.gz報錯情況(已經完成)這是網頁訪問報錯: 日誌報錯首先我的報錯是這樣子的。解決方法

PHP-FPM安裝解決

library 重新安裝 sta for xml you for -- set php-fpm安裝 PHP源碼安裝 setenforce 0-------------------------------------------------------------------

ORACLE安裝解決

一個 全部 windows 啟動 eee network select 是否 use   今天在虛擬機中安裝了一個WINDOWS系統,用於安裝oracle服務器;從安裝到使用中出現了很多的問題,把這些問題解決掉,花了不少時間,查了不少的資料。 第一個,我在安裝過程中,出現了

Kali筆記一:Kali安裝解決

放棄了很久的Kali,最近又重新撿起來,這次已經沒有什麼明確的目的了,只是為了興趣。 準備的基礎環境是VMware Workstation 15 Player Kali是2018年4月更新的,已經都是最新的軟體了,下載好就開始進行了安裝。 硬碟引導,載入映象,下一步安裝,常規的方法順利的進行

pip安裝解決辦法

最近也在看部落格學習python,想要安裝selenium,在這之前,需要先安裝pip。 安裝pip是通過執行命令安裝,初次安裝時報錯 Traceback (most recent call last): File “setup.py”, line 6, i

demo-website埠被佔安裝解決方案

Flask實現了一個demo網站,它可以快速建立起一個網站。 1、首先安裝四種必備庫: pip install falsk pip install flask-httpauth pip install flask_restful pip install python-simplexm

WIN7旗艦版下安裝SQL SERVER 2008安裝解決方案

        在win7環境下,是完全可以解決 SQL Server 2008相容性問題的。我在第一次安裝時,遇到了幾乎很多人安裝過程中都會出現的問題。只好解除安裝了重新安裝,第二次設定了一系列的東西,完全通過,安裝成功!現就安裝中遇到的問題和大家分享一下,以供參考!  

php擴充套件AMQP,安裝解決

容易出錯的地方有2個,一個是rabbitmq-c的版本不對,一個是lib64進行ln的時候要找對路徑。參考網址:https://segmentfault.com/a/1190000012348103https://blog.csdn.net/qq_35772366/article/details/789323

npm install 安裝解決方案

npm install 報錯(第一次安裝失敗可能以為網路問題,可嘗試二次安裝,若還是報錯可按下面步驟操作,請確保網路良好)        npm ERR! A complete log of this

Centos 6.6 Mysql 安裝解決

[[email protected] /]# rpm -ivh mysql-community-server-5.7.11-1.el6.x86_64.rpmwarning: mysql-community-server-5.7.11-1.el6.x86_64.rpm

npm安裝解決方案

1.設定映象代理為http://registry.cnpmjs.org原來我用的淘寶映象(https://registry.npm.taobao.org)老是報錯2.清空npm快取npm cache clean --force3.將專案下的node_modules刪除4.重新

Photoshop CC 2017 在Mac上安裝解決辦法

當您在Mac 安裝Photoshop CC 2017出現這樣的bug,不要著急,請按照我的辦法走,一定可以解決的,如果沒有解決,請隨時給我留言,我會盡快回復,謝謝您The installation ca

Redis 編譯安裝解決

編譯安裝redis 報錯 執行時報錯 cd /redis-3.0.6/ gem install -l ./redis-3.2.1.gem gem install redis 報錯資訊 ERROR:  Loading command: install (LoadError)

關於ubuntu安裝問題解決

nbsp http png 題解 logs engines 報錯 col ubuntu安裝 命令行中報錯 首先報錯內容為:(vmware-installer.py:3847): Gtk-WARNING **: 無法在模塊路徑中找到主題引擎:“murr

zabbix源碼安裝流程及解決方法

zabbixzabbix源碼安裝流程及報錯解決方法一. zabbix的介紹1) zabbix是什麽zabbix是一款基於web頁面的、開源的、企業級的,支持分布式部署的監控軟件。2)2.zabbix的作用監控windows和Linux主機上的軟硬件狀態。監控各網絡設備,如路由器、交換機、防火墻、f5、打印機等

ReactNative環境搭建擴展篇——安裝解決方案

每次 搖一搖 ack pst img 工程 項目 python2 -1 之前一篇寫了《邏輯性最強的React Native環境搭建與調試》說了RN的安裝,今天在這裏做一個復盤,讓我們能夠更直觀更深入的了解React Native(以下簡稱RN),這一篇重點來說的就是,安裝之

安裝mysql解決方法

mysql報錯1:Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or