0

我正在尝试在 Fedora25 中启动 NFS

[root@localhost tftpboot]# systemctl start nfs-server.service

启动 nfs-server.service 失败:单元 proc-fs-nfsd.mount 被屏蔽。

上面给出了错误,并且状态也显示为非活动状态

[root@localhost tftpboot]# systemctl status nfs-server.service
 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: inactive (dead) since Thu 2017-03-30 19:02:10 IST; 2min 45s ago
  Process: 4886 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
  Process: 4883 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
  Process: 4880 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
 Main PID: 981 (code=exited, status=0/SUCCESS)
4

1 回答 1

1

尝试以下命令取消屏蔽“sudo systemctl unmask proc-fs-nfsd.mount”然后“sudo service nfs restart”。有效

于 2017-04-12T04:37:46.133 回答