linux下面重启nfs报错:nfs-server.service:main process exited

[root@dhcp-66-83-39 images]# service rpcbind status
Redirecting to /bin/systemctl status  rpcbind.service
rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; static)
   Active: failed (Result: exit-code) since Mon 2014-12-08 16:17:35 CST; 3min 10s ago
 Main PID: 24420 (code=exited, status=2)
   CGroup: /system.slice/rpcbind.service


解决方法

[root@dhcp-66-83-39 images]# systemctl daemon-reload
[root@dhcp-66-83-39 images]# service nfs restart

笔者的问题是因为物理机断电原因导致的虚拟机重启,可能非正常断电导致的。