新手入门
- 积分
- 17
- 金钱
- 17
- 注册时间
- 2020-10-8
- 在线时间
- 3 小时
|
1金钱
在编辑完配置文件,重启NFS服务之后发现有报错,请问该怎么处理?
caikaijun@caikaijun-PC:~/linux$ sudo vi /etc/exports
caikaijun@caikaijun-PC:~/linux$ sudo /etc/init.d/nfs-kernel-server restart
[....] Restarting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled.
failed!
caikaijun@caikaijun-PC:~/linux$ systemctl status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-10-09 16:18:43 CST; 1min 3s ago
Process: 15104 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
Process: 15105 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
Process: 15109 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
|
最佳答案
查看完整内容[请看2#楼]
论坛里有安装NFS的帖子http://www.openedv.com/forum.php?mod=viewthread&tid=302907&highlight=nfs,按照这个来配置就可以了
|