启动nfs出现以下错误,前提防火墙已经关闭,其他机器有mount要先umount掉

# service nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [FAILED]

出现后需要重启nfs

/etc/init.d/portmap stop

/etc/init.d/nfs stop

查看进程依然存在

# ps -ef | grep nfs
root 13282 177 0 17:10 ? 00:00:00 [nfsd4]
root 13290 1 0 17:10 ? 00:00:00 [nfsd]
root 13291 1 0 17:10 ? 00:00:00 [nfsd]
root 13392 177 0 17:10 ? 00:00:00 [nfsiod]......

手动kill掉所有进程,一定要确认kill掉全部

kill -9 13282 && kill -9 13290 && kill -9 13291 && .....

再次确认没有了进程

# ps -ef | grep nfs        

开启nfs服务ok

/etc/init.d/portmap start

/etc/init.d/nfs start