歡迎您光臨本站 註冊首頁

nfs 啟動問題!!!!

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

nfs 啟動問題!!!!

nfs 啟動問題:

/etc/init.d/portmap start [ok}


/etc/init.d/nfs start 報錯:

tail /var/log/maseage


Jun 18 22:47:55 nfs1 kernel: lockd_up: no pid, 11 users??
Jun 18 22:47:55 nfs1 nfsd: nfssvc: writting fds to kernel failed: errno 98 (Address already in use)
Jun 18 22:47:55 nfs1 kernel: lockd_up: no pid, 12 users??
Jun 18 22:47:55 nfs1 nfsd: nfssvc: writting fds to kernel failed: errno 98 (Address already in use)
Jun 18 22:47:55 nfs1 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 18 22:47:55 nfs1 kernel: NFSD: starting 90-second grace period
Jun 18 22:47:55 nfs1 kernel: nfsd: last server has exited
Jun 18 22:47:55 nfs1 kernel: nfsd: unexporting all filesystems
Jun 18 22:47:55 nfs1 nfsd: nfssvc: Address already in use
Jun 19 08:50:44 nfs1 portmap: cannot bind udp: Address already in use
Jun 19 08:50:48 nfs1 kernel: lockd_up: no pid, 13 users??
Jun 19 08:50:48 nfs1 nfsd: nfssvc: writting fds to kernel failed: errno 98 (Address already in use)
Jun 19 08:50:48 nfs1 kernel: lockd_up: no pid, 14 users??
Jun 19 08:50:48 nfs1 nfsd: nfssvc: writting fds to kernel failed: errno 98 (Address already in use)
Jun 19 08:50:48 nfs1 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 08:50:48 nfs1 kernel: NFSD: starting 90-second grace period
Jun 19 08:50:48 nfs1 kernel: nfsd: last server has exited
Jun 19 08:50:48 nfs1 kernel: nfsd: unexporting all filesystems
Jun 19 08:50:48 nfs1 nfsd: nfssvc: Address already in use

請高手賜教 !謝謝!!
《解決方案》

看樣子是埠被佔用,檢查一下port,最好配置一下nfs的port,避免埠爭用。
《解決方案》

回復 #2 rainbow 的帖子

伺服器是剛裝的CentOS 5.3 裝有 apache,mysql, heartbeat  。但除了ssh 別的我都關了啊!!沒有什麼可佔用埠的 服務了啊!!
   不過系統重啟后就可以啟動,nfs  服務。
    預想這個伺服器做  lvs 伺服器. 在公司內部測試都沒問題,放到機房 就出現這個問題了。nfs 不能手動重啟。heartbeat 也有些問題。

    如果哪位朋友 遇到類似問題 請多指教。我在線等候!多謝幫助的朋友!!
    我的QQ 158863748
《解決方案》

找到NFS 2049埠,然後KILL掉看看
《解決方案》

回復 #4 www_xylove 的帖子

# netstat -pan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:2049                0.0.0.0:*                   LISTEN      -                  
tcp        0      0 0.0.0.0:775                 0.0.0.0:*                   LISTEN      2720/rpc.rquotad   
tcp        0      0 0.0.0.0:36911               0.0.0.0:*                   LISTEN      -                  
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      2569/portmap        
tcp        0      0 0.0.0.0:881                 0.0.0.0:*                   LISTEN      2822/rpc.mountd     
tcp        0      0 0.0.0.0:660                 0.0.0.0:*                   LISTEN      2598/rpc.statd   
udp        0      0 0.0.0.0:2049                0.0.0.0:*                               -                  
udp        0      0 0.0.0.0:772                 0.0.0.0:*                               2720/rpc.rquotad   
udp        0      0 0.0.0.0:654                 0.0.0.0:*                               2598/rpc.statd      
udp        0      0 0.0.0.0:657                 0.0.0.0:*                               2598/rpc.statd      
udp        0      0 0.0.0.0:40099               0.0.0.0:*                               -                  
udp        0      0 0.0.0.0:878                 0.0.0.0:*                               2822/rpc.mountd     
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               2569/portmap

沒有 看見PID  號 暈!!

[火星人 ] nfs 啟動問題!!!!已經有926次圍觀

http://coctec.com/docs/service/show-post-6340.html