Centos6

nfssvc:地址已在使用中

  • December 14, 2015

我已經nfs server在我的 Centos 6.3 盒子中使用 yum 安裝了。但我無法啟動它。任何的想法?

# /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

埠映射沒有執行。我已經通過啟動埠映射來修復它。

/etc/init.d/portmap start

引用自:https://serverfault.com/questions/645177