首页 > 其他分享 >NFS启动报错

NFS启动报错

时间:2023-01-15 11:31:23浏览次数:47  
标签:10 00 20 nfsd 启动 NFS 报错 root


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 daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd                                                           [FAILED]

一开始一直以为是portmap没有启动。

是因为 rpcbind没有启动。

# service rpcbind start

#chkconfig rpcbind on

 

#service nfs start     
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting RPC idmapd:                                       [  OK  ]

 

查看进程

# ps -ef |grep nfs
root      2852     2  0 10:20 ?        00:00:00 [nfsd4]
root      2853     2  0 10:20 ?        00:00:00 [nfsd4_callbacks]
root      2854     2  0 10:20 ?        00:00:00 [nfsd]
root      2855     2  0 10:20 ?        00:00:00 [nfsd]
root      2856     2  0 10:20 ?        00:00:00 [nfsd]
root      2857     2  0 10:20 ?        00:00:00 [nfsd]
root      2858     2  0 10:20 ?        00:00:00 [nfsd]
root      2859     2  0 10:20 ?        00:00:00 [nfsd]
root      2860     2  0 10:20 ?        00:00:00 [nfsd]
root      2861     2  0 10:20 ?        00:00:00 [nfsd]
root      2892  2697  0 10:25 pts/0    00:00:00 grep nfs

标签:10,00,20,nfsd,启动,NFS,报错,root
From: https://blog.51cto.com/u_15941303/6008474

相关文章