我的服务状态显示
service nfs status
Unit nfs.service could not be found.我检查了unix deamons
ps aux | grep nfsd
mikigm 12022 0.0 0.0 20452 2636 pts/0 S+ 11:03 0:00 grep --color=auto nfsd
ps aux | grep mountd
mikigm 12168 0.0 0.0 20452 2476 pts/0 S+ 11:05 0:00 grep --color=auto mountd和
showmount -e
clnt_create: RPC: Program not registered然后
systemctl list-unit-files nfs*
UNIT FILE STATE VENDOR PRESET
nfs-common.service masked enabled
nfs-config.service static -
nfs-idmapd.service static -
nfs-utils.service static -
nfs-client.target enabled enabled 蒙面状态是什么意思?
发布于 2022-02-23 10:25:43
您可以将masked看作是disabled的一个版本,它增加了阻止服务启动的功能,甚至是手动的。任何与此服务相关的内容都将被路由到/dev/null,这是Linux大声呼喊的方式。
有些服务可以这样暴露出来:
sudo systemctl unmask {service}如果无法删除掩码,可能会有一个覆盖文件阻止服务的(重新)激活。
https://askubuntu.com/questions/1394474
复制相似问题