记录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

目录
相关文章
|
5月前
|
关系型数据库 MySQL 数据库
【已解决】[图文步骤] message from server: “Host ‘172.17.0.1‘ is not allowed to connect to this MySQL server“
【已解决】[图文步骤] message from server: “Host ‘172.17.0.1‘ is not allowed to connect to this MySQL server“
229 0
|
应用服务中间件 Android开发
Server Tomcat v9.0 Server at localhost failed to start问题的解决
Server Tomcat v9.0 Server at localhost failed to start问题的解决
478 0
|
应用服务中间件 Android开发
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
139 0
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
|
运维 关系型数据库 MySQL
安装CDH6.3版本的时候遇到 ‘ERROR main:com.cloudera.server.cmf.Main: Server failed’的解决方案
安装CDH6.3版本的时候遇到 ‘ERROR main:com.cloudera.server.cmf.Main: Server failed’的解决方案
525 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)
152 0
cloudera-scm-server: Access denied for user ‘scm‘@‘192.168.157.11‘ (using password: YES)
|
应用服务中间件 Android开发
springMvc16-Could not publish server configuration for Tomcat v8.0 Server at localhost.
springMvc16-Could not publish server configuration for Tomcat v8.0 Server at localhost.
103 0
|
消息中间件 监控 网络协议
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/.
4355 0
下一篇
无影云桌面