linux错误:root@localhost's password
2016-05-01 22:51
573 查看
http://blog.csdn.net/pipisorry/article/details/51292188
#start-graphlite example/PageRankVertex.so Input/facebookcombined_4w Output/out
...
master run
parseCmdArg
loadUserFile
startWorkers
worker 1 cmd: ssh localhost 'cd /home/guest/GraphLite/GraphLite-0.20; /home/guest/GraphLite/GraphLite-0.20/bin/start-worker /home/guest/GraphLite/GraphLite-0.20/bin/graphlite 1 /home/guest/GraphLite/GraphLite-0.20/example/PageRankVertex.so
/home/guest/GraphLite/GraphLite-0.20/Input/facebookcombined_4w /home/guest/GraphLite/GraphLite-0.20/Output/out 1'
root@localhost's password:
init
manageSuperstep
Sender: connect: Connection refused
...
原因:
“root@localhost's password:”说明ssh互信没有建立起来
Note: 也可能是用户问题,在普通用户下建立好了,super用户没建立?或者是命令执行路径有问题?
解决:配置SSH无密码登陆
执行#ssh-keygen -t dsa
#cd ~/.ssh
#cat id_dsa.pub >> authorized_keys
#ssh localhost
如果不需要密码提示root@localhost's password:就是设置成功了。
Note: 如果不成功,检查authorized_keys和.ssh目录的权限
chmod 644 authorized_keys
cd ~
chmod 700 .ssh
皮皮blog
Sender: connect: Connection refused
...
出错的可能原因:
1 可能是inputformatter中顶点类型的sizeof没改,或者说是某个类型定义为double,但是传递的是int
2 执行路径不对:example/PageRankVertex.so,这个路径就说明要在example的上级目录下执行这条命令
3 运行之前还有其它graphlite程序在运行,可能是之前运行graphlite时ctrl+c结束了,但是实际上进行还在后台执行,导致冲突,打开system-monitor结束graphlite进程(一般有多少个worker就有几个进程,都要结束)
from: /article/11852798.html
ref:
root@localhost's password错误
跑hadoop程序时出错:#start-graphlite example/PageRankVertex.so Input/facebookcombined_4w Output/out
...
master run
parseCmdArg
loadUserFile
startWorkers
worker 1 cmd: ssh localhost 'cd /home/guest/GraphLite/GraphLite-0.20; /home/guest/GraphLite/GraphLite-0.20/bin/start-worker /home/guest/GraphLite/GraphLite-0.20/bin/graphlite 1 /home/guest/GraphLite/GraphLite-0.20/example/PageRankVertex.so
/home/guest/GraphLite/GraphLite-0.20/Input/facebookcombined_4w /home/guest/GraphLite/GraphLite-0.20/Output/out 1'
root@localhost's password:
init
manageSuperstep
Sender: connect: Connection refused
...
原因:
“root@localhost's password:”说明ssh互信没有建立起来
Note: 也可能是用户问题,在普通用户下建立好了,super用户没建立?或者是命令执行路径有问题?
解决:配置SSH无密码登陆
执行#ssh-keygen -t dsa
#cd ~/.ssh
#cat id_dsa.pub >> authorized_keys
#ssh localhost
如果不需要密码提示root@localhost's password:就是设置成功了。
Note: 如果不成功,检查authorized_keys和.ssh目录的权限
chmod 644 authorized_keys
cd ~
chmod 700 .ssh
皮皮blog
Sender: connect: Connection refused错误
Sender: connect: Connection refusedSender: connect: Connection refused
...
出错的可能原因:
1 可能是inputformatter中顶点类型的sizeof没改,或者说是某个类型定义为double,但是传递的是int
2 执行路径不对:example/PageRankVertex.so,这个路径就说明要在example的上级目录下执行这条命令
3 运行之前还有其它graphlite程序在运行,可能是之前运行graphlite时ctrl+c结束了,但是实际上进行还在后台执行,导致冲突,打开system-monitor结束graphlite进程(一般有多少个worker就有几个进程,都要结束)
from: /article/11852798.html
ref:
相关文章推荐
- CentOS SSH安装与配置
- PHP 新特性 linux安装ssh2
- CentOS修改系统的默认启动模式为命令号界面
- Linux内核学习总结
- Linux下find一次查找多个指定类型文件,指定文件或者排除某类文件 *****
- linux学习总结
- ·转」linux的学习路线
- VirtualBox5.0.18+CentOS7.2+Hadoop2.7.2配置与开发
- 在linux中的info手册的用法
- Linux账号管理的相关命令
- Makefile 简单总结
- Linux内核学习总结
- linux系统备份还原
- Linux账号管理
- Linux内核学习总结
- centOS解决乱码问题
- xampp linux 安装
- 对linux内核学习的一点感受
- Linux内核学习总结
- linux find -regex 使用正则表达式