XPBS遇到“Unable to access /var/run/munge/munge.socket.2: no such file or directory”错误的解决办法

1、先确保已经安装munge,可用whereis查看
$whereis munge
2、某一台机器进入/usr/sbin/目录执行create-munge-key文件,将会生成munge.key文件在/etc/munge下
$/usr/sbin/create-munge-key
3、将此munge.key文件拷贝到各个机器节点上
$scp /etc/munge/munge.key xxx.xxx.xxx.xxx:/etc/munge/munge.key
4、将各个节点munge.key更改用户和组为munge
#chown munge:munge /etc/munge/munge.key
5、将各个节点/var/log/munge更改用户和组为munge服务所属的用户和组(root)
#chown root:root /var/log/munge
6、将各个节点/var/log/munge/munged.log*更改用户和组为munge
#chown munge:munge /var/log/munge/munged.log*
7、启动所有结点munge,若成功,则可以进行远程连接
#/etc/init.d/munge start


转载自:liuyan-CSDN

http://blog.csdn.net/dawuguiliuyan/article/details/7311343

你可能感兴趣的:(Directory)