记录CDH安装的一个坑:could not contact scm server at localhost:7182, giving up

简介: 错误:   在web界面安装 agent那一步,抛错,单击信息查看如下初步分析: 是用localhost:7182 无法连接scm server 尝试解决办法: 1.

错误:
 
在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
7.scm server机器上检查7182端口是否存在: netstat -nlp|grep 7182

仔细分析:
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

目录
相关文章
|
6月前
|
关系型数据库 MySQL Windows
windows安装mysql报错Remove of the Service Denied!
windows安装mysql报错Remove of the Service Denied!
|
2月前
|
关系型数据库 MySQL 数据库
Host 'XXX' is not allowed to connect to this MySQL server 解决方案
Host 'XXX' is not allowed to connect to this MySQL server 解决方案
|
4月前
|
关系型数据库 MySQL Linux
MySQL【部署 01】Linux root 用户部署 mysql-5.7.28 及 not allowed to connect to this MySQL server 和中文乱码问题处理
MySQL【部署 01】Linux root 用户部署 mysql-5.7.28 及 not allowed to connect to this MySQL server 和中文乱码问题处理
49 0
|
5月前
|
关系型数据库 MySQL Linux
DVWA CentOS Could not connect to the MySQL service. Please check the config file.
DVWA CentOS Could not connect to the MySQL service. Please check the config file.
37 0
|
关系型数据库 MySQL
mysql:【完美解决】The service already exists! The current server installed:......
这个情况毫无疑问是之前下载的MySQL没有卸载干净,这里教大家怎么卸载干净
|
运维 关系型数据库 MySQL
安装CDH6.3版本的时候遇到 ‘ERROR main:com.cloudera.server.cmf.Main: Server failed’的解决方案
安装CDH6.3版本的时候遇到 ‘ERROR main:com.cloudera.server.cmf.Main: Server failed’的解决方案
390 0
安装CDH6.3版本的时候遇到 ‘ERROR main:com.cloudera.server.cmf.Main: Server failed’的解决方案
|
关系型数据库 MySQL 数据库
cloudera-scm-server: Access denied for user ‘scm‘@‘192.168.157.11‘ (using password: YES)
cloudera-scm-server: Access denied for user ‘scm‘@‘192.168.157.11‘ (using password: YES)
116 0
cloudera-scm-server: Access denied for user ‘scm‘@‘192.168.157.11‘ (using password: YES)
|
消息中间件 监控 网络协议
CDH:cloudera-scm-server dead but pid file exists
报错 CM HDFS管理界面的报错(由于CM down这个信息是无法通过管理界面查看的,这里是从日志中获得的): The health test result for HDFS_CANARY_HEALTH has become bad: Canary test failed to create parent directory for /opt/tmp/.
4299 0