gpt4 book ai didi

linux - 无法启动 NFS 在 fedora25 中,由于单元 proc-fs-nfsd.mount 被屏蔽而出现错误

转载 作者:太空宇宙 更新时间:2023-11-04 10:22:53 27 4
gpt4 key购买 nike

我正在尝试在 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)

最佳答案

尝试使用以下命令取消屏蔽“sudo systemctl unmask proc-fs-nfsd.mount”,然后“sudo service nfs restart”。成功了

关于linux - 无法启动 NFS 在 fedora25 中,由于单元 proc-fs-nfsd.mount 被屏蔽而出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43120339/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com