I can't start an NFS server in CentOS7.The packages downloaded:yum -y install nfs-utilsyum -y install nfs-utils-libEnable/start servicessystemctl enable/start rpcbindsystemctl enable/start nfs-serversystemctl enable/start nfs-locksystemctl enable/start nfs-idmapWhich leads to :systemctl enable nfs-lockFailed to issue method call: No such file or directorysystemctl enable nfs-idmapFailed to issue method call: No such file or directoryCreated the share:mkdir -p /testchmod 777 /testexported fine:exportfs/test           clientip/24However, when performing systemctl restart nfs-server, it fails with dependency error, journalctl shows:[user@server /]# journalctl -xn | grep failed-- Subject: Unit proc-fs-nfsd.mount has failed-- Unit proc-fs-nfsd.mount has failed.-- The result is failed.Jun 23 17:06:41 server systemd[1]: Dependency failed for NFS server and services.-- Subject: Unit nfs-server.service has failed-- Unit nfs-server.service has failed.Jun 23 17:06:41 server systemd[1]: Dependency failed for NFS Mount Daemon.-- Subject: Unit nfs-mountd.service has failed-- Unit nfs-mountd.service has failed.Jun 23 17:06:41 openAnd the systemctl list-units status also show failuresystemctl list-units | grep nfsproc-fs-nfsd.mount                      loaded failed failed    NFSD configuration filesystemvar-lib-nfs-rpc_pipefs.mount            loaded failed failed    RPC Pipe File Systemnfs-config.service                      loaded active exited    Preprocess NFS configurationnfs-idmapd.service                      loaded failed failed    NFSv4 ID-name mapping service/var/log/messages:Jun 23 17:06:41 server systemd: Dependency failed for RPC security service for NFS server.Jun 23 17:06:41 server systemd: Dependency failed for RPC security service for NFS client and server.Jun 23 17:06:41 server systemd: Unit var-lib-nfs-rpc_pipefs.mount entered failed state.Jun 23 17:06:41 server systemd: nfs-idmapd.service: control process exited, code=exited status=1Jun 23 17:06:41 server systemd: Unit nfs-idmapd.service entered failed state.Jun 23 17:06:41 server systemd: proc-fs-nfsd.mount mount process exited, code=exited status=32Jun 23 17:06:41 server systemd: Dependency failed for NFS server and services.Jun 23 17:06:41 server systemd: Dependency failed for NFS Mount Daemon.Jun 23 17:06:41 server systemd: Unit proc-fs-nfsd.mount entered failed state.Jun 23 17:12:53 server mount: mount: unknown filesystem type 'nfsd'Jun 23 17:12:53 server systemd: proc-fs-nfsd.mount mount process exited, code=exited status=32Jun 23 17:12:53 server rpc.idmapd[842]: main: open(/var/lib/nfs/rpc_pipefs//nfs): No such file or directoryJun 23 17:12:53 server systemd: Dependency failed for NFS server and services.Jun 23 17:12:53 server systemd: Dependency failed for NFSv4 ID-name mapping service.Jun 23 17:12:53 server systemd: Dependency failed for NFS Mount Daemon.Jun 23 17:12:53 server systemd: Unit proc-fs-nfsd.mount entered failed state.The client reports, and  I assume it's normal as per the errors above:RPC: Remote system errorRPC: Port mapper failure - RPC: Timed out.
Cannot start NFS in Centos 7
centos;nfs;failure