記錄CDH安裝的一個坑:could not contact scm server at localhost:7182, giving up
阿新 • • 發佈:2020-10-22
錯誤:
在web介面安裝 agent那一步,拋錯,單擊資訊檢視如下
初步分析:
是用localhost:7182 無法連線scm server
嘗試解決辦法:
1.檢查關閉防火牆
2.檢查python版本2.6.6
3.檢查/etc/hosts檔案,重啟網路service network restart
4.檢查/etc/sysconfig/network檔案,重啟網路service network restart
5.檢查/etc/resolv.conf檔案,重啟網路service network restart
6.檢查/etc/sysconfig/network-scripts/ifcfg-eth0檔案,重啟網路service network restart
仔細分析:
100.1.168.192.in-addr.arpa domain name pointer localhost
這句話的IP的本機ip192.168.1.100的倒序寫法,甚是奇怪!
其實是DNS反向解析。
解決做法:
mv /usr/bin/host /usr/bin/host.bak