码迷,mamicode.com
首页 > 系统相关 > 详细

Linux:安装rstatd,报错

时间:2016-06-15 10:53:10      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:

【安装】

下载地址:http://heanet.dl.sourceforge.net/sourceforge/rstatd/
安装:一次执行--tar -xzvf rpc.rstatd-4.0.1.tar.gz //解压安装包
cd rpc.rstatd-4.0.1        //进入到rpc.rstatd目录中
./configure    //配置rc.rstatd安装
make //编辑rc.rstatd
make install //安装

 

【报错】

[root@rct rpc.rstatd]# /etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
                                                           [FAILED]
Starting NFS mountd:                                       [FAILED]
Starting NFS daemon:

 

【原因】

RH系操作系统在6.0版本之后没有portmap服务控制rpc的启动,由于NFS和nfslock的启动需要向rpc进行注册,rpc不启动的话就会报错

 

【解决方法】

启动rpcbind&rpcidmap rpcbind是6.0版本后默认的RPC服务,所以要先于nfs启动。如果不启动rpcidmap则会造成用户权限的映射错误,用户的权限看起来是一串数字。

[root@rct ~]# /etc/init.d/rpcbind start
Starting rpcbind:                                          [  OK  ]
[root@rct ~]# /etc/init.d/rpcbind status
rpcbind (pid  18928) is running...


[root@rct ~]# /etc/init.d/rpcidmapd start
Starting RPC idmapd:                                       [  OK  ]
   
[root@rct ~]# /etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:
                                                           [  OK  ]

[root@rct ~]# /etc/init.d/portreserve start
Starting portreserve:                                      [  OK  ]

Linux:安装rstatd,报错

标签:

原文地址:http://www.cnblogs.com/channy14/p/5586365.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!