報(bào)錯(cuò)了:ssh: connect to host localhost port 22: Connection refused
在執(zhí)行start-all.sh時(shí)報(bào)如下的錯(cuò)誤:
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
我也遇到了和樓上相同的問題,少了兩個(gè)進(jìn)程
同時(shí),運(yùn)行 hadoop fs -ls /的時(shí)候顯示以下錯(cuò)誤
ls: Call to ubuntu/127.0.1.1:9000 failed on connection exception: java.net.ConnectException: Connection refused
不知道應(yīng)該怎樣更改配置文件,求解
(我的localhost的名字是ubuntu)
2015-06-29
配了好久解決了上個(gè)問題,現(xiàn)在每步操作都做好了,但看JPS只有這幾個(gè)東西。。
root@ubuntu:/home/sd1700092/skyone/hadoop-1.2.1/bin# jps
6501 SecondaryNameNode
6906 Jps
6312 DataNode
6785 TaskTracker
請(qǐng)問另外幾個(gè)去哪里了?該怎么設(shè)置才能也出來,謝謝
2015-06-29
我去安裝sudo apt-get install openssh-server時(shí)接著報(bào)錯(cuò),
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.
這個(gè)又該怎么解決。。。?
2015-06-29
root@ubuntu
我已經(jīng)獲取根用戶了,為什么還是Connection refused