有效解决SecureCRT错误:Hostname lookup failed: host not found


SecureCRT通过主机名连接异常

环境

shell工具: SecureCRT
linux: Centos7

问题描述

在SecureCRT与集群主机直接通过主机名建立连接的时报错,但直接通过ip建立连接时正常

异常信息

Hostname lookup failed: host not found

问题原因

windows中的hosts文件里的映射没有识别

解决方案

确认hosts文件的内容
我的bigdata集群之前复制在上面几行,我修改了一下复制到下面就好了



上一篇:ls: Call From bigdata01/192.168.10.100 to bigdata01:9000 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

下一篇:css实现渐变色圆环


大数据Linux相关问题解决
Copyright © 2002-2019 k262电脑网 www.k262.cn 皖ICP备2020016292号
温馨提示:部分文章图片数据来源与网络,仅供参考!版权归原作者所有,如有侵权请联系删除!QQ:251442993 热门搜索 网站地图