報錯了:ssh: connect to host localhost port 22: Connection refused
在執行start-all.sh時報如下的錯誤:
root@ubuntu:/home/sd1700092/skyone/hadoop-1.2.1/bin# start-all.sh
Warning: $HADOOP_HOME is deprecated.
starting namenode, logging to /home/sd1700092/skyone/hadoop-1.2.1/libexec/../logs/hadoop-root-namenode-ubuntu.out
localhost: ssh: connect to host localhost port 22: Connection refused
localhost: ssh: connect to host localhost port 22: Connection refused
starting jobtracker, logging to /home/sd1700092/skyone/hadoop-1.2.1/libexec/../logs/hadoop-root-jobtracker-ubuntu.out
localhost: ssh: connect to host localhost port 22: Connection refused
有人遇到過么?
2017-11-21
呃呃呃(⊙o⊙)嗯
2015-06-29
我也遇到了和樓上相同的問題,少了兩個進程
同時,運行 hadoop fs -ls /的時候顯示以下錯誤
ls: Call to ubuntu/127.0.1.1:9000 failed on connection exception: java.net.ConnectException: Connection refused
不知道應該怎樣更改配置文件,求解
(我的localhost的名字是ubuntu)
2015-06-29
配了好久解決了上個問題,現在每步操作都做好了,但看JPS只有這幾個東西。。
root@ubuntu:/home/sd1700092/skyone/hadoop-1.2.1/bin# jps
6501 SecondaryNameNode
6906 Jps
6312 DataNode
6785 TaskTracker
請問另外幾個去哪里了?該怎么設置才能也出來,謝謝
2015-06-29
我去安裝sudo apt-get install openssh-server時接著報錯,
Reading package lists... Done
Building dependency tree ? ? ??
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
?openssh-server : Depends: openssh-client (= 1:5.9p1-5ubuntu1.3) but 1:5.9p1-5ubuntu1.4 is to be installed
? ? ? ? ? ? ? ? ? Recommends: ssh-import-id but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
這個又該怎么解決。。。?
2015-06-29
root@ubuntu
我已經獲取根用戶了,為什么還是Connection refused