我正在尝试将Wheezy Raspbian 2013-02-09的Raspberry Pi设置为NFS服务器(客户端将是Ubuntu 12.10)。我已经遵循了这些指示。
我无法启动该服务并收到以下消息:
$ sudo service nfs-kernel-server restart
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Exporting directories for NFS kernel daemon....
[....] Starting NFS kernel daemon: nfsd
[warn] Not starting: portmapper is not running ... (warning).
$ rpcinfo -p
<br>rpcinfo: can't contact portmapper: RPC: Remote system error - No such file or directory
不确定缺少什么?
sudo systemctl enable rpcbind && sudo systemctl enable nfs-common
(尽管这两个服务似乎确实仍在使用init.d样式启动)。