ssh: Could not resolve hostname问题终于解决了?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ssh: Could not resolve hostname问题终于解决了?相关的知识,希望对你有一定的参考价值。
1、如果系统为64位,无法启动启动hdfs: ./sbin/start-dfs.sh。并有以下错误:
- sed: -e expression #1, char 6: unknown option to `s‘
- HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
- 64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
- Java: ssh: Could not resolve hostname Java: Name or service not known
- Server: ssh: Could not resolve hostname Server: Name or service not known
- VM: ssh: Could not resolve hostname VM: Name or service not known
解决方法为:
- vi etc/hadoop/hadoop-env.sh
加入:
- export HADOOP_COMMON_LIB_NATIVE_DIR=${HADOOP_PREFIX}/lib/native
修改: export HADOOP_OPTS="-Djava.library.path=$HADOOP_PREFIX/lib"
以上是关于ssh: Could not resolve hostname问题终于解决了?的主要内容,如果未能解决你的问题,请参考以下文章
git提示错误关于错误:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not r
hadoop启动报错:localhost: ssh: Could not resolve hostname localhost
ssh: Could not resolve hostname git.*****-inc.com : Temporary failure in name resolution fatal: The
Could not resolve hostname 。。。。。。: Name or service not known
解决:使用ssh-copy-id命令时出现ERROR: ssh: Could not resolve hostname hadoop01:Name or service not known
Git提示:ssh: Could not resolve hostname github.com: No address associated with hostname