rpc.statd 未运行,但远程锁定需要(statd 无法识别服务)

rpc.statd 未运行,但远程锁定需要(statd 无法识别服务)

我正在尝试挂载 nfs 共享(下面的 fstab 条目)

example.com:/sharefolder            /mnt/localmount           nfs     defaults

返回以下错误:

mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

检查了基础知识:

[acoder@box iptables]# service rpcbind status
rpcbind (pid  3435) is running...

[acoder@box iptables]# service nfslock status
rpc.statd (pid  1666) is running...

[acoder@box iptables]# service statd status
statd: unrecognized service

[acoder@box ~]# yum provides rpc.statd
1:nfs-utils-1.2.3-70.el6.x86_64 : NFS utilities and supporting clients and daemons for the kernel NFS server
Repo        : installed
Matched from:
Other       : Provides-match: rpc.statd

为什么 statd 看起来已安装但没有被识别为服务?

编辑,这是 /var/log/messages 中的内容

Jun 29 21:11:03 box rpc.statd[5966]: Version 1.2.3 starting
Jun 29 21:11:03 box rpc.statd[5966]: Flags: TI-RPC 
Jun 29 21:11:03 box rpc.statd[5966]: Failed to create listener xprt (statd, 1, udp6)
Jun 29 21:11:03 box rpc.statd[5966]: Failed to create listener xprt (statd, 1, tcp6)

相关内容