|
我在做serverX.example.comkerberos化nfs的过程中,编辑exports时,大意编辑成exsports,发现后我将exsports删除,重新编辑exports,重启nfs-server服务后,就出现nfs-server无法启动。尝试启动nfs-server就报Job for nfs-server.service canceled.,请老师帮忙解答,谢谢。- [root@server4 ~]# systemctl status nfs-server
- 鈼[0m nfs-server.service - NFS server and services
- Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
- Drop-In: /run/systemd/generator/nfs-server.service.d
- 鈹斺攢order-with-mounts.conf
- Active: failed (Result: exit-code) since Mon 2020-02-24 20:08:19 CST; 36min ago
- Process: 10546 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
- Process: 10544 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
- Process: 10542 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
- Feb 24 20:08:19 server4.example.com systemd[1]: Starting NFS server and services...
- Feb 24 20:08:19 server4.example.com exportfs[10542]: exportfs: Failed to stat /rhosts: No such file or directory
- Feb 24 20:08:19 server4.example.com systemd[1]: nfs-server.service: Control process exited, code=exited status=1
- Feb 24 20:08:19 server4.example.com systemd[1]: nfs-server.service: Failed with result 'exit-code'.
- Feb 24 20:08:19 server4.example.com systemd[1]: Stopped NFS server and services.
- [root@server4 ~]# systemctl start nfs-server
- Job for nfs-server.service canceled.
- [root@server4 ~]#
- [root@server4 ~]#
- [root@server4 ~]#
- [root@server4 ~]#
- [root@server4 ~]# systemctl start nfs-server
- Job for nfs-server.service canceled.
复制代码
|
|