nfssvc: 地址已被使用

nfssvc: 地址已被使用

我已经nfs server使用 yum 在我的 Centos 6.3 机器上进行了安装。但我无法启动它。有什么想法吗?

# /etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS daemon:                                       [FAILED]

        :11:34 myserver kernel: portmap: server localhost not responding, timed out
        :11:34 myserver kernel: RPC: failed to contact portmap (errno -5).
        :12:09 myserver kernel: portmap: server localhost not responding, timed out
        :12:09 myserver kernel: RPC: failed to contact portmap (errno -5).
        :12:09 myserver nfsd[14416]: nfssvc: writting fds to kernel failed: errno 5 (Input/output error)
        :12:45 myserver kernel: portmap: server localhost not responding, timed out
        :12:45 myserver kernel: RPC: failed to contact portmap (errno -5).
        :12:45 myserver nfsd[14416]: nfssvc: writting fds to kernel failed: errno 5 (Input/output error)
        :12:45 myserver kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
        :12:45 myserver kernel: NFSD: starting 90-second grace period
        :12:45 myserver kernel: nfsd: last server has exited
        :12:45 myserver kernel: nfsd: unexporting all filesystems
        :13:20 myserver kernel: portmap: server localhost not responding, timed out
        :13:20 myserver kernel: RPC: failed to contact portmap (errno -5).
        :13:20 myserver nfsd[14416]: nfssvc: Address already in use

答案1

portmap 没有运行。我已通过启动 portmap 修复了此问题。

/etc/init.d/portmap start

相关内容