转:
[root@linux155 init.d]# ./nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
Shutting down NFS services: [ OK ]
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: [ OK ]
Starting NFS mountd: Cannot register service: RPC: Unable to receive; errno = Connection refused [FAILED]
错误提示信息为rpc问题,rpc被用于NFS(NFS是一个流行的基于TCP/IP网络的文件共享协议。)、NIS等服务。所以必须把rpc启动起来。可以使用以下:
使用root登陆系统
>cd /etc/init.d
> rpcbind start
>service nfs restart